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
This commit is contained in:
Thomas Martitz 2009-08-03 15:06:30 +00:00
parent 0dc5cc8002
commit 3b75c86d74
11 changed files with 82 additions and 57 deletions

View file

@ -470,9 +470,6 @@ struct wps_data
unsigned int button_time_volume;
};
/* initial setup of wps_data */
void wps_data_init(struct wps_data *wps_data);
/* Redraw statusbars if necessary */
void gwps_draw_statusbars(void);
@ -536,10 +533,6 @@ struct gui_wps
/* gui_wps end */
/* currently only on wps_state is needed */
extern struct wps_state wps_state;
extern struct gui_wps gui_wps[NB_SCREENS];
/***** wps_tokens.c ******/
const char *get_token_value(struct gui_wps *gwps,