From b2eb44ce0eb24632a46b0ea8c8c46a8f2ba35e24 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 9 Dec 2009 07:25:46 +0000 Subject: 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 --- apps/gui/statusbar-skinned.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/gui/statusbar-skinned.h') diff --git a/apps/gui/statusbar-skinned.h b/apps/gui/statusbar-skinned.h index 7c81eb8d01..6016c293b0 100644 --- a/apps/gui/statusbar-skinned.h +++ b/apps/gui/statusbar-skinned.h @@ -35,9 +35,9 @@ void sb_skin_data_load(enum screen_type screen, const char *buf, bool isfile); /* probably temporary, to shut the classic statusbar up */ bool sb_skin_get_state(enum screen_type screen); -void sb_skin_set_state(int state, enum screen_type screen); void sb_skin_init(void); struct viewport *sb_skin_get_info_vp(enum screen_type screen); +void sb_skin_update(enum screen_type screen, bool force); void sb_skin_set_update_delay(int delay); @@ -48,4 +48,5 @@ void sb_skin_set_update_delay(int delay); #define sb_skin_set_state(a,b) #define sb_skin_get_state(a) #endif +void do_sbs_update_callback(void *param); #endif /* __STATUSBAR_SKINNED_H__ */ -- cgit v1.2.3