diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-03-06 00:29:46 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-03-06 00:29:46 +0000 |
commit | a9b5f4d810903996d868b0fcdcf9859cf3f47d7d (patch) | |
tree | 4acbdcace28f00451d5b5c9687cc53c6f997886c /apps/gui/viewport.c | |
parent | 43ed678b4645a48cf2072ab72c93e730f4d329ff (diff) | |
download | rockbox-a9b5f4d810903996d868b0fcdcf9859cf3f47d7d.tar.gz rockbox-a9b5f4d810903996d868b0fcdcf9859cf3f47d7d.zip |
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
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r-- | apps/gui/viewport.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); } } |