diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-15 18:01:14 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-15 18:01:14 +0000 |
commit | 1ea884b53126206ffbc1607454d5d7d255acec7e (patch) | |
tree | 50aad7d5622d88470813c2f8ca4ea79855cf52ca /uisimulator/sdl/uisdl.h | |
parent | c249f5301024da7c8e8f23c32b01fecf72b1d5dc (diff) | |
download | rockbox-1ea884b53126206ffbc1607454d5d7d255acec7e.tar.gz rockbox-1ea884b53126206ffbc1607454d5d7d255acec7e.zip |
1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB)
2) Correct typo which'll break build system for ZV currently
3) Split up keymaps for ZV & ZVM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17525 a1c6a512-1295-4272-9138-f99709370657
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 */ |