This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

test.wps

By: a guest on Jan 18th, 2012  |  syntax: None  |  size: 0.61 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data