summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/skin_engine.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-16 05:24:27 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-16 05:24:27 +0000
commit877d378710337e7b89b015e3901e467fbcff53be (patch)
treee372499593369a7dd64f2f8dc72994bc183a829e /apps/gui/skin_engine/skin_engine.h
parent82f05895af2e361b983aa782e4294a641b287429 (diff)
downloadrockbox-877d378710337e7b89b015e3901e467fbcff53be.tar.gz
rockbox-877d378710337e7b89b015e3901e467fbcff53be.tar.bz2
rockbox-877d378710337e7b89b015e3901e467fbcff53be.zip
Reuse the backdrop buffers if 2 skins use the same backdrop (on the same screen of course)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24690 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r--apps/gui/skin_engine/skin_engine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h
index c5afe3e9f5..642f15aaad 100644
--- a/apps/gui/skin_engine/skin_engine.h
+++ b/apps/gui/skin_engine/skin_engine.h
@@ -60,4 +60,10 @@ void skin_data_init(struct wps_data *wps_data);
/* call this in statusbar toggle handlers if needed */
void skin_statusbar_changed(struct gui_wps*);
+
+
+/* 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);
#endif