diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2023-12-08 20:30:59 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-21 18:27:11 -0400 |
commit | 7b1dd6b60a1b39468be02bb7a1e71f4be354ce0f (patch) | |
tree | 877e3de05638c85d6876b64d536232951e47db88 /apps/gui/skin_engine/wps_internals.h | |
parent | e8a51569ada3bfd85fc0c93911bd5061ce3b6017 (diff) | |
download | rockbox-7b1dd6b60a1b39468be02bb7a1e71f4be354ce0f.tar.gz rockbox-7b1dd6b60a1b39468be02bb7a1e71f4be354ce0f.zip |
RFC: Extend skin engine to handle EQ settings
EQ settings are actually an array of 3 ints. I added a skin parameter
token that allows specifying which array element to use.
So instead of this now-incorrect syntax:
%St(0,0,-,-,image,eqbar.bmp,vertical,setting,eq band 1 gain)
You would use:
%St(0,0,-,-,image,eqbar.bmp,vertical,soffset,2,setting,eq peak filter 1)
(the 'gain' is the third element in the eq setting array, thus soffset 2)
Change-Id: Ibda712ab87759efb45420566c967742bcefb513b
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 8ad8325e66..6e20ed8da9 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -132,9 +132,9 @@ struct progressbar { | |||
132 | bool nobar; | 132 | bool nobar; |
133 | OFFSETTYPE(struct gui_img *) slider; | 133 | OFFSETTYPE(struct gui_img *) slider; |
134 | bool horizontal; | 134 | bool horizontal; |
135 | char setting_offset; | ||
135 | OFFSETTYPE(struct gui_img *) backdrop; | 136 | OFFSETTYPE(struct gui_img *) backdrop; |
136 | const struct settings_list *setting; | 137 | const struct settings_list *setting; |
137 | |||
138 | }; | 138 | }; |
139 | 139 | ||
140 | struct draw_rectangle { | 140 | struct draw_rectangle { |