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.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index f8e025956e..709dbc6ff7 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -151,13 +151,12 @@ enum wps_parse_error {
151#define VP_DRAW_WASHIDDEN 0x4 151#define VP_DRAW_WASHIDDEN 0x4
152/* these are never drawn, nor cleared, i.e. just ignored */ 152/* these are never drawn, nor cleared, i.e. just ignored */
153#define VP_NEVER_VISIBLE 0x8 153#define VP_NEVER_VISIBLE 0x8
154#define VP_DEFAULT_LABEL '|' 154#define VP_DEFAULT_LABEL "|"
155#define VP_NO_LABEL '-'
156#define VP_INFO_LABEL 0x80
157struct skin_viewport { 155struct skin_viewport {
158 struct viewport vp; /* The LCD viewport struct */ 156 struct viewport vp; /* The LCD viewport struct */
159 char hidden_flags; 157 char hidden_flags;
160 char label; 158 bool is_infovp;
159 char* label;
161 unsigned start_fgcolour; 160 unsigned start_fgcolour;
162 unsigned start_bgcolour; 161 unsigned start_bgcolour;
163}; 162};
@@ -340,7 +339,7 @@ const char *get_radio_token(struct wps_token *token, int preset_offset,
340#endif 339#endif
341 340
342struct gui_img* find_image(char label, struct wps_data *data); 341struct gui_img* find_image(char label, struct wps_data *data);
343struct skin_viewport* find_viewport(char label, struct wps_data *data); 342struct skin_viewport* find_viewport(char *label, bool uivp, struct wps_data *data);
344 343
345 344
346#ifdef SIMULATOR 345#ifdef SIMULATOR