home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September
/
CHIP_CD_2004-09.iso
/
service
/
winamp
/
skin
/
The_Gun.wal
/
scripts
/
shade.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-10-02
|
2KB
|
84 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Button Button2;
Global Button Button3;
Global Button Button4;
Global Group Group5;
Global Int Int6;
Global Layer Layer7;
Global Slider Slider8;
Function func397(Int 0, Float 5.87747175411144e-39);
System.onScriptLoaded()
{
Layout Layout11;
Layout11 = System.getContainer(( "main")).getLayout(( "shade"));
Group5 = Layout11.getObject(( "group\.shade\.drawer"));
Group5 = Group5.getObject(( "drawer\.shade"));
Group5 = Group5.getObject(( "shade\.drawer"));
Button4 = Group5.getObject(( "eq"));
Button2 = Layout11.getObject(( "voldown"));
Button3 = Layout11.getObject(( "volup"));
Layer7 = Layout11.getObject(( "seekfill"));
Slider8 = Layout11.getObject(( "seek"));
func397(System.getPrivateInt(( "cczcolt"), ( "curshadedrawer"), 0), 0);
return Null;
}
Slider8.onSetPosition(int newpos)
{
Layer7.setXmlParam(( "w"), System.integerToString(( ( newpos / ( 2.54999995231628)) * ( 0.75))));
return Null;
}
Button4.onActivate(int activated)
{
func397(activated, ( 0.200000002980232));
return Null;
}
Button2.onLeftClick()
{
System.setVolume(( System.getVolume() - 25));
return Null;
}
Button3.onLeftClick()
{
System.setVolume(( System.getVolume() + 25));
return Null;
}
func397(Int 0, Float 5.87747175411144e-39)
{
if(Float31) {
if(Int30) {
Group5.setTargetY(0);
} else {
Group5.setTargetY(( - 63));
}
Group5.setTargetSpeed(Float31);
Group5.gotoTarget();
} else {
if(Int30) {
Group5.setXmlParam(( "y"), ( "0"));
} else {
Group5.setXmlParam(( "y"), ( "\-63"));
}
}
Int6 = Int30;
Button4.setActivatedNoCallback(Int30);
return Null;
}
System.onScriptUnloading()
{
System.setPrivateInt(( "cczcolt"), ( "curshadedrawer"), Int6);
return Null;
}