mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cb36fec392
commit
05ddd9a44e
16 changed files with 1182 additions and 38 deletions
|
|
@ -140,8 +140,8 @@ static void snow_move(void)
|
|||
#ifdef HAVE_REMOTE_LCD
|
||||
if (particles[i][0] <= LCD_REMOTE_WIDTH
|
||||
&& particles[i][1] <= LCD_REMOTE_HEIGHT) {
|
||||
rb->lcd_remote_bitmap(flake,particles[i][0],particles[i][1],
|
||||
FLAKE_WIDTH,FLAKE_WIDTH);
|
||||
rb->lcd_remote_mono_bitmap(flake,particles[i][0],particles[i][1],
|
||||
FLAKE_WIDTH,FLAKE_WIDTH);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,20 +30,30 @@ static int fontwidth, fontheight;
|
|||
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
#define STATS_STOP BUTTON_STOP
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD)
|
||||
|
||||
#elif (CONFIG_KEYPAD == RECORDER_PAD) \
|
||||
|| (CONFIG_KEYPAD == ONDIO_PAD)
|
||||
#define STATS_STOP BUTTON_OFF
|
||||
|
||||
#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) \
|
||||
|| (CONFIG_KEYPAD == IRIVER_H300_PAD)
|
||||
#define STATS_STOP BUTTON_OFF
|
||||
#define STATS_STOP_REMOTE BUTTON_RC_STOP
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) \
|
||||
|| (CONFIG_KEYPAD == IPOD_3G_PAD)
|
||||
#define STATS_STOP BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
|
||||
#define STATS_STOP BUTTON_PLAY
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
|
||||
#define STATS_STOP BUTTON_POWER
|
||||
#define STATS_STOP_REMOTE BUTTON_RC_PLAY
|
||||
|
||||
#elif CONFIG_KEYPAD == GIGABEAT_PAD
|
||||
#define STATS_STOP BUTTON_A
|
||||
#else
|
||||
#define STATS_STOP BUTTON_OFF
|
||||
#endif
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#define STATS_STOP_REMOTE BUTTON_RC_STOP
|
||||
|
||||
#endif
|
||||
|
||||
/* TODO: Better get the exts from the filetypes var in tree.c */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue