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.h43
1 files changed, 19 insertions, 24 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 177a376008..7a4fdddc7c 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -244,43 +244,38 @@ struct skin_albumart {
244struct wps_data 244struct wps_data
245{ 245{
246#ifdef HAVE_LCD_BITMAP 246#ifdef HAVE_LCD_BITMAP
247 bool wps_sb_tag;
248 bool show_sb_on_wps;
249
250 struct skin_token_list *images; 247 struct skin_token_list *images;
251 struct skin_token_list *progressbars; 248 struct skin_token_list *progressbars;
252
253 bool peak_meter_enabled;
254#ifdef HAVE_ALBUMART
255 struct skin_albumart *albumart;
256#endif
257
258#else /*HAVE_LCD_CHARCELLS */
259 unsigned short wps_progress_pat[8];
260 bool full_line_progressbar;
261#endif 249#endif
262 250
263#ifdef HAVE_TOUCHSCREEN 251#ifdef HAVE_TOUCHSCREEN
264 struct skin_token_list *touchregions; 252 struct skin_token_list *touchregions;
265#endif 253#endif
266
267#ifdef HAVE_REMOTE_LCD
268 bool remote_wps;
269#endif
270
271 struct skin_token_list *viewports; 254 struct skin_token_list *viewports;
272 255 struct skin_token_list *strings;
256#ifdef HAVE_ALBUMART
257 struct skin_albumart *albumart;
258#endif
259 struct wps_token *tokens;
273 /* Total number of tokens in the WPS. During WPS parsing, this is 260 /* Total number of tokens in the WPS. During WPS parsing, this is
274 the index of the token being parsed. */ 261 the index of the token being parsed. */
275 int num_tokens; 262 int num_tokens;
276 struct wps_token *tokens;
277
278 struct skin_token_list *strings;
279
280 bool wps_loaded;
281
282 /* tick the volume button was last pressed */ 263 /* tick the volume button was last pressed */
283 unsigned int button_time_volume; 264 unsigned int button_time_volume;
265
266#ifdef HAVE_LCD_BITMAP
267 bool peak_meter_enabled;
268 bool wps_sb_tag;
269 bool show_sb_on_wps;
270#else /*HAVE_LCD_CHARCELLS */
271 unsigned short wps_progress_pat[8];
272 bool full_line_progressbar;
273#endif
274 bool wps_loaded;
275#ifdef HAVE_REMOTE_LCD
276 /* this must not be reset on skin loading */
277 bool remote_wps;
278#endif
284}; 279};
285 280
286/* wps_data end */ 281/* wps_data end */