From e74cc6d9da7c7eab96cb06147903c75c1f9c06c7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 5 Jan 2009 07:50:25 +0000 Subject: "fix" FS#9757 by handing the statusbar redraw event more correctly... the eqscreen needs to be converted to viewports to display the statusbar. fix the colour chooser screen to work with the bar redraw also git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19680 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/eq_menu.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps/menus') diff --git a/apps/menus/eq_menu.c b/apps/menus/eq_menu.c index 45bf9f41dd..77b6e6f07a 100644 --- a/apps/menus/eq_menu.c +++ b/apps/menus/eq_menu.c @@ -394,6 +394,7 @@ bool eq_menu_graphical(void) FOR_NB_SCREENS(i) { + screens[i].set_viewport(NULL); screens[i].setfont(FONT_SYSFIXED); screens[i].clear_display(); @@ -552,7 +553,12 @@ 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; @@ -572,6 +578,7 @@ bool eq_menu_graphical(void) FOR_NB_SCREENS(i) { screens[i].setfont(FONT_UI); screens[i].clear_display(); + screens[i].set_viewport(NULL); } return result; -- cgit v1.2.3