diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-09 07:25:46 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-09 07:25:46 +0000 |
commit | b2eb44ce0eb24632a46b0ea8c8c46a8f2ba35e24 (patch) | |
tree | ff3c0e14e9a53c08749ee1f233a5b1e887d3561a /apps/plugin.h | |
parent | 85aad9b3972208b0e34ba0241ebb5314118ae05e (diff) | |
download | rockbox-b2eb44ce0eb24632a46b0ea8c8c46a8f2ba35e24.tar.gz rockbox-b2eb44ce0eb24632a46b0ea8c8c46a8f2ba35e24.zip |
FS#10824 - viewport/statusbar API rework.
Hopefully the only user visible changes are:
- fm and recording screens go by the statusbar setting (sbs or inbuilt)
- plugins go back to using the theme as they should for menus and lists
- splash screens might get cut a bit... entirely theme and splash dependant.. if there is a problematic one we can look at it later.
- hopefully nothing more than very minor screen flickerings... let me know exactly where they are so they can be fixed
New GUI screen rules:
* Screens assume that the theme (sbs+ui viewport+ maybe background image) are always enabled. They may be disabled on a per display basis, but MUST be re-enabled on exit
* Screens must not be coded in a way that requires a statusbar of any type.. the inbuilt bar will be removed shortly.
ALWAYS RESPECT THE USERS SETTINGS unless the screen requires the full display to fit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23904 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ade7f1584b..a302cc4241 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -135,12 +135,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
135 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 135 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
136 | 136 | ||
137 | /* increase this every time the api struct changes */ | 137 | /* increase this every time the api struct changes */ |
138 | #define PLUGIN_API_VERSION 175 | 138 | #define PLUGIN_API_VERSION 176 |
139 | 139 | ||
140 | /* update this to latest version if a change to the api struct breaks | 140 | /* update this to latest version if a change to the api struct breaks |
141 | backwards compatibility (and please take the opportunity to sort in any | 141 | backwards compatibility (and please take the opportunity to sort in any |
142 | new function which are "waiting" at the end of the function table) */ | 142 | new function which are "waiting" at the end of the function table) */ |
143 | #define PLUGIN_MIN_API_VERSION 173 | 143 | #define PLUGIN_MIN_API_VERSION 176 |
144 | 144 | ||
145 | /* plugin return codes */ | 145 | /* plugin return codes */ |
146 | enum plugin_status { | 146 | enum plugin_status { |
@@ -335,7 +335,6 @@ struct plugin_api { | |||
335 | int height); | 335 | int height); |
336 | #endif | 336 | #endif |
337 | void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen); | 337 | void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen); |
338 | int (*viewportmanager_set_statusbar)(int enable_status); | ||
339 | /* list */ | 338 | /* list */ |
340 | void (*gui_synclist_init)(struct gui_synclist * lists, | 339 | void (*gui_synclist_init)(struct gui_synclist * lists, |
341 | list_get_name callback_get_item_name, void * data, | 340 | list_get_name callback_get_item_name, void * data, |