forked from len0rd/rockbox
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
This commit is contained in:
parent
e55f2329c0
commit
80cb3551eb
15 changed files with 91 additions and 84 deletions
|
|
@ -126,12 +126,12 @@ void* plugin_get_buffer(size_t *buffer_size);
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 139
|
||||
#define PLUGIN_API_VERSION 140
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
new function which are "waiting" at the end of the function table) */
|
||||
#define PLUGIN_MIN_API_VERSION 137
|
||||
#define PLUGIN_MIN_API_VERSION 140
|
||||
|
||||
/* plugin return codes */
|
||||
enum plugin_status {
|
||||
|
|
@ -312,7 +312,7 @@ struct plugin_api {
|
|||
int height);
|
||||
#endif
|
||||
void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen);
|
||||
bool (*viewportmanager_set_statusbar)(bool enabled);
|
||||
char (*viewportmanager_set_statusbar)(char enabled);
|
||||
/* list */
|
||||
void (*gui_synclist_init)(struct gui_synclist * lists,
|
||||
list_get_name callback_get_item_name, void * data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue