rockbox/manual/advanced_topics/viewports/mono-conditional.tex
Alex Parker ab563da175 Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553 by David Kauffmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22756 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 16:48:45 +00:00

13 lines
435 B
TeX

\begin{example}
%?mh<%Vda|%Vdb>
%Vl|a|10|10|50|50|-|
%sYou could now show a hold icon using the %%xl and %%xd tags.
%Vl|a|0|70|70|14|1|
%s%acYour DAP is locked.
%Vl|b|20|14|50|14|1|
%t1%acWarning:;%t.1
%Vl|b|20|30|50|50|0|
%sYou've unlocked your player.
\end{example}
This example checks for hold. Viewport 'a' will be displayed if it is on,
otherwise viewport 'b' will display a flashing warning.