summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
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