path: root/apps/gui/wps.h
diff options
authorThomas Martitz <>2009-08-03 15:06:30 +0000
committerThomas Martitz <>2009-08-03 15:06:30 +0000
commit3b75c86d74937a6bffcb371bb08bdfb182db9d2b (patch)
tree3be12a89b7a5377a31a46b48e672e08af36ac949 /apps/gui/wps.h
parent0dc5cc8002e3d30fc7ae7ddf7f33a56c8b136e7e (diff)
A bit mroe wps/skin engine cleanup so that the structs the wps uses can be static:
-add wrappers wps_data_load() and wps_data_init() so that other code doesn't need the structs for that -change (and rename) gui_sync_wps_uses_albumart() to take points to be filled as parameter to get the AA size of a wps git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.h')
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/gui/wps.h b/apps/gui/wps.h
index 90614cb65b..b8cb7d2ffa 100644
--- a/apps/gui/wps.h
+++ b/apps/gui/wps.h
@@ -34,4 +34,17 @@ bool ffwd_rew(int button);
void display_keylock_text(bool locked);
bool is_wps_fading(void);
+/* wrapper for the wps to load the skin (.wps/.rwps) files */
+void wps_data_load(enum screen_type, const char *, bool);
+void wps_data_init(enum screen_type);
+ * Returns true if at least one of the gui_wps screens has an album art
+ * tag in its wps structure and writes the width and height into the passed
+ * pointers
+ */
+bool wps_uses_albumart(int*, int*);