diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 15:06:30 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 15:06:30 +0000 |
| commit | 3b75c86d74937a6bffcb371bb08bdfb182db9d2b (patch) | |
| tree | 3be12a89b7a5377a31a46b48e672e08af36ac949 /apps/filetree.c | |
| parent | 0dc5cc8002e3d30fc7ae7ddf7f33a56c8b136e7e (diff) | |
| download | rockbox-3b75c86d74937a6bffcb371bb08bdfb182db9d2b.zip rockbox-3b75c86d74937a6bffcb371bb08bdfb182db9d2b.tar.gz rockbox-3b75c86d74937a6bffcb371bb08bdfb182db9d2b.tar.bz2 rockbox-3b75c86d74937a6bffcb371bb08bdfb182db9d2b.tar.xz | |
A bit mroe wps/skin engine cleanup so that the structs the wps uses can be static:
-add wrappers wps_data_load() and wps_data_init() so that other code doesn't need the structs for that
-change (and rename) gui_sync_wps_uses_albumart() to take points to be filled as parameter to get the AA size of a wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22139 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
| -rw-r--r-- | apps/filetree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 8e97a0d..e6be09a 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -51,7 +51,7 @@ #if CONFIG_TUNER #include "radio.h" #endif -#include "skin_engine/skin_engine.h" +#include "wps.h" #include "backdrop.h" static int compare_sort_dir; /* qsort key for sorting directories */ @@ -484,7 +484,7 @@ int ft_enter(struct tree_context* c) #if LCD_DEPTH > 1 unload_wps_backdrop(); #endif - skin_data_load(gui_wps[0].data, &screens[0], buf, true); + wps_data_load(SCREEN_MAIN, buf, true); set_file(buf, (char *)global_settings.wps_file, MAX_FILENAME); break; @@ -496,7 +496,7 @@ int ft_enter(struct tree_context* c) #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 unload_remote_wps_backdrop(); #endif - skin_data_load(gui_wps[1].data, &screens[1], buf, true); + wps_data_load(SCREEN_REMOTE, buf, true); set_file(buf, (char *)global_settings.rwps_file, MAX_FILENAME); break; |