Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Load A Nice Font
- %Fl(2,test.fnt)
- #
- # Define Variables
- %vg(foo)<%Vd(bar)|%Vd(baz)>
- #
- # Touch Area Viewport and Variable Handling
- %ax%V(0,100,240,20,2)
- %T(short,0,0,240,20,none)
- %T(long,0,0,240,20,repmode,long_press)
- %?Tl(short,2.0)<%vs(foo,set,1)>
- %?Tl(long,2.0)<%vs(foo,set,2)>
- %s%acPress & Hold Here
- #
- # Show Only On Short Press
- %ax%Vl(bar,0,140,240,40,2)
- %s%acThis Should Only Show On Short Press
- #
- # Show Only On Long Press
- %ax%Vl(baz,0,180,240,40,2)
- %s%ac%mm<Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed|Repeat Mode Changed>
- %s%acThis Text Should Show On Long Press
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement