touchscreen: Allow bar tag touchregions to be labeled

This is necessary if you want to detect touches on the bar region
using %Tl conditionals. Suppressing the auto-created region and then
creating one manually using %T doesn't give exactly the same results
because user-defined touch regions can't yet specify padding.

Change-Id: I2f4bde8eb56ba89645c72f3cc9d4b2355b934abd
This commit is contained in:
Aidan MacDonald 2021-08-21 20:13:19 +01:00
parent b781beecf5
commit 1816667937
2 changed files with 14 additions and 1 deletions

View file

@ -758,6 +758,7 @@ display cycling round the defined sublines. See
``slider'' option).
\opt{touchscreen}{
\item[notouch] -- don't create the touchregion for progress/volume bars.
\item[touchlabel] -- the next option sets the label of the bar touch area, for linking with the \%Tl tag.
}
\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.
\item[setting] -- Specify the setting name to draw the bar from (bar must be