diff options
| author | Alex Parker <rockbox@aeparker.com> | 2010-05-13 08:13:37 +0000 |
|---|---|---|
| committer | Alex Parker <rockbox@aeparker.com> | 2010-05-13 08:13:37 +0000 |
| commit | 6d549df28d25f4037ff3955e5d8981b4530dcf4b (patch) | |
| tree | 2379bfe7314c177f61e60ccc5fcf56b9c58e7288 | |
| parent | 40782d5c5ed7752295449185fcf055be419398eb (diff) | |
| download | rockbox-6d549df28d25f4037ff3955e5d8981b4530dcf4b.zip rockbox-6d549df28d25f4037ff3955e5d8981b4530dcf4b.tar.gz rockbox-6d549df28d25f4037ff3955e5d8981b4530dcf4b.tar.bz2 rockbox-6d549df28d25f4037ff3955e5d8981b4530dcf4b.tar.xz | |
FS#11243 - The %VI (capital i) WPS tag is not described in the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25987 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | manual/advanced_topics/main.tex | 18 | ||||
| -rw-r--r-- | manual/appendix/wps_tags.tex | 7 |
2 files changed, 25 insertions, 0 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index a8c5b8e..7241de2 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex @@ -283,6 +283,24 @@ with one \%Vd line. \note{The tag to display conditional viewports must come before the tag to preload the viewport in the \fname{.wps} file.} + +\subsection{Info Viewport (SBS only)} +As mentioned above, it is possible to set a UI viewport via the theme +\fname{.cfg} file. It is also possible to set the UI viewport through the SBS +file, and to conditionally select different UI viewports. + + \begin{itemize} + \item {\config{\%Vi{\textbar}'label'{\textbar}\dots{\textbar}}} + This viewport is used as Custom UI Viewport in the case that the theme + doesn't have a ui viewport set in the theme \fname{.cfg} file. Having this + is strongly recommended since it makes you able to use the SBS + with other themes. If label is set this viewport can be selectivly used as the + Info Viewport using the \%VI tag. The '\dots' parameters use the same logic as + the \config{\%V} tag explained above. + + \item {\config{\%VI'label'}} Set the Info Viewport to use the viewport called + label, as declared with the previous tag. + \end{itemize} } \subsubsection{Conditional Tags} diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 89c6a0c..3e2e50c 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -54,6 +54,13 @@ show the information for the next song to be played. \config{\%Vd'identifier'} & Display the `identifier' viewport. E.g. \config{\%?C{\textless}\%Vda{\textbar}\%Vdb{\textgreater}} will show viewport `a' if album art is found, and `b' if it isn't.\\ + + \config{\%Vi{\textbar}'label'{\textbar}\dots{\textbar}} & + Declare a Custom UI Viewport. The '\dots' parameters use the same logic as + the \config{\%V} tag explained above. See section \ref{ref:Viewports}.\\ + + \config{\%VI'label'} & Set the Info Viewport to use the viewport called + label, as declared with the previous tag.\\ \end{tagmap} } |