summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/skin_engine.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:38:00 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:38:00 +0000
commit1bd072c92d5f6d4a9a26d738a421f5a05048bb29 (patch)
tree11bf71c80cd995dad20b4316f201a63f78111383 /apps/gui/skin_engine/skin_engine.h
parentf9736c0b63d90d3cda7e2c77d1cae20939ae328f (diff)
downloadrockbox-1bd072c92d5f6d4a9a26d738a421f5a05048bb29.tar.gz
rockbox-1bd072c92d5f6d4a9a26d738a421f5a05048bb29.tar.bz2
rockbox-1bd072c92d5f6d4a9a26d738a421f5a05048bb29.zip
FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25964 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r--apps/gui/skin_engine/skin_engine.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h
index 90f38c9920..380b854d24 100644
--- a/apps/gui/skin_engine/skin_engine.h
+++ b/apps/gui/skin_engine/skin_engine.h
@@ -30,6 +30,9 @@
enum skinnable_screens {
CUSTOM_STATUSBAR,
WPS,
+#if CONFIG_TUNER
+ FM_SCREEN,
+#endif
SKINNABLE_SCREENS_COUNT
@@ -53,9 +56,18 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
/* call this in statusbar toggle handlers if needed */
void skin_statusbar_changed(struct gui_wps*);
+bool skin_has_sbs(enum screen_type screen, struct wps_data *data);
+
/* load a backdrop into the skin buffer.
* reuse buffers if the file is already loaded */
char* skin_backdrop_load(char* backdrop, char *bmpdir, enum screen_type screen);
void skin_backdrop_init(void);
+
+
+/* do the button loop as often as required for the peak meters to update
+ * with a good refresh rate.
+ * gwps is really gwps[NB_SCREENS]! don't wrap this in FOR_NB_SCREENS()
+ */
+int skin_wait_for_action(struct gui_wps *gwps, int context, int timeout);
#endif