From eee5423fe10f247f74d69404924edf3a0d54e8cd Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 29 Jan 2010 07:52:13 +0000 Subject: skin rework (FS#10922) notable changes: - simplify the setting/skin relationship. settings are used as the fallback if it's not specified in the skin - backdrop buffers are now in the skin buffer (which has also increased slightly to accomodate 1 backdrop for each skin and 2 full colour screens for bmps (up for 1.5)) - if no %X is specified in a skin then the backdrop setting will be used. use %Xd to explicitly disable a skin from displaying a backdrop - the base skin can now specify a backdrop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24366 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 8d1bcf7ae5..1b16e9fe8e 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -63,7 +63,6 @@ #include "settings_list.h" #include "filetypes.h" #include "option_select.h" -#include "backdrop.h" #if CONFIG_TUNER #include "radio.h" #endif @@ -795,9 +794,6 @@ void settings_apply(bool read_disk) char buf[64]; #if CONFIG_CODEC == SWCODEC int i; -#endif -#if LCD_DEPTH > 1 - int screen; #endif sound_settings_apply(); @@ -907,23 +903,6 @@ void settings_apply(bool read_disk) load_kbd(NULL); #endif - -#if LCD_DEPTH > 1 - if ( global_settings.backdrop_file[0] && - global_settings.backdrop_file[0] != 0xff ) { - snprintf(buf, sizeof buf, BACKDROP_DIR "/%s.bmp", - global_settings.backdrop_file); - backdrop_load(BACKDROP_MAIN, buf); - } else { - backdrop_unload(BACKDROP_MAIN); - } -#endif - -#if LCD_DEPTH > 1 - FOR_NB_SCREENS(screen) - screens[screen].backdrop_show(BACKDROP_MAIN); -#endif - if ( global_settings.lang_file[0]) { snprintf(buf, sizeof buf, LANG_DIR "/%s.lng", global_settings.lang_file); -- cgit v1.2.3