home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 January
/
PCWorld_2004-01_cd.bin
/
Software
/
topware
/
winamp5
/
winamp50beta2.exe
/
$_14327_
/
menubutton.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-01-30
|
1KB
|
31 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
System.onScriptLoaded()
{
Group2 = System.getScriptGroup();
return Null;
}
Group2.onSetVisible(Boolean onoff)
{
GuiObject GuiObject5;
GuiObject5 = Group2.findObject(( "wasabi\.menubutton\.text"));
if(( GuiObject5 != Null)) {
if(onoff) {
GuiObject5.setXmlParam(( "offsetx"), ( "1"));
GuiObject5.setXmlParam(( "offsety"), ( "1"));
} else {
GuiObject5.setXmlParam(( "offsetx"), ( "0"));
GuiObject5.setXmlParam(( "offsety"), ( "0"));
}
}
return Null;
}