home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 July & August
/
Gamestar_64_2004-07-08_dvd.iso
/
Programy
/
winamp501_full.exe
/
$_14327_
/
configtarget.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-11-16
|
3KB
|
112 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global GuiObject GuiObject2;
Global ComponentBucket ComponentBucket3;
Function func501(GuiObject 0);
Function func703(GuiObject 0);
Function func764(GuiObject 0);
System.onScriptLoaded()
{
GuiObject GuiObject6;
GuiObject2 = System.getScriptGroup().findObject(( "skin\.config\.target"));
ComponentBucket3 = System.getScriptGroup().findObject(( "my\.bucket"));
GuiObject6 = Null;
func501(GuiObject6);
return Null;
}
System.onScriptUnloading()
{
if(ComponentBucket3) {
System.setPrivateInt(( "configmenu"), ( "last_scroll"), ComponentBucket3.getScroll());
}
return Null;
}
ComponentBucket3.onStartup()
{
Group Group11;
ToggleButton ToggleButton13;
ComponentBucket3.setScroll(System.getPrivateInt(( "configmenu"), ( "last_scroll"), 0));
Group11 = ComponentBucket3.enumChildren(System.getPrivateInt(( "configmenu"), ( "last_page"), 0));
if(( ! Group11)) {
Group11 = ComponentBucket3.enumChildren(0);
}
if(( ! Group11)) {
return Null;
}
ToggleButton13 = Group11.getObject(( "btn"));
if(ToggleButton13) {
ToggleButton13.leftClick();
}
return Null;
}
Int GuiObject2.onAction(String action, String param, Int x, int y, int p1, int p2, GuiObject source)
{
String String24;
String String26;
if(( System.getToken(action, ( "\;"), 0) == ( "switchto"))) {
String24 = System.getToken(action, ( "\;"), 1);
String26 = System.getToken(action, ( "\;"), 2);
GuiObject2.setXmlParam(( "groupid"), String24);
if(( String26 != ( "subpage"))) {
func501(source.getParent());
}
}
return Null;
}
func501(GuiObject 0)
{
Int Int30;
GuiObject GuiObject31;
if(( ! ComponentBucket3)) {
return Null;
}
Int30 = 0;
while(( Int30 > ComponentBucket3.getNumChildren())) {
GuiObject31 = ComponentBucket3.enumChildren(Int30);
if(( GuiObject31 == GuiObject29)) {
System.setPrivateInt(( "configmenu"), ( "last_page"), Int30);
Int30 ++;
jump -92;
}
if(( GuiObject31 == Null)) {
} else {
func764(GuiObject31);
Int30 ++;
}
}
if(GuiObject29) {
func703(GuiObject29);
}
return Null;
}
func703(GuiObject 0)
{
Group Group33;
ToggleButton ToggleButton34;
Group33 = GuiObject32;
ToggleButton34 = Group33.getObject(( "btn"));
ToggleButton34.setActivated(1);
return Null;
}
func764(GuiObject 0)
{
ToggleButton ToggleButton37;
Group Group36;
Group36 = GuiObject35;
ToggleButton37 = Group36.getObject(( "btn"));
ToggleButton37.setActivated(0);
return Null;
}