From a9b5f4d810903996d868b0fcdcf9859cf3f47d7d Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 6 Mar 2010 00:29:46 +0000 Subject: cleanup statusbar+base skin relationship... * remove the "custom" option from the statusbar setting. if a sbs file is set then statusbar setting is ignored, no other user visible change there. * new tag, %wi - use to draw the inbuilt statusbar in the current viewport git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25038 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/gui/viewport.c') diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index c51f2f5b48..0d3f57447c 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -229,11 +229,10 @@ static void viewportmanager_redraw(void* data) FOR_NB_SCREENS(i) { #ifdef HAVE_LCD_BITMAP - if (statusbar_position(i) == STATUSBAR_CUSTOM) - sb_skin_update(i, NULL != data); - else if (statusbar_position(i) != STATUSBAR_OFF) + sb_skin_update(i, NULL != data); +#else + gui_statusbar_draw(&statusbars.statusbars[i], NULL, NULL); #endif - gui_statusbar_draw(&statusbars.statusbars[i], NULL != data); } } -- cgit v1.2.3