From 8b9fdb540c9bf10c0939cb4a529688bd3e79ff9c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 5 Jan 2009 09:59:11 +0000 Subject: 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 --- apps/menus/eq_menu.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'apps/menus') 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; } -- cgit v1.2.3