diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index fa935c7263..abd320ad18 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -374,8 +374,12 @@ | |||
374 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ | 374 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ |
375 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ | 375 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ |
376 | 376 | ||
377 | #elif defined(CREATIVE_ZVM) | 377 | #elif defined(CREATIVE_ZVM) || defined(CREATIVE_ZVM60GB) |
378 | #define UI_TITLE "Creative Zen Vision:M 30GB" | 378 | #ifdef CREATIVE_ZVM |
379 | #define UI_TITLE "Creative Zen Vision:M 30GB" | ||
380 | #else | ||
381 | #define UI_TITLE "Creative Zen Vision:M 60GB" | ||
382 | #endif | ||
379 | #define UI_WIDTH 383 /* width of GUI window */ | 383 | #define UI_WIDTH 383 /* width of GUI window */ |
380 | #define UI_HEIGHT 643 /* height of GUI window */ | 384 | #define UI_HEIGHT 643 /* height of GUI window */ |
381 | #define UI_LCD_POSX 31 /* x position of lcd */ | 385 | #define UI_LCD_POSX 31 /* x position of lcd */ |
@@ -387,6 +391,19 @@ | |||
387 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ | 391 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ |
388 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ | 392 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ |
389 | 393 | ||
394 | #elif defined(CREATIVE_ZV) | ||
395 | #define UI_TITLE "Creative Zen Vision" | ||
396 | #define UI_WIDTH 1054 /* width of GUI window */ | ||
397 | #define UI_HEIGHT 643 /* height of GUI window */ | ||
398 | #define UI_LCD_POSX 129 /* x position of lcd */ | ||
399 | #define UI_LCD_POSY 85 /* y position of lcd */ | ||
400 | #define UI_LCD_WIDTH 640 | ||
401 | #define UI_LCD_HEIGHT 480 | ||
402 | #define UI_LCD_BGCOLOR 32, 32, 32 /* bkgnd color of LCD (no backlight) */ | ||
403 | #define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */ | ||
404 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ | ||
405 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ | ||
406 | |||
390 | #endif | 407 | #endif |
391 | extern SDL_Surface *gui_surface; | 408 | extern SDL_Surface *gui_surface; |
392 | extern bool background; /* True if the background image is enabled */ | 409 | extern bool background; /* True if the background image is enabled */ |