summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/uisdl.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-14 21:14:06 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-14 21:14:06 +0000
commit02883e02e28369dbfaa6a90c3afc003a6df8ac64 (patch)
tree7bdf20b218461c2c486a727936491de13a38e512 /uisimulator/sdl/uisdl.h
parent67ad705cd9482f5378df57718a639c2b0b624e80 (diff)
Make ZVM30GB simulator work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17513 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r--uisimulator/sdl/uisdl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 37989a682b..fa935c7263 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -374,6 +374,19 @@
#define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */
#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */
+#elif defined(CREATIVE_ZVM)
+#define UI_TITLE "Creative Zen Vision:M 30GB"
+#define UI_WIDTH 383 /* width of GUI window */
+#define UI_HEIGHT 643 /* height of GUI window */
+#define UI_LCD_POSX 31 /* x position of lcd */
+#define UI_LCD_POSY 62 /* y position of lcd */
+#define UI_LCD_WIDTH 320
+#define UI_LCD_HEIGHT 240
+#define UI_LCD_BGCOLOR 32, 32, 32 /* bkgnd color of LCD (no backlight) */
+#define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */
+#define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */
+#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */
+
#endif
extern SDL_Surface *gui_surface;
extern bool background; /* True if the background image is enabled */