From 9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae Mon Sep 17 00:00:00 2001 From: Alex Parker Date: Sun, 20 Sep 2009 17:03:11 +0000 Subject: Port r22756 to the 3.4 branch - Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553 by David Kauffmann. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22757 a1c6a512-1295-4272-9138-f99709370657 --- manual/advanced_topics/viewports/mono-conditional.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 manual/advanced_topics/viewports/mono-conditional.tex (limited to 'manual/advanced_topics/viewports/mono-conditional.tex') 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 @@ +\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. -- cgit v1.2.3