From c38815aa2983bbb8dae7ec9dbea055a3b8e38297 Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Wed, 7 Jan 2009 18:52:32 +0000 Subject: fix m200v4 simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19711 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'uisimulator/sdl/uisdl.h') 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 @@ #define UI_LCD_WIDTH LCD_WIDTH #define UI_LCD_HEIGHT LCD_HEIGHT +#elif defined(SANSA_M200V4) +#define UI_TITLE "sansa m200v4" +#define UI_WIDTH 350 /* width of GUI window */ +#define UI_HEIGHT 168 /* height of GUI window */ +#define UI_LCD_BGCOLOR 94, 104, 84 /* bkgnd color of LCD (no backlight) */ +#define UI_LCD_BGCOLORLIGHT 60, 160, 230 /* 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) */ +#define UI_LCD_POSX 42 /* x position of lcd */ +#define UI_LCD_POSY 55 /* y position of lcd */ +#define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ +#define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ + + +#else +#error no UI defines #endif extern SDL_Surface *gui_surface; extern bool background; /* True if the background image is enabled */ -- cgit v1.2.3