summaryrefslogtreecommitdiff
path: root/manual/advanced_topics/viewports/mono-conditional.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual/advanced_topics/viewports/mono-conditional.tex')
-rw-r--r--manual/advanced_topics/viewports/mono-conditional.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/manual/advanced_topics/viewports/mono-conditional.tex b/manual/advanced_topics/viewports/mono-conditional.tex
new file mode 100644
index 0000000000..fef1488ba7
--- /dev/null
+++ b/manual/advanced_topics/viewports/mono-conditional.tex
@@ -0,0 +1,13 @@
1\begin{example}
2 %?mh<%Vda|%Vdb>
3 %Vl|a|10|10|50|50|-|
4 %sYou could now show a hold icon using the %%xl and %%xd tags.
5 %Vl|a|0|70|70|14|1|
6 %s%acYour DAP is locked.
7 %Vl|b|20|14|50|14|1|
8 %t1%acWarning:;%t.1
9 %Vl|b|20|30|50|50|0|
10 %sYou've unlocked your player.
11\end{example}
12This example checks for hold. Viewport 'a' will be displayed if it is on,
13otherwise viewport 'b' will display a flashing warning.