summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
commit80cb3551eb61cdf240cf24ad0c44016475bf2e61 (patch)
treee9c72c90954b73807d64df59fefcdf0b1c1fc615 /apps/plugins
parente55f2329c059434452c62af48903b4607e500e4e (diff)
downloadrockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.tar.gz
rockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.zip
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/oldmenuapi.c2
-rw-r--r--apps/plugins/star.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lib/oldmenuapi.c b/apps/plugins/lib/oldmenuapi.c
index 9c371d531e..864291fd4d 100644
--- a/apps/plugins/lib/oldmenuapi.c
+++ b/apps/plugins/lib/oldmenuapi.c
@@ -94,6 +94,7 @@ int menu_show(int m)
94 bool exit = false; 94 bool exit = false;
95 int key; 95 int key;
96 96
97 char bars = rb->viewportmanager_set_statusbar(VP_ALLSCREENS);
97 rb->gui_synclist_draw(&(menus[m].synclist)); 98 rb->gui_synclist_draw(&(menus[m].synclist));
98 while (!exit) { 99 while (!exit) {
99 key = rb->get_action(CONTEXT_MAINMENU,HZ/2); 100 key = rb->get_action(CONTEXT_MAINMENU,HZ/2);
@@ -123,6 +124,7 @@ int menu_show(int m)
123 break; 124 break;
124 } 125 }
125 } 126 }
127 rb->viewportmanager_set_statusbar(bars);
126 return MENU_SELECTED_EXIT; 128 return MENU_SELECTED_EXIT;
127} 129}
128 130
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 931161308a..c4251cd223 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -1030,7 +1030,7 @@ static int star_menu(void)
1030 } 1030 }
1031 while(!menu_quit) 1031 while(!menu_quit)
1032 { 1032 {
1033 switch(rb->do_menu(&menu, &selection, vp, true)) 1033 switch(rb->do_menu(&menu, &selection, vp, false))
1034 { 1034 {
1035 case 0: 1035 case 0:
1036 menu_quit = true; 1036 menu_quit = true;