summaryrefslogtreecommitdiff
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 @@
17/* LCD dimensions */ 17/* LCD dimensions */
18#define LCD_WIDTH 160 18#define LCD_WIDTH 160
19#define LCD_HEIGHT 128 19#define LCD_HEIGHT 128
20#define LCD_DEPTH 18 /* pseudo 262.144 colors */ 20#define LCD_DEPTH 16 /* pseudo 262.144 colors */
21#define LCD_PIXELFORMAT RGB565 /* rgb565 */
21 22
22/* remote LCD */ 23/* remote LCD */
23#define LCD_REMOTE_WIDTH 128 24#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 @@
179#define UI_REMOTE_HEIGHT 64 179#define UI_REMOTE_HEIGHT 64
180 180
181#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight) 181#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight)
182#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight)
182#endif 183#endif
183 184
184extern SDL_Surface *gui_surface; 185extern SDL_Surface *gui_surface;