summaryrefslogtreecommitdiffstats
path: root/manual/advanced_topics/viewports/mono-conditional.tex
blob: fef1488ba7ea6cdd015fcc8172ce7d408cabd703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
\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.