diff options
-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; |