From 8ad2df82754184a8dfe1a6d66248a1dd156286bd Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 9 Feb 2006 00:48:53 +0000 Subject: Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH define for all iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'uisimulator/sdl/uisdl.h') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index dd8e558b66..ddf0a6ff86 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -109,6 +109,18 @@ #define UI_REMOTE_WIDTH 128 #define UI_REMOTE_HEIGHT 64 +#elif defined(IPOD_4G) +#define UI_TITLE "iPod 4G" +#define UI_WIDTH 196 // width of GUI window +#define UI_HEIGHT 370 // height of GUI window +#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) +#define UI_LCD_BGCOLORLIGHT 173, 216, 230 // bkgnd color of LCD (backlight) +#define UI_LCD_BLACK 0, 0, 0 // black +#define UI_LCD_POSX 19 // x position of lcd +#define UI_LCD_POSY 14 // y position of lcd +#define UI_LCD_WIDTH 160 +#define UI_LCD_HEIGHT 128 + #elif defined(IPOD_COLOR) #define UI_TITLE "iPod Color" #define UI_WIDTH 261 // width of GUI window -- cgit v1.2.3