diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-29 07:52:13 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-29 07:52:13 +0000 |
commit | eee5423fe10f247f74d69404924edf3a0d54e8cd (patch) | |
tree | df46391368a2ad7930a926c59f53796229a933ab /apps/screen_access.h | |
parent | e3e436e2b5519637981b2667f79c42b2e4ed110b (diff) | |
download | rockbox-eee5423fe10f247f74d69404924edf3a0d54e8cd.tar.gz rockbox-eee5423fe10f247f74d69404924edf3a0d54e8cd.zip |
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
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r-- | apps/screen_access.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index 31d4b0cf1b..2dc95460d5 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h | |||
@@ -148,10 +148,8 @@ struct screen | |||
148 | bool (*is_backlight_on)(bool ignore_always_off); | 148 | bool (*is_backlight_on)(bool ignore_always_off); |
149 | void (*backlight_set_timeout)(int index); | 149 | void (*backlight_set_timeout)(int index); |
150 | #if LCD_DEPTH > 1 | 150 | #if LCD_DEPTH > 1 |
151 | bool (*backdrop_load)(enum backdrop_type bdrop, const char* filename); | 151 | bool (*backdrop_load)(const char *filename, char* backdrop_buffer); |
152 | void (*backdrop_unload)(enum backdrop_type bdrop); | 152 | void (*backdrop_show)(char* backdrop_buffer); |
153 | void (*backdrop_show)(enum backdrop_type bdrop); | ||
154 | void (*backdrop_hide)(void); | ||
155 | #endif | 153 | #endif |
156 | }; | 154 | }; |
157 | 155 | ||