summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-30 06:55:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-30 06:55:45 +0000
commit9b68ef8ddcc5c84fcbc78c3c13d8dc183b49f084 (patch)
tree91967baa6efca8b0fe484eeb2ad5594bb50062c0 /uisimulator
parent22740a0999d0b003ad6f827f2d36f6fb84b3527d (diff)
downloadrockbox-9b68ef8ddcc5c84fcbc78c3c13d8dc183b49f084.tar.gz
rockbox-9b68ef8ddcc5c84fcbc78c3c13d8dc183b49f084.zip
draw the "box" before calling the app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@319 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/uibasic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c
index f3b354379a..4af667a20b 100644
--- a/uisimulator/x11/uibasic.c
+++ b/uisimulator/x11/uibasic.c
@@ -227,7 +227,7 @@ screenhack (Display *the_dpy, Window the_window)
227 227
228 init_window(); 228 init_window();
229 229
230 Logf("Rockbox will kill ya!"); 230 screen_redraw();
231 231
232 app_main(); 232 app_main();
233} 233}
@@ -236,8 +236,6 @@ void screen_redraw()
236{ 236{
237 int y, x; 237 int y, x;
238 238
239 lcd_update();
240
241 /* draw a border around the "Recorder" screen */ 239 /* draw a border around the "Recorder" screen */
242 240
243#define X1 0 241#define X1 0
@@ -250,4 +248,5 @@ void screen_redraw()
250 drawline(1, X1, Y2, X2, Y2); 248 drawline(1, X1, Y2, X2, Y2);
251 drawline(1, X1, Y1, X1, Y2); 249 drawline(1, X1, Y1, X1, Y2);
252 250
251 lcd_update();
253} 252}