summaryrefslogtreecommitdiff
path: root/uisimulator/sdl
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-16 18:15:36 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-16 18:15:36 +0000
commitedc19fb56a200adb536b4a2137c8945e34b10faf (patch)
treef4843b9f311dbee282cc1af82be05008e4255e78 /uisimulator/sdl
parent44cbd337e9b77e521859865e806b3bedfe159746 (diff)
Added necessary bits & pieces for building an ipod 3rd gen simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl')
-rwxr-xr-xuisimulator/sdl/UI-ipod3g.bmpbin0 -> 86660 bytes
-rw-r--r--uisimulator/sdl/uisdl.h12
2 files changed, 12 insertions, 0 deletions
diff --git a/uisimulator/sdl/UI-ipod3g.bmp b/uisimulator/sdl/UI-ipod3g.bmp
new file mode 100755
index 0000000000..b904ccf924
--- /dev/null
+++ b/uisimulator/sdl/UI-ipod3g.bmp
Binary files differ
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 55d696bc63..9b844c3945 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -107,6 +107,18 @@
#define UI_REMOTE_WIDTH 128
#define UI_REMOTE_HEIGHT 64
+#elif defined(IPOD_3G)
+#define UI_TITLE "iPod 3G"
+#define UI_WIDTH 218 /* width of GUI window */
+#define UI_HEIGHT 389 /* 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 29 /* x position of lcd */
+#define UI_LCD_POSY 16 /* y position of lcd */
+#define UI_LCD_WIDTH 160
+#define UI_LCD_HEIGHT 128
+
#elif defined(IPOD_4G)
#define UI_TITLE "iPod 4G"
#define UI_WIDTH 196 /* width of GUI window */