summaryrefslogtreecommitdiff
path: root/manual/appendix/wps_tags.tex
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2023-12-08 20:30:59 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-04-21 18:27:11 -0400
commit7b1dd6b60a1b39468be02bb7a1e71f4be354ce0f (patch)
tree877e3de05638c85d6876b64d536232951e47db88 /manual/appendix/wps_tags.tex
parente8a51569ada3bfd85fc0c93911bd5061ce3b6017 (diff)
downloadrockbox-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 'manual/appendix/wps_tags.tex')
-rw-r--r--manual/appendix/wps_tags.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex
index 70fef71015..94b61e9534 100644
--- a/manual/appendix/wps_tags.tex
+++ b/manual/appendix/wps_tags.tex
@@ -85,7 +85,7 @@ show the information for the next song to be played.
85 85
86 \config{\%Vi('label',\dots)} & 86 \config{\%Vi('label',\dots)} &
87 Declare a Custom UI Viewport. The `\dots' parameters use the same logic as 87 Declare a Custom UI Viewport. The `\dots' parameters use the same logic as
88 the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\ 88 the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\
89 89
90 \config{\%VI('label')} & Set the Info Viewport to use the viewport called 90 \config{\%VI('label')} & Set the Info Viewport to use the viewport called
91 label, as declared with the previous tag.\\ 91 label, as declared with the previous tag.\\
@@ -708,6 +708,7 @@ display cycling round the defined sublines. See
708 \opt{touchscreen}{ 708 \opt{touchscreen}{
709 \item[notouch] -- don't create the touchregion for progress/volume bars. 709 \item[notouch] -- don't create the touchregion for progress/volume bars.
710 } 710 }
711 \item[soffset] -- For compound settings (such as the equalizer), this lets you pick which element in the set to use. The next param must be the number. Must be specified prior to the setting name.
711 \item[setting] -- Specify the setting name to draw the bar from (bar must be 712 \item[setting] -- Specify the setting name to draw the bar from (bar must be
712 \%St type), the next param is the settings config name. 713 \%St type), the next param is the settings config name.
713\end{description} 714\end{description}