summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-17 19:46:51 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-17 19:46:51 +0000
commit9668883bacad78570e0ff62d3ad0f442b6160247 (patch)
treeba6bf59afe4582e39b7dbd0eb4664fc305d205e4 /uisimulator
parenteb54ede182dd882f4b0ab592d0a69fbc2bfbec70 (diff)
downloadrockbox-9668883bacad78570e0ff62d3ad0f442b6160247.tar.gz
rockbox-9668883bacad78570e0ff62d3ad0f442b6160247.tar.bz2
rockbox-9668883bacad78570e0ff62d3ad0f442b6160247.zip
Sansa Clip+: simulator
Add the Clipv1 bitmap for Clipv2 so it builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24731 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/UI-sansaclipplus.bmpbin0 -> 266554 bytes
-rw-r--r--uisimulator/sdl/UI-sansaclipv2.bmpbin0 -> 266554 bytes
-rw-r--r--uisimulator/sdl/uisdl.h16
3 files changed, 15 insertions, 1 deletions
diff --git a/uisimulator/sdl/UI-sansaclipplus.bmp b/uisimulator/sdl/UI-sansaclipplus.bmp
new file mode 100644
index 0000000000..b644391b5b
--- /dev/null
+++ b/uisimulator/sdl/UI-sansaclipplus.bmp
Binary files differ
diff --git a/uisimulator/sdl/UI-sansaclipv2.bmp b/uisimulator/sdl/UI-sansaclipv2.bmp
new file mode 100644
index 0000000000..597f3f9ede
--- /dev/null
+++ b/uisimulator/sdl/UI-sansaclipv2.bmp
Binary files differ
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 58a2f9959d..562c299af7 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -295,12 +295,26 @@
#define UI_LCD_POSY 31 /* y position of lcd */
#elif defined(SANSA_CLIP) || defined(SANSA_CLIPV2)
-#define UI_TITLE "Sansa Clip"
+#if defined(SANSA_CLIP)
+#define CLIP_VERSION ""
+#elif defined(SANSA_CLIPV2)
+#define CLIP_VERSION "v2"
+#endif
+#define UI_TITLE "Sansa Clip"CLIP_VERSION
#define UI_WIDTH 205 /* width of GUI window */
#define UI_HEIGHT 325 /* height of GUI window */
#define UI_LCD_POSX 38 /* x position of lcd */
#define UI_LCD_POSY 38 /* y position of lcd */
+#elif defined(SANSA_CLIPPLUS)
+#define UI_TITLE "Sansa Clip+"
+#define UI_WIDTH 205 /* width of GUI window */
+#define UI_HEIGHT 325 /* height of GUI window */
+#define UI_LCD_POSX 42 /* x position of lcd */
+#define UI_LCD_POSY 42 /* y position of lcd */
+
+
+
#elif defined(PHILIPS_SA9200)
#define UI_TITLE "Philips GoGear SA9200"
#define UI_WIDTH 233 /* width of GUI window */