From 3598eb02d7ac5ee0eba1aeceacf52a4ba1b866bb Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 27 Aug 2009 17:55:05 +0000 Subject: Do some #ifdef'ing to make the Player happy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22520 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_display.c | 4 ++-- apps/gui/wps.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/gui') diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index e674c9becf..a6cab63829 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c @@ -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) { diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cfa857099e..1d97501bc1 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -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 ) { -- cgit v1.2.3