Unnamed Fossil Project

Check-in [3d360b98f1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:big zoom icons!!!
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3d360b98f1acdc4e24d30235c085f49b08d1bb77
User & Date: Derek 2013-02-22 07:27:45
Context
2013-02-22
07:43
more style changes. check-in: b554e251ed user: Derek tags: trunk
07:27
big zoom icons!!! check-in: 3d360b98f1 user: Derek tags: trunk
07:14
colored buttons :) !!!! check-in: 65b5d28601 user: Derek tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to maze.html.

1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16
17
18
...
123
124
125
126
127
128
129
130
131

132
133
134
135
136
137
138
<html><head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1">
<style>
canvas{margin:0px;}
body{overflow:hidden;margin:0px;}
.menudiv{position:absolute;left:20px;top:0px;height:99%;background-color:#ed9;background-color:rgba(80,80,80,0.75);padding:2px 8px 2px 8px;border-style:solid;border-width:1px;border-color:#000;}
.menubutton{border-style:ridged;border-width:2px;height:12%;max-height:85px;border-color:#aaa;background-color:#eee;
font-weight:bold;width:100%;padding:0px 8px 0px 8px;margin:2.5% 0px 2.5% 0px;}

/*.menubutton:hover{border-color:#c80;background-color:#ec7;}*/
/*.menubutton:hover{border-style:outset;}*/
.menubutton:hover{border-color:#fff;border-style:solid;}
.menubutton:active{border-style:solid;background-color:#888;border-color:#000}
</style><script>//<!--

//globals
var canvas,ctx,mazecanvas,menudiv,
arr=[],width=30,height=30,pxsize=2,
x,y,goalx,goaly,startx,starty,
................................................................................

var _=addbutton;
_("Start","#cfc",function(){x=startx+0.5,y=starty+0.5;victory=false;testonly=false;playmode();});
_("File","#cbf",function(){});
eb=_("Edit","#fb6",function(){edit?playmode():(editmode(),testonly=true);});
_("Reset","#faa",function(){reset(180,100);});
_("Help","#acf",function(){alert(helpmsg);});
_("+",0,function(){screenblocks*=0.8;});
_("-",0,function(){screenblocks/=0.8;});

}

// onload
window.onload=function(){
if(!load())reset(50,50);
canvas=crElem("canvas",document.body);
mazecanvas=crElem("canvas");






|

>


|







 







|
|
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html><head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1">
<style>
canvas{margin:0px;}
body{overflow:hidden;margin:0px;}
.menudiv{position:absolute;left:20px;top:0px;height:99%;background-color:#ed9;background-color:rgba(80,80,80,0.75);padding:2px 8px 2px 8px;border-style:solid;border-width:1px;border-color:#000;}
.menubutton{border-style:ridged;border-width:2px;height:12%;max-height:85px;border-color:#444;border-style:solid;background-color:#eee;
font-weight:bold;width:100%;padding:0px 8px 0px 8px;margin:2.5% 0px 2.5% 0px;}
.bigtxt{font-size:180%;}
/*.menubutton:hover{border-color:#c80;background-color:#ec7;}*/
/*.menubutton:hover{border-style:outset;}*/
.menubutton:hover{border-color:#fff;}
.menubutton:active{border-style:solid;background-color:#888;border-color:#000}
</style><script>//<!--

//globals
var canvas,ctx,mazecanvas,menudiv,
arr=[],width=30,height=30,pxsize=2,
x,y,goalx,goaly,startx,starty,
................................................................................

var _=addbutton;
_("Start","#cfc",function(){x=startx+0.5,y=starty+0.5;victory=false;testonly=false;playmode();});
_("File","#cbf",function(){});
eb=_("Edit","#fb6",function(){edit?playmode():(editmode(),testonly=true);});
_("Reset","#faa",function(){reset(180,100);});
_("Help","#acf",function(){alert(helpmsg);});
zi=_("+",0,function(){screenblocks*=0.8;});
zo=_("-",0,function(){screenblocks/=0.8;});
zi.className+=" bigtxt";zo.className+=" bigtxt";
}

// onload
window.onload=function(){
if(!load())reset(50,50);
canvas=crElem("canvas",document.body);
mazecanvas=crElem("canvas");