summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-09-14 11:56:50 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-09-14 11:56:50 +0000
commit9928e3418f67fe6d2f82292ddbddcf56ae20b8f6 (patch)
tree397b13a537a476feb77b7d052250b98055924aec /apps/gui/skin_engine/wps_internals.h
parent0928cdf074c8991f470fa0d96e6d4f828998b643 (diff)
downloadrockbox-9928e3418f67fe6d2f82292ddbddcf56ae20b8f6.tar.gz
rockbox-9928e3418f67fe6d2f82292ddbddcf56ae20b8f6.zip
Another major skin backend update/hopefully bugfix:
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers) Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load) the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is. This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 0767f50279..5c3d953fdb 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -266,7 +266,10 @@ struct wps_data
struct skin_token_list *progressbars;
#endif
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
- char *backdrop;
+ struct {
+ char *backdrop;
+ int backdrop_id;
+ };
#endif
#ifdef HAVE_TOUCHSCREEN
@@ -305,18 +308,6 @@ struct wps_state
bool is_fading;
};
-/* Holds data for all screens in a skin. */
-struct wps_sync_data
-{
- /* suitable for the viewportmanager, possibly only temporary here
- * needs to be same for all screens! can't be split up for screens
- * due to what viewportmanager_set_statusbar() accepts
- * (FIXME?) */
- int statusbars;
- /* indicates whether the skin needs a full update for all screens */
- bool do_full_update;
-};
-
/* change the ff/rew-status
if ff_rew = true then we are in skipping mode
else we are in normal mode */
@@ -334,9 +325,6 @@ struct gui_wps
{
struct screen *display;
struct wps_data *data;
- struct wps_state *state;
- /* must point to the same struct for all screens */
- struct wps_sync_data *sync_data;
};
/* gui_wps end */