home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 January
/
CHIP_CD_2005-01.iso
/
service
/
winamp
/
files
/
winamp505_strata.exe
/
Plugins
/
standardframe.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-06-22
|
3KB
|
100 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
Global Group Group3;
Global Group Group4;
Global String String5;
Global String String6;
Global String String7;
Global String String8;
Global String String9;
Global String String10;
Global String String11;
Global String String12;
Global Layer Layer13;
Global Button Button14;
Function func728(String "0");
System.onScriptLoaded()
{
String String15;
Group2 = System.getScriptGroup();
String15 = System.getParam();
String5 = System.getToken(String15, ( "\,"), 0);
String6 = System.getToken(String15, ( "\,"), 1);
String7 = System.getToken(String15, ( "\,"), 2);
String8 = System.getToken(String15, ( "\,"), 3);
String9 = System.getToken(String15, ( "\,"), 4);
String10 = System.getToken(String15, ( "\,"), 5);
String11 = System.getToken(String15, ( "\,"), 6);
String12 = System.getToken(String15, ( "\,"), 7);
Button14 = Group2.findObject(( "sysmenu"));
return Null;
}
System.onSetXuiParam(String param, String value)
{
if(( param == ( "content"))) {
func728(value);
Group4 = Group2.findObject(( "wasabi\.titlebar"));
Layer13 = Group4.findObject(( "mousetrap"));
}
if(( ( param == ( "padtitleright")) || ( param == ( "padtitleleft")))) {
if(( Group4 != Null)) {
Group4.setXmlParam(param, value);
}
}
if(( param == ( "shade"))) {
if(( Layer13 != Null)) {
Layer13.setXmlParam(( "dblclickaction"), ( ( "switch\;") + value));
} else {
System.messageBox(( "Cannot\ set\ shade\ parameter\ for\ StandardFrame\ object\,\ no\ mousetrap\ found"), ( "Skin\ Error"), 0, ( ""));
}
}
return Null;
}
Int Group2.onNotify(String command, String param, int a, int b)
{
String String43;
String String44;
String43 = System.getToken(command, ( "\,"), 0);
String44 = System.getToken(command, ( "\,"), 1);
if(( ( ( ( String43 == ( "content")) || ( String43 == ( "padtitleright"))) || ( String43 == ( "padtitleleft"))) || ( String43 == ( "shade")))) {
System.onSetXuiParam(String43, String44);
}
return Null;
}
func728(String "0")
{
Group3 = System.newGroup(String45);
if(( Group3 == Null)) {
System.messageBox(( ( ( "group\ \"") + String45) + ( "\"\ not\ found")), ( "ButtonGroup"), 0, ( ""));
return Null;
}
Group3.setXmlParam(( "x"), String5);
Group3.setXmlParam(( "y"), String6);
Group3.setXmlParam(( "w"), String7);
Group3.setXmlParam(( "h"), String8);
Group3.setXmlParam(( "relatx"), String9);
Group3.setXmlParam(( "relaty"), String10);
Group3.setXmlParam(( "relatw"), String11);
Group3.setXmlParam(( "relath"), String12);
Group3.init(Group2);
return Null;
}
Button14.onLeftClick()
{
LayoutStatus LayoutStatus58;
LayoutStatus58 = Group2.findObject(( "sysmenu\.status"));
LayoutStatus58.callme(( "\{system\}"));
return Null;
}