summaryrefslogtreecommitdiff
path: root/uisimulator/uibasic.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-26 14:42:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-26 14:42:33 +0000
commit0c4589d3bcddc6721793faad63f8316eca851e83 (patch)
tree654d0b309313cc3ba2fb8be58992b2a7009d1739 /uisimulator/uibasic.c
parenta1fd255d04e1835b2c8cc77ea414ecddea55d8e6 (diff)
downloadrockbox-0c4589d3bcddc6721793faad63f8316eca851e83.tar.gz
rockbox-0c4589d3bcddc6721793faad63f8316eca851e83.zip
this shows the bugs I have now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/uibasic.c')
-rw-r--r--uisimulator/uibasic.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/uisimulator/uibasic.c b/uisimulator/uibasic.c
index c6c9c7d236..9af52f4839 100644
--- a/uisimulator/uibasic.c
+++ b/uisimulator/uibasic.c
@@ -225,13 +225,15 @@ screenhack (Display *the_dpy, Window the_window)
225 Logf("Rockbox will kill ya!"); 225 Logf("Rockbox will kill ya!");
226 226
227 lcd_position(1, 1); 227 lcd_position(1, 1);
228 lcd_string( "RockBoxx", 0); 228 lcd_string( "R", 0);
229 229
230 lcd_position(8, 16); 230 lcd_position(0, 16);
231 lcd_string( "R", 0); 231 lcd_string( "R", 0);
232 232
233#if 0
233 lcd_position(8, 24); 234 lcd_position(8, 24);
234 lcd_string( "2", 0); 235 lcd_string( "2", 0);
236#endif
235 237
236 while (1) { 238 while (1) {
237 /* deal with input here */ 239 /* deal with input here */
@@ -247,6 +249,8 @@ void screen_redraw()
247 249
248 lcd_update(); 250 lcd_update();
249 251
252 /* draw a border around the "Recorder" screen */
253
250#define X1 0 254#define X1 0
251#define Y1 0 255#define Y1 0
252#define X2 (LCD_WIDTH + MARGIN_X*2) 256#define X2 (LCD_WIDTH + MARGIN_X*2)
@@ -257,14 +261,4 @@ void screen_redraw()
257 drawline(1, X1, Y2, X2, Y2); 261 drawline(1, X1, Y2, X2, Y2);
258 drawline(1, X1, Y1, X1, Y2); 262 drawline(1, X1, Y1, X1, Y2);
259 263
260#if 0
261 /* does nothing "real" yet */
262 /* drawtext(1, 20, 20, PROGNAME);*/
263
264 for(y=0; y< 112; y++)
265 for(x=0; x<64; x++)
266 drawdot(1, x+16, y+16);
267 /* drawline(1, 0, 0, 40, 50); */
268#endif
269} 264}
270