diff options
author | Dan Everton <dan@iocaine.org> | 2006-02-13 21:46:28 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2006-02-13 21:46:28 +0000 |
commit | 3ba0060ac1fa1c39596c51d4bf259142e6d1847f (patch) | |
tree | 71428db81254a9901fbf3e8a92c71f0f57410cd2 /uisimulator/sdl/uisdl.h | |
parent | dd39e33663a4b617c3f88f48845681e772386a7f (diff) | |
download | rockbox-3ba0060ac1fa1c39596c51d4bf259142e6d1847f.tar.gz rockbox-3ba0060ac1fa1c39596c51d4bf259142e6d1847f.zip |
Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 989ca364d1..f4a28f9e0f 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -139,6 +139,16 @@ | |||
139 | #define UI_LCD_WIDTH 176 | 139 | #define UI_LCD_WIDTH 176 |
140 | #define UI_LCD_HEIGHT 132 | 140 | #define UI_LCD_HEIGHT 132 |
141 | 141 | ||
142 | #elif defined(IPOD_VIDEO) | ||
143 | #define UI_TITLE "iPod Video" | ||
144 | #define UI_WIDTH 320 // width of GUI window | ||
145 | #define UI_HEIGHT 240 // height of GUI window | ||
146 | /* high-colour */ | ||
147 | #define UI_LCD_POSX 0 // x position of lcd | ||
148 | #define UI_LCD_POSY 0 // y position of lcd | ||
149 | #define UI_LCD_WIDTH 320 | ||
150 | #define UI_LCD_HEIGHT 240 | ||
151 | |||
142 | #elif defined(ARCHOS_GMINI120) | 152 | #elif defined(ARCHOS_GMINI120) |
143 | #define UI_TITLE "Gmini 120" | 153 | #define UI_TITLE "Gmini 120" |
144 | #define UI_WIDTH 370 // width of GUI window | 154 | #define UI_WIDTH 370 // width of GUI window |
@@ -151,7 +161,6 @@ | |||
151 | #define UI_LCD_WIDTH 192 // * 1.5 | 161 | #define UI_LCD_WIDTH 192 // * 1.5 |
152 | #define UI_LCD_HEIGHT 96 // * 1.5 | 162 | #define UI_LCD_HEIGHT 96 // * 1.5 |
153 | 163 | ||
154 | |||
155 | #elif defined(IAUDIO_X5) | 164 | #elif defined(IAUDIO_X5) |
156 | #define UI_TITLE "iAudio X5" | 165 | #define UI_TITLE "iAudio X5" |
157 | #define UI_WIDTH 300 // width of GUI window | 166 | #define UI_WIDTH 300 // width of GUI window |