diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index c04f3cfaad..e33be01948 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -476,6 +476,22 @@ | |||
476 | #define UI_LCD_WIDTH LCD_WIDTH | 476 | #define UI_LCD_WIDTH LCD_WIDTH |
477 | #define UI_LCD_HEIGHT LCD_HEIGHT | 477 | #define UI_LCD_HEIGHT LCD_HEIGHT |
478 | 478 | ||
479 | #elif defined(SANSA_M200V4) | ||
480 | #define UI_TITLE "sansa m200v4" | ||
481 | #define UI_WIDTH 350 /* width of GUI window */ | ||
482 | #define UI_HEIGHT 168 /* height of GUI window */ | ||
483 | #define UI_LCD_BGCOLOR 94, 104, 84 /* bkgnd color of LCD (no backlight) */ | ||
484 | #define UI_LCD_BGCOLORLIGHT 60, 160, 230 /* bkgnd color of LCD (backlight) */ | ||
485 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ | ||
486 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ | ||
487 | #define UI_LCD_POSX 42 /* x position of lcd */ | ||
488 | #define UI_LCD_POSY 55 /* y position of lcd */ | ||
489 | #define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ | ||
490 | #define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ | ||
491 | |||
492 | |||
493 | #else | ||
494 | #error no UI defines | ||
479 | #endif | 495 | #endif |
480 | extern SDL_Surface *gui_surface; | 496 | extern SDL_Surface *gui_surface; |
481 | extern bool background; /* True if the background image is enabled */ | 497 | extern bool background; /* True if the background image is enabled */ |