diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:25:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:25:39 +0000 |
commit | e43b29dde2db0f04b8d2d8edc0a6c19b5947530c (patch) | |
tree | 8a8da612ec0c3cdc7938c2a6cc5a0f1e4f29e811 /uisimulator/sdl | |
parent | 6492fa23c494168934b2a2db5609febf12fd1e61 (diff) | |
download | rockbox-e43b29dde2db0f04b8d2d8edc0a6c19b5947530c.tar.gz rockbox-e43b29dde2db0f04b8d2d8edc0a6c19b5947530c.zip |
iriver H10 fixes by Barry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10450 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl')
-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 7deeff3bb8..2e877cbff6 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -198,8 +198,17 @@ | |||
198 | #define UI_LCD_POSY 60 /* y position of lcd */ | 198 | #define UI_LCD_POSY 60 /* y position of lcd */ |
199 | #define UI_LCD_WIDTH 240 | 199 | #define UI_LCD_WIDTH 240 |
200 | #define UI_LCD_HEIGHT 320 | 200 | #define UI_LCD_HEIGHT 320 |
201 | #endif | ||
202 | 201 | ||
202 | #elif defined(IRIVER_H10) | ||
203 | #define UI_TITLE "iriver H10" | ||
204 | #define UI_WIDTH 392 /* width of GUI window */ | ||
205 | #define UI_HEIGHT 391 /* height of GUI window */ | ||
206 | /* high-colour */ | ||
207 | #define UI_LCD_POSX 111 /* x position of lcd */ | ||
208 | #define UI_LCD_POSY 30 /* y position of lcd (74 for real aspect) */ | ||
209 | #define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ | ||
210 | #define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ | ||
211 | #endif | ||
203 | extern SDL_Surface *gui_surface; | 212 | extern SDL_Surface *gui_surface; |
204 | extern bool background; /* True if the background image is enabled */ | 213 | extern bool background; /* True if the background image is enabled */ |
205 | extern int display_zoom; | 214 | extern int display_zoom; |