home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Programy / winamp501_full.exe / $_14327_ / menubutton.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2003-01-31  |  1KB  |  31 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Group Group2;
  6.  
  7.  
  8. System.onScriptLoaded()
  9. {
  10. Group2 = System.getScriptGroup();
  11. return Null;
  12. }
  13.  
  14. Group2.onSetVisible(Boolean onoff)
  15. {
  16. GuiObject GuiObject5;
  17. GuiObject5 = Group2.findObject(( "wasabi\.menubutton\.text"));
  18. if(( GuiObject5 != Null)) {
  19. if(onoff) {
  20. GuiObject5.setXmlParam(( "offsetx"), ( "1"));
  21. GuiObject5.setXmlParam(( "offsety"), ( "1"));
  22. } else {
  23. GuiObject5.setXmlParam(( "offsetx"), ( "0"));
  24. GuiObject5.setXmlParam(( "offsety"), ( "0"));
  25. }
  26. }
  27. return Null;
  28. }
  29.  
  30.  
  31.