summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-03 20:25:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-03 20:25:39 +0000
commite43b29dde2db0f04b8d2d8edc0a6c19b5947530c (patch)
tree8a8da612ec0c3cdc7938c2a6cc5a0f1e4f29e811 /uisimulator/sdl
parent6492fa23c494168934b2a2db5609febf12fd1e61 (diff)
downloadrockbox-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.h11
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 @@
#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;