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/screen_access.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/screen_access.h') diff --git a/apps/screen_access.h b/apps/screen_access.h index 31d4b0c..2dc9546 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -148,10 +148,8 @@ struct screen bool (*is_backlight_on)(bool ignore_always_off); void (*backlight_set_timeout)(int index); #if LCD_DEPTH > 1 - bool (*backdrop_load)(enum backdrop_type bdrop, const char* filename); - void (*backdrop_unload)(enum backdrop_type bdrop); - void (*backdrop_show)(enum backdrop_type bdrop); - void (*backdrop_hide)(void); + bool (*backdrop_load)(const char *filename, char* backdrop_buffer); + void (*backdrop_show)(char* backdrop_buffer); #endif }; -- cgit v1.1