summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/uisdl.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-02-04 22:37:44 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-02-04 22:37:44 +0000
commit939417509142d0147926a706dd7ea64fd11af030 (patch)
tree6f071b682d8982bee00c67d89cae92f5afe8a23e /uisimulator/sdl/uisdl.h
parent8a1da840096653bad868fef51c9be7176cd7da82 (diff)
downloadrockbox-939417509142d0147926a706dd7ea64fd11af030.tar.gz
rockbox-939417509142d0147926a706dd7ea64fd11af030.zip
Added iAudio X5 SDl sim image
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8566 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/uisdl.h')
-rw-r--r--uisimulator/sdl/uisdl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 02b21a075b..9c4d0ad5ff 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -139,6 +139,25 @@
139#define UI_LCD_WIDTH 192 // * 1.5 139#define UI_LCD_WIDTH 192 // * 1.5
140#define UI_LCD_HEIGHT 96 // * 1.5 140#define UI_LCD_HEIGHT 96 // * 1.5
141 141
142
143#elif defined(IAUDIO_X5)
144#define UI_TITLE "iAudio X5"
145#define UI_WIDTH 300 // width of GUI window
146#define UI_HEIGHT 462 // height of GUI window
147#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight)
148#define UI_LCD_BGCOLORLIGHT 230, 160, 60 // bkgnd color of LCD (backlight)
149#define UI_LCD_BLACK 0, 0, 0 // black
150#define UI_LCD_POSX 55 // x position of lcd
151#define UI_LCD_POSY 61 // y position of lcd (74 for real aspect)
152#define UI_LCD_WIDTH LCD_WIDTH // * 1.5
153#define UI_LCD_HEIGHT LCD_HEIGHT // * 1.5
154
155#define UI_REMOTE_POSX 12 // x position of remote lcd
156#define UI_REMOTE_POSY 478 // y position of remote lcd
157#define UI_REMOTE_WIDTH 128
158#define UI_REMOTE_HEIGHT 64
159
160#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight)
142#endif 161#endif
143 162
144extern SDL_Surface *gui_surface; 163extern SDL_Surface *gui_surface;