mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 19:12:39 -05:00
Iriver iFP7xx support in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10650 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
09c3961a49
commit
a19032c550
3 changed files with 15 additions and 0 deletions
BIN
uisimulator/sdl/UI-ifp7xx.bmp
Normal file
BIN
uisimulator/sdl/UI-ifp7xx.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 228 KiB |
|
|
@ -169,6 +169,8 @@ void button_event(int key, bool pressed)
|
||||||
new_btn = BUTTON_OFF;
|
new_btn = BUTTON_OFF;
|
||||||
#elif defined BUTTON_A
|
#elif defined BUTTON_A
|
||||||
new_btn = BUTTON_A;
|
new_btn = BUTTON_A;
|
||||||
|
#elif defined BUTTON_EQ
|
||||||
|
new_btn = BUTTON_EQ;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,19 @@
|
||||||
#define UI_LCD_POSY 30 /* y position of lcd (74 for real aspect) */
|
#define UI_LCD_POSY 30 /* y position of lcd (74 for real aspect) */
|
||||||
#define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */
|
#define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */
|
||||||
#define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */
|
#define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */
|
||||||
|
|
||||||
|
#elif defined(IRIVER_IFP7XX)
|
||||||
|
#define UI_TITLE "iriver iFP7xx"
|
||||||
|
#define UI_WIDTH 425 /* width of GUI window */
|
||||||
|
#define UI_HEIGHT 183 /* height of GUI window */
|
||||||
|
#define UI_LCD_BGCOLOR 94, 104, 84 /* bkgnd color of LCD (no backlight) */
|
||||||
|
#define UI_LCD_BGCOLORLIGHT 60, 160, 230 /* bkgnd color of LCD (backlight) */
|
||||||
|
#define UI_LCD_BLACK 0, 0, 0 /* black */
|
||||||
|
#define UI_LCD_POSX 115 /* x position of lcd */
|
||||||
|
#define UI_LCD_POSY 54 /* y position of lcd */
|
||||||
|
#define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */
|
||||||
|
#define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
extern SDL_Surface *gui_surface;
|
extern SDL_Surface *gui_surface;
|
||||||
extern bool background; /* True if the background image is enabled */
|
extern bool background; /* True if the background image is enabled */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue