summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-10-12 12:46:57 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-10-12 12:46:57 +0000
commit9acd242839b83aa64c6633461bbc523f50b070f4 (patch)
tree045cdbc51c719f42c3ddd1a6b33c699dcd4dfde5 /apps/gui/skin_engine/wps_internals.h
parent3eb5826c8a289d2ff2af246388e17d4aa6483da4 (diff)
downloadrockbox-9acd242839b83aa64c6633461bbc523f50b070f4.tar.gz
rockbox-9acd242839b83aa64c6633461bbc523f50b070f4.zip
skin bar tag: Load an image from a label or filename. i.e %xl(bar_image, pb.bmp,0,0) %pb(0,0,10,10,bar_image) or %pb(0,0,10,10, pb.bmp) both are acceptable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28249 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 16020a3590..24edde7b93 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -103,9 +103,8 @@ struct progressbar {
103 short width; 103 short width;
104 short height; 104 short height;
105 bool follow_lang_direction; 105 bool follow_lang_direction;
106 /*progressbar image*/ 106
107 struct bitmap bm; 107 struct gui_img *image;
108 bool have_bitmap_pb;
109 108
110 bool invert_fill_direction; 109 bool invert_fill_direction;
111 bool nofill; 110 bool nofill;
@@ -263,7 +262,6 @@ struct wps_data
263 struct skin_element *tree; 262 struct skin_element *tree;
264#ifdef HAVE_LCD_BITMAP 263#ifdef HAVE_LCD_BITMAP
265 struct skin_token_list *images; 264 struct skin_token_list *images;
266 struct skin_token_list *progressbars;
267#endif 265#endif
268#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 266#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
269 struct { 267 struct {