Alex Parker | ab563da | 2009-09-20 16:48:45 +0000 | [diff] [blame] | 1 | \begin{example} |
Alex Parker | 64d4ddf | 2010-06-20 12:58:41 +0000 | [diff] [blame] | 2 | %?mh<%Vd(a)|%Vd(b)> |
| 3 | %Vl(a,10,10,50,50,-) |
Alex Parker | ab563da | 2009-09-20 16:48:45 +0000 | [diff] [blame] | 4 | %sYou could now show a hold icon using the %%xl and %%xd tags. |
Alex Parker | 64d4ddf | 2010-06-20 12:58:41 +0000 | [diff] [blame] | 5 | %Vl(a,0,70,70,14,1) |
Alex Parker | ab563da | 2009-09-20 16:48:45 +0000 | [diff] [blame] | 6 | %s%acYour DAP is locked. |
Alex Parker | 64d4ddf | 2010-06-20 12:58:41 +0000 | [diff] [blame] | 7 | %Vl(b,20,14,50,14,1) |
| 8 | %t(1)%acWarning:;%t(.1) |
| 9 | %Vl(b,20,30,50,50,0) |
Alex Parker | ab563da | 2009-09-20 16:48:45 +0000 | [diff] [blame] | 10 | %sYou've unlocked your player. |
| 11 | \end{example} |
Alexander Levin | e5d6d7a | 2010-05-12 22:17:07 +0000 | [diff] [blame] | 12 | This example checks for hold. Viewport `a' will be displayed if it is on, |
| 13 | otherwise viewport `b' will display a flashing warning. |