From bba06cfd551c7d34308ef7ea52455f07a5e2cfee Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 4 Dec 2008 23:24:45 +0000 Subject: Sansa Clip Simulator: emulate the real screen at the price of some CPU (FS#9521) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19347 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'uisimulator/sdl/uisdl.h') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 0a97df56fa..cb4158500c 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -459,6 +459,13 @@ #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ #define UI_LCD_FGCOLORLIGHT 13, 226, 229 /* foreground color of LCD (backlight) */ +#define UI_LCD_SPLIT /* The screen is split in 2 areas */ +#define UI_LCD_SPLIT_LINES 16 /* the top 16 lines have a different color */ +#define UI_LCD_SPLIT_BLACK_LINES 2 /* The 2 areas are separated by 2 empty lines */ +/* Colors for the top part of the screen */ +#define UI_LCD_SPLIT_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ +#define UI_LCD_SPLIT_FGCOLORLIGHT 255, 230, 15 /* foreground color of LCD (backlight) */ + #endif extern SDL_Surface *gui_surface; extern bool background; /* True if the background image is enabled */ -- cgit v1.2.3