forked from len0rd/rockbox
Remove the wrapper around the wrapper (wps_data_load) and handle loading hardcoded wps in case of a broken file directly in wps.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22146 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
04be8dd7fe
commit
218b31272e
3 changed files with 55 additions and 61 deletions
|
@ -37,11 +37,11 @@ bool gui_wps_display(struct gui_wps *gwps);
|
|||
/* Do a update_type update of the skinned screen */
|
||||
bool skin_update(struct gui_wps *gwps, unsigned int update_type);
|
||||
|
||||
/* to setup up the wps-data from a format-buffer (isfile = false)
|
||||
from a (wps-)file (isfile = true)
|
||||
if buf == NULL it will load the hardcoded default
|
||||
/*
|
||||
* setup up the skin-data from a format-buffer (isfile = false)
|
||||
* or from a skinfile (isfile = true)
|
||||
*/
|
||||
void skin_data_load(struct wps_data *wps_data,
|
||||
bool skin_data_load(struct wps_data *wps_data,
|
||||
struct screen *display,
|
||||
const char *buf,
|
||||
bool isfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue