summaryrefslogtreecommitdiffstats
path: root/manual/advanced_topics/viewports/mono-conditional.tex
blob: af6e6f6d2d4702ff51f1bc3c6384f9c21f23d3e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
\begin{example}
    %?mh<%Vd(a)|%Vd(b)>
    %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)
    %t(1)%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.