Differences From Artifact [3be06eef4f2a58fa]:
- File
src/gui.d
- 2012-07-15 01:58:08 - part of checkin [9d983af88c] on branch trunk - Hige parsing and rendering. (user: kinaba) [annotate]
To Artifact [b071b446f6e834b9]:
- File
src/gui.d
- 2012-07-15 02:11:16 - part of checkin [3a08e528e7] on branch trunk - Using razor. (user: kinaba) [annotate]
139 switch(ev.keyCode) 139 switch(ev.keyCode)
140 { 140 {
141 case Keys.DOWN: fn('D'); break; 141 case Keys.DOWN: fn('D'); break;
142 case Keys.UP: fn('U'); break; 142 case Keys.UP: fn('U'); break;
143 case Keys.LEFT: fn('L'); break; 143 case Keys.LEFT: fn('L'); break;
144 case Keys.RIGHT: fn('R'); break; 144 case Keys.RIGHT: fn('R'); break;
145 case Keys.W: fn('W'); break; 145 case Keys.W: fn('W'); break;
> 146 case Keys.S: fn('S'); break;
146 case Keys.A: fn('A'); break; 147 case Keys.A: fn('A'); break;
147 case Keys.G: fn(solver.single_step()); break; 148 case Keys.G: fn(solver.single_step()); break;
148 default: break; 149 default: break;
149 } 150 }
150 } 151 }
151 152
152 Solver solver; 153 Solver solver;
153 } 154 }