changeset 11:a6bde9cde187

Icon for the fullscreen button.
author Mikhail Kryshen <mikhail@kryshen.net>
date Sat, 02 Apr 2016 13:06:05 +0300
parents 5bb39198a9be
children 89fc4ef53637
files index.html resources/fullscreen.png src/Serpentron.st
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/index.html	Sat Apr 02 12:24:52 2016 +0300
     1.2 +++ b/index.html	Sat Apr 02 13:06:05 2016 +0300
     1.3 @@ -43,8 +43,8 @@
     1.4           #fullscreen-button {
     1.5               float: right;
     1.6               padding: 0;
     1.7 +             margin: 5px 0 0 0;
     1.8               border: none;
     1.9 -             background: transparent;
    1.10               cursor: pointer;
    1.11           }
    1.12           #serpentron canvas {
     2.1 Binary file resources/fullscreen.png has changed
     3.1 --- a/src/Serpentron.st	Sat Apr 02 12:24:52 2016 +0300
     3.2 +++ b/src/Serpentron.st	Sat Apr 02 13:06:05 2016 +0300
     3.3 @@ -358,9 +358,10 @@
     3.4  						'Serpentron'});
     3.5  		SPAN: {#id -> 'status'. '1.0-beta2'}.
     3.6  		
     3.7 -	(title BUTTON: {#id -> 'fullscreen-button'.
     3.8 -					#title -> 'Toggle fullscreen'.
     3.9 -					'▣'})
    3.10 +	(title IMG: {#id -> 'fullscreen-button'.
    3.11 +				 #title -> 'Toggle fullscreen'.
    3.12 +				 #alt -> 'Toggle fullscreen'.
    3.13 +				 #src -> 'resources/fullscreen.png'})
    3.14  		on: #click bind: [ Serpentron toggleFullscreen ].
    3.15  	
    3.16  	container := aSilk DIV: {#id -> 'field'}.