mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Statusbar handling fixes.
Fixes FS#9845 - %we/%wd wasnt working WPS no longer resets the viewportmanger more than needed (was doing it twice/draw before) screens can now enable/disable the statusbar easily ignoring the setting instead of needing special handling (fix for the radio screen coming soon) minor glitch introduced in this commit... the statusbar in the WPS might disappear for a fraction of a second when it is entered, I need to track this down... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19894 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e55f2329c0
commit
80cb3551eb
15 changed files with 91 additions and 84 deletions
|
@ -94,6 +94,7 @@ int menu_show(int m)
|
|||
bool exit = false;
|
||||
int key;
|
||||
|
||||
char bars = rb->viewportmanager_set_statusbar(VP_ALLSCREENS);
|
||||
rb->gui_synclist_draw(&(menus[m].synclist));
|
||||
while (!exit) {
|
||||
key = rb->get_action(CONTEXT_MAINMENU,HZ/2);
|
||||
|
@ -123,6 +124,7 @@ int menu_show(int m)
|
|||
break;
|
||||
}
|
||||
}
|
||||
rb->viewportmanager_set_statusbar(bars);
|
||||
return MENU_SELECTED_EXIT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue