Advertisement
srbs

RE guibackground oddities

Oct 6th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // press b (or rebounded key) to cycle through 0-3 for the "levels" arg for guibackground
  2. // see how odd it is
  3.  
  4. var = 0
  5. bind B [var = (mod (+ $var 1) 4)]
  6.  
  7. newgui test [
  8. guitext l1
  9. guistrut 45 1
  10. guibackground 0x333333 $var
  11. guilist [
  12. guitext l2
  13. guistrut 10
  14. guibackground 0x999999 $var
  15. guilist [
  16. guitext l3
  17. guistrut 5
  18. guitext hi
  19. guibackground 0xFFFFFF $var
  20. guistrut 5
  21. ]
  22. guistrut 10
  23. ]
  24. guistrut 5
  25. ]
  26.  
  27. showgui test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement