mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
skin engine: Add tags to display Quickscreen Items
A set of new tags for themes that allow them to display a quickscreen item's name or value like what is displayed on the default quickscreen. There are 8 tags in total, 2 for each direction or "item". One type of tag displays the setting name, while the other displays the setting's value. All tags output an "ERR" string if no valid setting is found for that item. Quickscreen Item name tags: %QT, %QR, %QB and %QL. Quickscreen Item value tags: %Qt, %Qr, %Qb and %Ql. Change-Id: Ia08ba5940e38065e051a0aefa2cff142c9e58684
This commit is contained in:
parent
3891bcf3b9
commit
96f42a5646
4 changed files with 74 additions and 0 deletions
|
|
@ -354,6 +354,24 @@ Examples:
|
|||
\item As a conditional: \config{\%?St(eq enabled)<Eq is enabled|Eq is disabled>}
|
||||
\end{enumerate}
|
||||
|
||||
\opt{quickscreen}{
|
||||
\subsection{Displaying Quickscreen settings}
|
||||
|
||||
If your player has a quickscreen, the preset settings can be displayed using the following.
|
||||
|
||||
\begin{tagmap}
|
||||
\config{\%QT} & Display the name of the top quickscreen setting.\\
|
||||
\config{\%Qt} & Display the value of the top quickscreen setting.\\
|
||||
\config{\%QR} & Display the name of the right quickscreen setting.\\
|
||||
\config{\%Qr} & Display the value of the right quickscreen setting.\\
|
||||
\config{\%QB} & Display the name of the bottom quickscreen setting.\\
|
||||
\config{\%Qb} & Display the value of the bottom quickscreen setting.\\
|
||||
\config{\%QL} & Display the name of the left quickscreen setting.\\
|
||||
\config{\%Ql} & Display the value of the left quickscreen setting.\\
|
||||
\end{tagmap}
|
||||
|
||||
\note{If a preset does not match a legal setting, or has no setting applied, all tags will display "ERR".}
|
||||
}
|
||||
|
||||
\section{\label{ref:wps_images}Images}
|
||||
\begin{tagmap}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue