diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-06 00:14:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-06 00:14:40 +0000 |
commit | 4764ee04c9c6432ad3cada25a8e87be056815815 (patch) | |
tree | 490154e71180349bb1991bd04445ddc0287a5db3 /apps/filetree.c | |
parent | 4632fc0682cfc3e2490435d616c7fa0b48088125 (diff) | |
download | rockbox-4764ee04c9c6432ad3cada25a8e87be056815815.tar.gz rockbox-4764ee04c9c6432ad3cada25a8e87be056815815.zip |
Add backdrop functions to the multiscreen api and add a enum backdrop_type parameter for different backdrops (main, wps), symplifying calls and removing dozens of #ifdefs (stubs added for non-backdrop displays that can't do backdrops).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22176 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index e6be09ad6c..6a7da4067e 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -482,7 +482,7 @@ int ft_enter(struct tree_context* c) | |||
482 | case FILE_ATTR_WPS: | 482 | case FILE_ATTR_WPS: |
483 | splash(0, ID2P(LANG_WAIT)); | 483 | splash(0, ID2P(LANG_WAIT)); |
484 | #if LCD_DEPTH > 1 | 484 | #if LCD_DEPTH > 1 |
485 | unload_wps_backdrop(); | 485 | backdrop_unload(BACKDROP_SKIN_WPS); |
486 | #endif | 486 | #endif |
487 | wps_data_load(SCREEN_MAIN, buf, true); | 487 | wps_data_load(SCREEN_MAIN, buf, true); |
488 | set_file(buf, (char *)global_settings.wps_file, | 488 | set_file(buf, (char *)global_settings.wps_file, |
@@ -494,7 +494,7 @@ int ft_enter(struct tree_context* c) | |||
494 | case FILE_ATTR_RWPS: | 494 | case FILE_ATTR_RWPS: |
495 | splash(0, ID2P(LANG_WAIT)); | 495 | splash(0, ID2P(LANG_WAIT)); |
496 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 | 496 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 |
497 | unload_remote_wps_backdrop(); | 497 | remote_backdrop_unload(BACKDROP_SKIN_WPS); |
498 | #endif | 498 | #endif |
499 | wps_data_load(SCREEN_REMOTE, buf, true); | 499 | wps_data_load(SCREEN_REMOTE, buf, true); |
500 | set_file(buf, (char *)global_settings.rwps_file, | 500 | set_file(buf, (char *)global_settings.rwps_file, |