From 603a9c7c7ded195de7af15a35d10f5961f2e88f1 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 31 Oct 2008 22:02:41 +0000 Subject: Clip: add backlight and buttonlight code Revive lcd_enable() as well, and use it in _backlight_on/off() Don't update the lcd framebuffer if the display is off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 03f5119ca8..4332426963 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -445,9 +445,9 @@ #define UI_LCD_WIDTH 128 #define UI_LCD_HEIGHT 64 #define UI_LCD_BGCOLOR 0, 0, 0 /* bkgnd color of LCD (no backlight) */ -#define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */ -#define UI_LCD_FGCOLOR 13, 226, 229 /* foreground color of LCD (no backlight) */ -#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ +#define UI_LCD_BGCOLORLIGHT 0, 0, 0 /* bkgnd color of LCD (backlight) */ +#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) */ #endif extern SDL_Surface *gui_surface; -- cgit v1.2.3