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/bookmark.c | |
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/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 78bbb77c86..85570839be 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "yesno.h" | 40 | #include "yesno.h" |
41 | #include "list.h" | 41 | #include "list.h" |
42 | #include "plugin.h" | 42 | #include "plugin.h" |
43 | #include "backdrop.h" | ||
44 | #include "file.h" | 43 | #include "file.h" |
45 | #include "filefuncs.h" | 44 | #include "filefuncs.h" |
46 | 45 | ||
@@ -165,7 +164,6 @@ bool bookmark_autobookmark(void) | |||
165 | char* bookmark; | 164 | char* bookmark; |
166 | if (!system_check()) | 165 | if (!system_check()) |
167 | return false; | 166 | return false; |
168 | int i; | ||
169 | 167 | ||
170 | audio_pause(); /* first pause playback */ | 168 | audio_pause(); /* first pause playback */ |
171 | bookmark = create_bookmark(); | 169 | bookmark = create_bookmark(); |
@@ -193,12 +191,6 @@ bool bookmark_autobookmark(void) | |||
193 | str(LANG_CONFIRM_WITH_BUTTON)}; | 191 | str(LANG_CONFIRM_WITH_BUTTON)}; |
194 | const struct text_message message={lines, 2}; | 192 | const struct text_message message={lines, 2}; |
195 | #endif | 193 | #endif |
196 | FOR_NB_SCREENS(i) | ||
197 | { | ||
198 | #if LCD_DEPTH > 1 | ||
199 | screens[i].backdrop_show(BACKDROP_MAIN); | ||
200 | #endif | ||
201 | } | ||
202 | 194 | ||
203 | if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) | 195 | if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) |
204 | { | 196 | { |