summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r--apps/gui/skin_engine/skin_tokens.h11
-rw-r--r--apps/gui/skin_engine/wps_internals.h2
2 files changed, 6 insertions, 7 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.h b/apps/gui/skin_engine/skin_tokens.h
index 9df2137ece..bfca7b7f8d 100644
--- a/apps/gui/skin_engine/skin_tokens.h
+++ b/apps/gui/skin_engine/skin_tokens.h
@@ -26,18 +26,17 @@
26#include "tag_table.h" 26#include "tag_table.h"
27 27
28struct wps_token { 28struct wps_token {
29 enum skin_token_type type; /* enough to store the token type */
30
31 /* Whether the tag (e.g. track name or the album) refers the
32 current or the next song (false=current, true=next) */
33 bool next;
34
35 union { 29 union {
36 char c; 30 char c;
37 unsigned short i; 31 unsigned short i;
38 long l; 32 long l;
39 void* data; 33 void* data;
40 } value; 34 } value;
35
36 enum skin_token_type type; /* enough to store the token type */
37 /* Whether the tag (e.g. track name or the album) refers the
38 current or the next song (false=current, true=next) */
39 bool next;
41}; 40};
42 41
43struct skin_token_list { 42struct skin_token_list {
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index c16191c41d..ed09ad0938 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -135,7 +135,7 @@ struct align_pos {
135#define WPS_MAX_VIEWPORTS 24 135#define WPS_MAX_VIEWPORTS 24
136#define WPS_MAX_LINES ((LCD_HEIGHT/5+1) * 2) 136#define WPS_MAX_LINES ((LCD_HEIGHT/5+1) * 2)
137#define WPS_MAX_SUBLINES (WPS_MAX_LINES*3) 137#define WPS_MAX_SUBLINES (WPS_MAX_LINES*3)
138#define WPS_MAX_TOKENS 1024 138#define WPS_MAX_TOKENS 1150
139#define WPS_MAX_STRINGS 128 139#define WPS_MAX_STRINGS 128
140#define STRING_BUFFER_SIZE 1024 140#define STRING_BUFFER_SIZE 1024
141#define WPS_MAX_COND_LEVEL 10 141#define WPS_MAX_COND_LEVEL 10