From e43b29dde2db0f04b8d2d8edc0a6c19b5947530c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 3 Aug 2006 20:25:39 +0000 Subject: iriver H10 fixes by Barry git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10450 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'uisimulator/sdl/uisdl.h') 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 @@ #define UI_LCD_POSY 60 /* y position of lcd */ #define UI_LCD_WIDTH 240 #define UI_LCD_HEIGHT 320 -#endif +#elif defined(IRIVER_H10) +#define UI_TITLE "iriver H10" +#define UI_WIDTH 392 /* width of GUI window */ +#define UI_HEIGHT 391 /* height of GUI window */ +/* high-colour */ +#define UI_LCD_POSX 111 /* x position of lcd */ +#define UI_LCD_POSY 30 /* y position of lcd (74 for real aspect) */ +#define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ +#define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ +#endif extern SDL_Surface *gui_surface; extern bool background; /* True if the background image is enabled */ extern int display_zoom; -- cgit v1.2.3