From abbdcacfbdc5e1019998c2a3a3ab59fa575cdbde Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 20 Feb 2006 12:03:32 +0000 Subject: [PATCH] minor adjustments for the x5 LCD, we're back at 16 bits for upper LCD layers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8746 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-iaudiox5.h | 3 ++- uisimulator/sdl/uisdl.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index 4f0d183f6c..8250e0853b 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -17,7 +17,8 @@ /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 -#define LCD_DEPTH 18 /* pseudo 262.144 colors */ +#define LCD_DEPTH 16 /* pseudo 262.144 colors */ +#define LCD_PIXELFORMAT RGB565 /* rgb565 */ /* remote LCD */ #define LCD_REMOTE_WIDTH 128 diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 0501028fb2..98e72aadfe 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -179,6 +179,7 @@ #define UI_REMOTE_HEIGHT 64 #define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight) +#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) #endif extern SDL_Surface *gui_surface;