SHOW:
|
|
- or go back to the newest paste.
1 | # Load A Nice Font | |
2 | %Fl(2,test.fnt) | |
3 | # | |
4 | # Define Variables | |
5 | %vg(foo)<%Vd(bar)|%Vd(baz)> | |
6 | # | |
7 | # Touch Area Viewport and Variable Handling | |
8 | %ax%V(0,100,240,20,2) | |
9 | %T(short,0,0,240,20,none) | |
10 | %T(long,0,0,240,20,repmode,long_press) | |
11 | %?Tl(short,2.0)<%vs(foo,set,1)> | |
12 | %?Tl(long,2.0)<%vs(foo,set,2)> | |
13 | %s%acPress & Hold Here | |
14 | # | |
15 | # Show Only On Short Press | |
16 | %ax%Vl(bar,0,140,240,40,2) | |
17 | %s%acThis Should Only Show On Short Press | |
18 | # | |
19 | # Show Only On Long Press | |
20 | %ax%Vl(baz,0,180,240,40,2) | |
21 | %s%ac%mm<Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed> | |
22 | %s%acThis Text Should Show On Long Press |