diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-30 12:27:52 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-04 11:19:57 -0500 |
commit | 1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387 (patch) | |
tree | 5be985909f1c985f6f433d8934c92ad91f6aa0d4 /apps/gui/skin_engine/wps_internals.h | |
parent | 4ff97ae07c9b7beed4c8c9bf965e2ba679d05a20 (diff) | |
download | rockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.tar.gz rockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.zip |
skin engine: Settings ID to pointer conversions
Convert %St tag to operate on settings pointers instead of IDs.
Change-Id: Iabf4c280be82b495a64b560b59620fb477e0c738
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 6a5d3c27f9..6b9719282e 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -73,6 +73,7 @@ struct wps_token { | |||
73 | unsigned short i; | 73 | unsigned short i; |
74 | long l; | 74 | long l; |
75 | OFFSETTYPE(void*) data; | 75 | OFFSETTYPE(void*) data; |
76 | void *xdata; | ||
76 | } value; | 77 | } value; |
77 | 78 | ||
78 | enum skin_token_type type; /* enough to store the token type */ | 79 | enum skin_token_type type; /* enough to store the token type */ |
@@ -131,7 +132,7 @@ struct progressbar { | |||
131 | OFFSETTYPE(struct gui_img *) slider; | 132 | OFFSETTYPE(struct gui_img *) slider; |
132 | bool horizontal; | 133 | bool horizontal; |
133 | OFFSETTYPE(struct gui_img *) backdrop; | 134 | OFFSETTYPE(struct gui_img *) backdrop; |
134 | int setting_id; /* for the setting bar type */ | 135 | const struct settings_list *setting; |
135 | 136 | ||
136 | }; | 137 | }; |
137 | 138 | ||