summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-02-20 12:03:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-02-20 12:03:32 +0000
commitabbdcacfbdc5e1019998c2a3a3ab59fa575cdbde (patch)
tree688cb70108a2864a04ca6c67e3502c169eafbbb5
parent3e496e3ecf60db743cfe82e57b82b72764e20f39 (diff)
downloadrockbox-abbdcacfbdc5e1019998c2a3a3ab59fa575cdbde.tar.gz
rockbox-abbdcacfbdc5e1019998c2a3a3ab59fa575cdbde.zip
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
-rw-r--r--firmware/export/config-iaudiox5.h3
-rw-r--r--uisimulator/sdl/uisdl.h1
2 files changed, 3 insertions, 1 deletions
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;