Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553...
[kugel-rb.git] / manual / advanced_topics / viewports / colour-conditional.tex
blobbcef7152635d0965dbabe2ae5cb5a028558d8512
1 \begin{example}
2 %?C<%Vda|%Vdb>
3 %Vl|a|10|10|50|50|-|-|-|
4 %Cl|0|0|50|50|
5 %C
6 %Vl|a|0|70|70|14|1|-|-|
7 %s%acThere you have it: Album art.
8 %Vl|b|20|14|50|14|1|ff0000|ffffff|
9 %t1%acWarning:;%t.1
10 %Vl|b|20|30|50|50|1|000000|ffffff|
11 %sNo album art found
12 %scheck your filenames.
13 \end{example}
14 This example checks for album art. Album art will be displayed in viewport 'a', if
15 it is found. Otherwise a red flashing warning will be displayed in viewport 'b'.