diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-05 09:59:11 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-05 09:59:11 +0000 |
commit | 8b9fdb540c9bf10c0939cb4a529688bd3e79ff9c (patch) | |
tree | a99ace107474dd7adaf39055d4c851a294c366b5 /apps/menus | |
parent | e74cc6d9da7c7eab96cb06147903c75c1f9c06c7 (diff) |
redo how the statusbar updates are done. send the EVENT_GUI_ACTIONUPDATE event every time get_action() is called. The event wont be as realiable (timewise) as before, but seems to work better
This also fixes FS#9761.
Also set the lcd font back to the ui font from the debug screens which use sysfont
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19681 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/eq_menu.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index 77b6e6f07a..28df0836fc 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c @@ -49,6 +49,7 @@ #include "gui/scrollbar.h" #include "eq_menu.h" #include "menu_common.h" +#include "viewport.h" /* * Utility functions @@ -391,6 +392,7 @@ bool eq_menu_graphical(void) enum eq_type current_type; char buf[24]; int i, w, h, height, start_item, nb_eq_sliders[NB_SCREENS]; + bool barsenabled = viewportmanager_set_statusbar(false); FOR_NB_SCREENS(i) { @@ -553,12 +555,6 @@ bool eq_menu_graphical(void) exit_request = true; result = false; break; - case SYS_FOURHERTZ: - /* eat this for the time being. this whole screen needs to be converted - * to viewports, so when that happens this message can be handled - * properly. - */ - break; default: if(default_event_handler(button) == SYS_USB_CONNECTED) { exit_request = true; @@ -580,7 +576,7 @@ bool eq_menu_graphical(void) screens[i].clear_display(); screens[i].set_viewport(NULL); } - + viewportmanager_set_statusbar(barsenabled); return result; } |