diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 22:39:27 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-03 22:39:27 +0000 |
commit | 218b31272e5afcb8f98a62974b46f4febbfde39c (patch) | |
tree | 3f2f6c9b3bb0bd2298d99e13f80c4125094077c4 /apps/gui/skin_engine/skin_engine.h | |
parent | 04be8dd7fe5378e39efbf5edd9ad447d17aabc06 (diff) |
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
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r-- | apps/gui/skin_engine/skin_engine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h index 498444e8ea..1f5236fc15 100644 --- a/apps/gui/skin_engine/skin_engine.h +++ b/apps/gui/skin_engine/skin_engine.h @@ -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); |