diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2008-03-27 11:29:24 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2008-03-27 11:29:24 +0000 |
commit | c7e5d78241699500b18ce783607af7ae52ee021f (patch) | |
tree | a6aaf5c7d59fedf18fe944956c4e2c3b72cbd638 /uisimulator/sdl/uisdl.h | |
parent | be40427baeacb88e27a4d8117addd60ca1fbc4c7 (diff) | |
download | rockbox-c7e5d78241699500b18ce783607af7ae52ee021f.tar.gz rockbox-c7e5d78241699500b18ce783607af7ae52ee021f.zip |
initial Meizu M6SL port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657
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 37989a682b..890c6d0638 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -374,6 +374,19 @@ | |||
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(MEIZU_M6SL) | ||
378 | #define UI_TITLE "Meizu M6" | ||
379 | #define UI_WIDTH 512 /* width of GUI window */ | ||
380 | #define UI_HEIGHT 322 /* height of GUI window */ | ||
381 | #define UI_LCD_POSX 39 /* x position of lcd */ | ||
382 | #define UI_LCD_POSY 38 /* y position of lcd */ | ||
383 | #define UI_LCD_WIDTH 320 | ||
384 | #define UI_LCD_HEIGHT 240 | ||
385 | #define UI_LCD_BGCOLOR 32, 32, 32 /* bkgnd color of LCD (no backlight) */ | ||
386 | #define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) */ | ||
387 | #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) */ | ||
389 | |||
377 | #endif | 390 | #endif |
378 | extern SDL_Surface *gui_surface; | 391 | extern SDL_Surface *gui_surface; |
379 | extern bool background; /* True if the background image is enabled */ | 392 | extern bool background; /* True if the background image is enabled */ |