From 2ed1052a6db90aade49bb9180f28551179639d22 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Aug 2002 09:13:40 +0000 Subject: fix window sizes to match the screen size, enlarged the player sim font to use the 12x16 one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1635 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/uibasic.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'uisimulator/x11/uibasic.c') diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c index 19ab9c5980..165b1cebe9 100644 --- a/uisimulator/x11/uibasic.c +++ b/uisimulator/x11/uibasic.c @@ -197,6 +197,10 @@ screenhack (Display *the_dpy, Window the_window) screen_redraw(); +#ifdef HAVE_LCD_CHARCELLS + lcd_setfont(2); +#endif + app_main(); } @@ -206,8 +210,13 @@ void screen_redraw() #define X1 0 #define Y1 0 +#ifdef HAVE_LCD_BITMAP #define X2 (LCD_WIDTH + MARGIN_X*2) -#define Y2 (LCD_HEIGHT + MARGIN_Y*2) +#define Y2 (LCD_HEIGHT + MARGIN_Y) +#else +#define X2 137 +#define Y2 53 +#endif drawline(1, X1, Y1, X2, Y1); drawline(1, X2, Y1, X2, Y2); -- cgit v1.2.3