From 9928e3418f67fe6d2f82292ddbddcf56ae20b8f6 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 14 Sep 2010 11:56:50 +0000 Subject: 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 --- apps/gui/skin_engine/wps_internals.h | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'apps/gui/skin_engine/wps_internals.h') 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 */ -- cgit v1.2.3