diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-05 00:04:00 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-05 00:04:00 +0000 |
commit | 8876018d25c6a56cce118482c1372bbff344cb23 (patch) | |
tree | a66dca10bf92674c655b9862fd366ecc77bba76a /uisimulator/sdl/uisdl.h | |
parent | ee07215d506def8d3483f4adf6e1d4ae51c10c52 (diff) | |
download | rockbox-8876018d25c6a56cce118482c1372bbff344cb23.tar.gz rockbox-8876018d25c6a56cce118482c1372bbff344cb23.zip |
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r-- | uisimulator/sdl/uisdl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 7f0a567e79..a0551f1201 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -189,6 +189,24 @@ | |||
189 | #define UI_REMOTE_WIDTH 128 | 189 | #define UI_REMOTE_WIDTH 128 |
190 | #define UI_REMOTE_HEIGHT 96 | 190 | #define UI_REMOTE_HEIGHT 96 |
191 | 191 | ||
192 | #elif defined(IAUDIO_M5) | ||
193 | #define UI_TITLE "iAudio M5" | ||
194 | #define UI_WIDTH 300 /* width of GUI window */ | ||
195 | #define UI_HEIGHT 558 /* height of GUI window */ | ||
196 | /* high-colour */ | ||
197 | #define UI_LCD_POSX 55 /* x position of lcd */ | ||
198 | #define UI_LCD_POSY 61 /* y position of lcd (74 for real aspect) */ | ||
199 | #define UI_LCD_BGCOLOR 100, 135, 100 /* bkgnd color of LCD (no backlight) */ | ||
200 | #define UI_LCD_BGCOLORLIGHT 223, 216, 255 /* bkgnd color of LCD (backlight) */ | ||
201 | #define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ | ||
202 | #define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ | ||
203 | #define UI_REMOTE_BGCOLOR 90, 145, 90 /* bkgnd of remote lcd (no bklight) */ | ||
204 | #define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 /* bkgnd of remote lcd (bklight) */ | ||
205 | #define UI_REMOTE_POSX 12 /* x position of remote lcd */ | ||
206 | #define UI_REMOTE_POSY 462 /* y position of remote lcd */ | ||
207 | #define UI_REMOTE_WIDTH 128 | ||
208 | #define UI_REMOTE_HEIGHT 96 | ||
209 | |||
192 | #elif defined(GIGABEAT_F) | 210 | #elif defined(GIGABEAT_F) |
193 | #define UI_TITLE "Toshiba Gigabeat" | 211 | #define UI_TITLE "Toshiba Gigabeat" |
194 | #define UI_WIDTH 401 /* width of GUI window */ | 212 | #define UI_WIDTH 401 /* width of GUI window */ |