forked from len0rd/rockbox
Do some #ifdef'ing to make the Player happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22520 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f814a44c47
commit
3598eb02d7
2 changed files with 6 additions and 4 deletions
|
|
@ -129,6 +129,8 @@ bool skin_update(struct gui_wps *gwps, unsigned int update_type)
|
|||
return retval;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
void skin_statusbar_changed(struct gui_wps *skin)
|
||||
{
|
||||
if (!skin)
|
||||
|
|
@ -159,8 +161,6 @@ void skin_statusbar_changed(struct gui_wps *skin)
|
|||
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
static void draw_progressbar(struct gui_wps *gwps,
|
||||
struct skin_viewport *wps_vp)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -89,8 +89,9 @@ static struct wps_data wps_datas[NB_SCREENS];
|
|||
static void wps_state_init(void);
|
||||
static void track_changed_callback(void *param);
|
||||
static void nextid3available_callback(void* param);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
static void statusbar_toggle_handler(void *data);
|
||||
|
||||
#endif
|
||||
|
||||
#define WPS_DEFAULTCFG WPS_DIR "/rockbox_default.wps"
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
|
|
@ -693,6 +694,8 @@ long gui_wps_show(void)
|
|||
#ifdef HAVE_LCD_CHARCELLS
|
||||
status_set_audio(true);
|
||||
status_set_param(false);
|
||||
#else
|
||||
statusbar_toggle_handler(NULL);
|
||||
#endif
|
||||
|
||||
#ifdef AB_REPEAT_ENABLE
|
||||
|
|
@ -700,7 +703,6 @@ long gui_wps_show(void)
|
|||
ab_reset_markers();
|
||||
#endif
|
||||
wps_state_init();
|
||||
statusbar_toggle_handler(NULL);
|
||||
|
||||
while ( 1 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue