diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index abd320ad18..dde505bf91 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -404,6 +404,19 @@ | |||
404 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no 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) */ | 405 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ |
406 | 406 | ||
407 | #elif defined(MEIZU_M6SL) | ||
408 | #define UI_TITLE "Meizu M6" | ||
409 | #define UI_WIDTH 512 /* width of GUI window */ | ||
410 | #define UI_HEIGHT 322 /* height of GUI window */ | ||
411 | #define UI_LCD_POSX 39 /* x position of lcd */ | ||
412 | #define UI_LCD_POSY 38 /* y position of lcd */ | ||
413 | #define UI_LCD_WIDTH 320 | ||
414 | #define UI_LCD_HEIGHT 240 | ||
415 | #define UI_LCD_BGCOLOR 32, 32, 32 /* bkgnd color of LCD (no backlight) */ | ||
416 | #define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */ | ||
417 | #define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */ | ||
418 | #define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */ | ||
419 | |||
407 | #endif | 420 | #endif |
408 | extern SDL_Surface *gui_surface; | 421 | extern SDL_Surface *gui_surface; |
409 | extern bool background; /* True if the background image is enabled */ | 422 | extern bool background; /* True if the background image is enabled */ |