forked from len0rd/rockbox
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
This commit is contained in:
parent
e74cc6d9da
commit
8b9fdb540c
11 changed files with 28 additions and 38 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue