summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-08-14 11:40:20 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-08-14 11:40:20 +0000
commitff8d43ddad6e26f14218c212503c551f5a7d6b26 (patch)
treedb93afcaa8299032019e169de30afbb338d11b71 /apps/gui/skin_engine/wps_internals.h
parent863d239aa2d1585a13b5610d1a8619d5fb9e3554 (diff)
downloadrockbox-ff8d43ddad6e26f14218c212503c551f5a7d6b26.tar.gz
rockbox-ff8d43ddad6e26f14218c212503c551f5a7d6b26.zip
Change %xl/%xd to use proper labels instead of single letter labels. i.e %xl(playmode, playmode.bmp, 0, 0, 4) ... %xd(playmode, %mm). You can of course still use one letter labels if you really want. %xd(Aa) will only work with one letter labels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index d42977ff19..e1516bd8fd 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -77,7 +77,7 @@ struct gui_img {
77 short int num_subimages; /* number of sub-images */ 77 short int num_subimages; /* number of sub-images */
78 short int subimage_height; /* height of each sub-image */ 78 short int subimage_height; /* height of each sub-image */
79 struct bitmap bm; 79 struct bitmap bm;
80 char label; 80 const char *label;
81 bool loaded; /* load state */ 81 bool loaded; /* load state */
82 bool always_display; /* not using the preload/display mechanism */ 82 bool always_display; /* not using the preload/display mechanism */
83 int display; 83 int display;
@@ -85,7 +85,7 @@ struct gui_img {
85}; 85};
86 86
87struct image_display { 87struct image_display {
88 char label; 88 const char *label;
89 int subimage; 89 int subimage;
90 struct wps_token *token; /* the token to get the subimage number from */ 90 struct wps_token *token; /* the token to get the subimage number from */
91 int offset; /* offset into the bitmap strip to start */ 91 int offset; /* offset into the bitmap strip to start */
@@ -348,8 +348,8 @@ const char *get_radio_token(struct wps_token *token, int preset_offset,
348 char *buf, int buf_size, int limit, int *intval); 348 char *buf, int buf_size, int limit, int *intval);
349#endif 349#endif
350 350
351struct gui_img* find_image(char label, struct wps_data *data); 351struct gui_img* find_image(const char *label, struct wps_data *data);
352struct skin_viewport* find_viewport(char *label, bool uivp, struct wps_data *data); 352struct skin_viewport* find_viewport(const char *label, bool uivp, struct wps_data *data);
353 353
354 354
355#ifdef SIMULATOR 355#ifdef SIMULATOR