diff options
author | Alex Parker <rockbox@aeparker.com> | 2009-09-20 17:03:11 +0000 |
---|---|---|
committer | Alex Parker <rockbox@aeparker.com> | 2009-09-20 17:03:11 +0000 |
commit | 9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae (patch) | |
tree | 991a2f41d191249327e8da228271da8078e38675 /manual/advanced_topics/viewports/mono-conditional.tex | |
parent | 7e229f9c50e14ee059be9a746d67ceba1c2db96e (diff) | |
download | rockbox-9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae.tar.gz rockbox-9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae.zip |
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.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22757 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics/viewports/mono-conditional.tex')
-rw-r--r-- | manual/advanced_topics/viewports/mono-conditional.tex | 13 |
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} | ||
12 | This example checks for hold. Viewport 'a' will be displayed if it is on, | ||
13 | otherwise viewport 'b' will display a flashing warning. | ||