home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 April
/
PCWorld_2005-04_cd.bin
/
software
/
temacd
/
winamp
/
winamp508e_full.exe
/
$0
/
scripts
/
videoavs.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-12-20
|
27KB
|
1,721 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global ConfigAttribute ConfigAttribute17;
Global ConfigAttribute ConfigAttribute18;
Global ConfigAttribute ConfigAttribute19;
Global ConfigAttribute ConfigAttribute20;
Global ConfigAttribute ConfigAttribute21;
Global Int Int22;
Global Timer Timer23;
Global Int Int24;
Global Int Int25;
Global Int Int26;
Global Int Int27;
Global Timer Timer28;
Global Int Int29;
Global Timer Timer30;
Global Int Int31;
Global Int Int32;
Global Int Int33;
Global Int Int34;
Global Int Int35;
Global Int Int36;
Global Int Int37;
Global Int Int38;
Global Timer Timer39;
Global Layout Layout40;
Global Container Container41;
Global String String42;
Global Int Int43;
Global Int Int44;
Global Int Int45;
Global Int Int46;
Global Int Int47;
Global Int Int48;
Global Int Int49;
Global ConfigAttribute ConfigAttribute172;
Global ConfigAttribute ConfigAttribute173;
Global ConfigAttribute ConfigAttribute174;
Global ConfigAttribute ConfigAttribute175;
Global ConfigAttribute ConfigAttribute176;
Global ConfigAttribute ConfigAttribute177;
Global ConfigAttribute ConfigAttribute178;
Global ConfigAttribute ConfigAttribute179;
Global ConfigAttribute ConfigAttribute180;
Global ConfigAttribute ConfigAttribute181;
Global ConfigAttribute ConfigAttribute182;
Global ConfigAttribute ConfigAttribute183;
Global ConfigAttribute ConfigAttribute184;
Global ConfigAttribute ConfigAttribute185;
Global ConfigAttribute ConfigAttribute186;
Global ConfigAttribute ConfigAttribute187;
Global ConfigAttribute ConfigAttribute188;
Global ConfigAttribute ConfigAttribute189;
Global ConfigAttribute ConfigAttribute190;
Global ConfigAttribute ConfigAttribute191;
Global ConfigAttribute ConfigAttribute192;
Global ConfigAttribute ConfigAttribute193;
Global ConfigAttribute ConfigAttribute194;
Global ConfigAttribute ConfigAttribute195;
Global ConfigAttribute ConfigAttribute196;
Global ConfigAttribute ConfigAttribute197;
Global ConfigAttribute ConfigAttribute198;
Global Int Int269;
Global Layout Layout270;
Global Layout Layout271;
Global Container Container272;
Global Group Group273;
Global Group Group274;
Global Group Group275;
Global Group Group276;
Global Group Group277;
Global Group Group278;
Global Group Group279;
Global Button Button280;
Global Button Button281;
Global Button Button282;
Global Button Button283;
Global Button Button284;
Global Button Button285;
Global Button Button286;
Global Button Button287;
Global Layer Layer288;
Global Layer Layer289;
Global Layer Layer290;
Global GuiObject GuiObject291;
Global Int Int292;
Global Int Int294;
Function func242(Layout 0, String "0");
Function func780();
Function func814();
Function func1685(Int 0);
Function func2370(Int 0);
Function func2978();
Function func3437();
Function func4631();
Function func4846();
Function func5007();
Function func5222();
Function func5601();
Function func5643();
Function func5769();
Function func5897();
Function func5993();
Function func6043();
Function func6093();
Function func6682();
Function func6778();
Function func6914();
Function func6971();
Function func7376();
Function func7561();
Function func7861();
Function func8056();
Function func8329();
Function func8359();
Function func8389();
Function func8444();
Function func8505();
Function func8628();
Function func9190();
Function func9411(Int 0);
Function func9658();
Function func9837();
Function func9843();
Function func9855();
Function func14067();
Function func14079();
Function func14091(Int 0);
Function func14138();
Function func14179();
Function func14220();
Function func14226();
Function func14244();
Function func14340();
Function func14424();
Function func14524();
Function func14566();
Function func14666();
Function func14708();
Function func14760();
Function func14790();
Function func14842();
Function func14872();
Function func14902();
Function func14932();
Function func15214();
Function func15544();
func242(Layout 0, String "0")
{
Int32 = 0;
Layout40 = Layout50;
Container41 = Layout40.getContainer();
if(( String51 == ( ""))) {
String42 = ( "Drawer");
} else {
String42 = String51;
}
Int22 = 0;
func4846();
func5222();
Timer23 = ( new Timer);
Timer23.setDelay(1);
Timer28 = ( new Timer);
Timer28.setDelay(1);
Timer30 = ( new Timer);
Timer30.setDelay(1000);
Timer39 = ( new Timer);
Timer39.setDelay(50);
Int45 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
if(Int45) {
func14902();
func9837();
}
Int46 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ox")), 0);
Int47 = System.getPrivateInt(( "winamp5"), ( String42 + ( "oy")), 0);
Int48 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ow")), 0);
Int49 = System.getPrivateInt(( "winamp5"), ( String42 + ( "oh")), 0);
Int38 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), 0);
Int37 = System.getPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), 0);
return Null;
}
func780()
{
delete Timer23;
delete Timer28;
delete Timer30;
delete Timer39;
return Null;
}
func814()
{
Int Int74;
Int Int75;
Int Int67;
Int Int69;
Int Int63;
Int Int73;
Int Int70;
Int Int72;
Int Int71;
Int63 = 0;
if(( ConfigAttribute17.getData() == ( "1"))) {
Int63 = 1;
}
if(( ConfigAttribute19.getData() == ( "0"))) {
return Int63;
}
Int67 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int67 != 0)) {
return Int38;
}
Int69 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Height")), func14079());
if(( Int69 == func14067())) {
Int69 = func14079();
}
if(Int45) {
Int69 = ( System.getViewportHeight() + Layout40.getSnapAdjustBottom());
}
Int37 = 0;
Int38 = 0;
if(Int63) {
Int70 = Layout40.getGuiY();
Int71 = Layout40.clientToScreenH(Layout40.getGuiH());
if(( ( Int70 + Int71) > ( Layout40.clientToScreenH(Int69) + System.getViewportTop()))) {
Int72 = Layout40.getSnapAdjustBottom();
if(( ! ( ( Int70 + Layout40.clientToScreenH(( Int69 - Int72))) < ( System.getViewportTop() + System.getViewportHeight())))) {
Int37 = 1;
return 0;
}
}
} else {
Int73 = Layout40.getSnapAdjustBottom();
Int74 = Layout40.getGuiY();
if(( ( Int74 + Layout40.clientToScreenH(( Int69 - Int73))) < ( System.getViewportTop() + System.getViewportHeight()))) {
Int75 = Layout40.clientToScreenH(Layout40.getGuiH());
if(( ! ( ( Int74 + Int75) > ( Layout40.clientToScreenH(Int69) + System.getViewportTop())))) {
Int38 = 1;
return 1;
}
}
}
return Int63;
}
Layout40.onTargetReached()
{
System.unlockUI();
if(( ConfigAttribute17.getData() == ( "1"))) {
Layout40.reverseTarget(0);
}
if(( Int22 == 1)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
func5769();
func14220();
} else {
if(( Int22 == 2)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
func14226();
}
}
Int22 = 0;
return Null;
}
func1685(Int 0)
{
Int Int77;
Int Int79;
Int Int82;
Int Int80;
Int Int81;
Int77 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
System.debugString(( ( "expand\ \-\ curstate\ \=\ ") + System.integerToString(Int77)), 0);
if(( Int77 == 1)) {
func5769();
func14244();
func14220();
return Null;
}
Int79 = func814();
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
Int80 = System.getPrivateInt(( "winamp5"), ( String42 + ( "Height")), func14079());
if(( Int80 == func14067())) {
Int80 = func14079();
}
if(Int45) {
Int80 = ( System.getViewportHeight() + Layout40.getSnapAdjustBottom());
}
Int81 = Layout40.getGuiW();
if(( Int80 == Layout40.getHeight())) {
Int76 = 0;
}
func14244();
Int82 = 0;
if(( ! Layout40.isLayoutAnimationSafe())) {
Int76 = 0;
}
if(( Int76 && System.StringToInteger(ConfigAttribute18.getData()))) {
Int82 = 1;
}
Int22 = 1;
Layout40.setTargetX(Layout40.getGuiX());
Layout40.setTargetY(Layout40.getGuiY());
Layout40.setTargetW(Int81);
Layout40.setTargetH(Int80);
Layout40.reverseTarget(Int79);
Layout40.setTargetSpeed(Int82);
Layout40.gotoTarget();
System.lockUI();
if(( ! Int45)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int80);
}
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), Int37);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), Int38);
return Null;
}
func2370(Int 0)
{
Int Int87;
Int Int86;
Int Int85;
System.debugString(( "reduce"), 0);
func4846();
func5222();
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( ( Int22 == 0) && ( ! Int45))) {
Int85 = Layout40.getHeight();
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int85);
}
func5897();
func14340();
Int86 = 0;
if(( ConfigAttribute17.getData() == ( "1"))) {
Int86 = 1;
}
Int87 = 0;
if(( ! Layout40.isLayoutAnimationSafe())) {
Int83 = 0;
}
if(( Int83 && System.StringToInteger(ConfigAttribute18.getData()))) {
Int87 = 1;
}
if(( ConfigAttribute19.getData() == ( "1"))) {
if(Int38) {
Int86 = 1;
}
if(Int37) {
Int86 = 0;
}
}
Int22 = 2;
Layout40.setTargetX(Layout40.getGuiX());
Layout40.setTargetY(Layout40.getGuiY());
Layout40.setTargetW(Layout40.getGuiW());
Layout40.setTargetH(func14067());
Layout40.reverseTarget(Int86);
Layout40.setTargetSpeed(Int87);
Layout40.gotoTarget();
System.lockUI();
Int38 = 0;
Int37 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedBottom")), 0);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ForcedTop")), 0);
return Null;
}
func2978()
{
Int Int88;
Int Int90;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
Int88 = System.getStatus();
if(( ( Int88 == 1) || ( Int88 == ( - 1)))) {
if(( ! System.isVideo())) {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
func6093();
}
}
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
func6093();
}
}
}
} else {
Int90 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( ( Int90 == 2) && ( ConfigAttribute20.getData() == ( "0")))) {
func6043();
} else {
if(( ( Int90 == 1) && ( ConfigAttribute21.getData() == ( "0")))) {
func5993();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func6043();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func5993();
} else {
func6093();
}
}
}
}
}
return Null;
}
func3437()
{
func2370(1);
return Null;
}
Boolean System.onGetCancelComponent(String guid, boolean goingvisible)
{
Int Int103;
Int Int104;
System.debugString(( "\+"), 0);
if(Int31) {
return 0;
}
if(( ( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( ! goingvisible)) && Int33)) {
return 0;
}
if(( ( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( ! goingvisible)) && Int34)) {
return 0;
}
if(( ( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && goingvisible) && Int36)) {
return 0;
}
if(( ( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && goingvisible) && Int35)) {
return 0;
}
System.debugString(( "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ onGetCancelComponent\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-"), 0);
System.debugString(( ( "\ GUID\ \:\ ") + guid), 0);
if(goingvisible) {
System.debugString(( "\ Going\ Visible"), 0);
} else {
System.debugString(( "\ Going\ Invisible"), 0);
}
System.debugString(( ( "\ Last\ Content\ \:\ ") + System.integerToString(System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2))), 0);
System.debugString(( ( "\ Drawer\ State\ \:\ ") + System.integerToString(System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0))), 0);
System.debugString(( "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-"), 0);
if(( ! Layout40.isVisible())) {
return 0;
}
Int103 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int104 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int104 == 0)) {
if(( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"))) {
if(( ConfigAttribute21.getData() == ( "0"))) {
if(goingvisible) {
func5993();
return ( - 1);
}
}
}
if(( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"))) {
if(( ConfigAttribute20.getData() == ( "0"))) {
if(goingvisible) {
func6043();
return ( - 1);
}
}
}
} else {
if(( Int104 == 1)) {
if(goingvisible) {
if(( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( Int103 == 2))) {
if(( ConfigAttribute21.getData() == ( "0"))) {
Int103 = 1;
func4846();
func5601();
return ( - 1);
}
} else {
if(( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( Int103 == 1))) {
if(( ConfigAttribute20.getData() == ( "0"))) {
Int103 = 2;
func8505();
func5222();
func5643();
return ( - 1);
}
}
}
}
}
}
if(( ( ! goingvisible) && ( Int104 == 1))) {
System.debugString(( ( "closing\ ") + guid), 0);
if(( ( guid == ( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}")) && ( Int103 == 1))) {
func5222();
func2370(1);
return 0;
}
if(( ( guid == ( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}")) && ( Int103 == 2))) {
func4846();
if(( ( ( ( System.getStatus() == 1) || ( System.getStatus() == ( - 1))) && System.isVideo()) && ( ConfigAttribute21.getData() == ( "0")))) {
func5601();
} else {
func2370(1);
}
return 0;
}
}
System.debugString(( "Went\ thru"), 0);
return 0;
}
func4631()
{
GuiObject GuiObject108;
System.debugString(( "drawer_showVis"), 0);
Int35 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
GuiObject108 = func14138();
if(( GuiObject108 != Null)) {
Int31 = 1;
GuiObject108.show();
Int31 = 0;
} else {
System.debugString(( "vis\ object\ not\ provided\ \(show\)"), 0);
}
func14424();
Int35 = 0;
return Null;
}
func4846()
{
GuiObject GuiObject111;
Int24 = 0;
System.debugString(( "drawer_hideVis"), 0);
Int34 = 1;
GuiObject111 = func14138();
if(( GuiObject111 != Null)) {
Int31 = 1;
GuiObject111.hide();
Int31 = 0;
} else {
System.debugString(( "video\ object\ not\ found\ \(hide\)"), 0);
}
func14524();
Int34 = 0;
return Null;
}
func5007()
{
GuiObject GuiObject114;
System.debugString(( "drawer_showVideo"), 0);
Int36 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
GuiObject114 = func14179();
if(( GuiObject114 != Null)) {
Int31 = 1;
GuiObject114.show();
Int31 = 0;
} else {
System.debugString(( "vis\ object\ not\ found\ \(show\)"), 0);
}
func14566();
Int36 = 0;
return Null;
}
func5222()
{
GuiObject GuiObject117;
Int25 = 0;
System.debugString(( "drawer_hideVideo"), 0);
Int33 = 1;
GuiObject117 = func14179();
if(( GuiObject117 != Null)) {
Int31 = 1;
GuiObject117.hide();
Int31 = 0;
} else {
System.debugString(( "video\ object\ not\ found\ \(hide\)"), 0);
}
func14666();
Int33 = 0;
return Null;
}
Timer23.onTimer()
{
Int Int118;
Int Int120;
Int Int119;
Int Int121;
Timer23.stop();
Int118 = Int25;
Int119 = Int24;
Int120 = Int27;
Int121 = Int26;
Int25 = 0;
Int24 = 0;
Int27 = 0;
Int26 = 0;
if(( Int118 == 1)) {
func5007();
}
if(( Int119 == 1)) {
func4631();
}
if(( Int121 == 1)) {
func4846();
}
if(( Int120 == 1)) {
func5222();
}
return Null;
}
func5601()
{
Int25 = 1;
Int27 = 0;
Timer23.start();
return Null;
}
func5643()
{
Int24 = 1;
Int26 = 0;
Timer23.start();
return Null;
}
func5769()
{
Int Int122;
Int122 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
System.debugString(( ( "drawer_showWindowContent\ \=\ ") + System.integerToString(Int122)), 0);
if(( Int122 == 1)) {
func5601();
}
if(( Int122 == 2)) {
unknown 255;
pop;
}
return Null;
}
func5897()
{
Int Int124;
Int124 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
System.debugString(( ( "drawer_hideWindowContent\ \=\ ") + System.integerToString(Int124)), 0);
func5222();
func4846();
return Null;
}
func5993()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
func1685(1);
return Null;
}
func6043()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
func1685(1);
return Null;
}
func6093()
{
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 0);
func1685(1);
return Null;
}
Layout40.onResize(int x, int y, int w, int h)
{
if(( ( ! Layout40.isGoingToTarget()) && ( ! Int32))) {
Int32 = 1;
if(( h < func14067())) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 1);
func1685(0);
} else {
System.setPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
}
}
return Null;
}
Layout40.onUserResize(int x, int y, int w, int h)
{
Int Int137;
Int Int134;
Int Int135;
Int134 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int134 == 1)) {
Int135 = Layout40.getHeight();
if(( Int135 != func14067())) {
System.debugString(( ( "h\ \=\ ") + System.integerToString(Int135)), 0);
if(( ! Int45)) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int135);
}
}
} else {
if(( Int134 == 0)) {
Int137 = func14091(w);
if(( Int137 != ( - 1))) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "Height")), Int137);
}
}
}
if(Int45) {
Int45 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
func14932();
}
return Null;
}
func6682()
{
if(Timer23.isRunning()) {
return Null;
}
if(Timer28.isRunning()) {
return Null;
}
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
func4846();
func5007();
return Null;
}
func6778()
{
if(Timer23.isRunning()) {
return Null;
}
if(Timer28.isRunning()) {
return Null;
}
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
func8505();
func5222();
func4631();
return Null;
}
Timer39.onTimer()
{
Timer39.stop();
return Null;
}
func6914()
{
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute20.setData(( "1"));
return Null;
}
func6971()
{
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute21.setData(( "1"));
return Null;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute20.setData(( "0"));
return Null;
if(Timer39.isRunning()) {
return Null;
}
Timer39.start();
ConfigAttribute21.setData(( "0"));
return Null;
}
ConfigAttribute21.onDataChanged()
{
System.debugString(( "detach\ video\ changed"), 0);
if(( ConfigAttribute21.getData() == ( "1"))) {
func7376();
func14708();
} else {
if(( ConfigAttribute21.getData() == ( "0"))) {
func7861();
func14760();
}
}
return Null;
}
ConfigAttribute20.onDataChanged()
{
System.debugString(( "detach\ vis\ changed"), 0);
if(( ConfigAttribute20.getData() == ( "1"))) {
func7561();
func14790();
} else {
if(( ConfigAttribute20.getData() == ( "0"))) {
func8056();
func14842();
}
}
return Null;
}
func7376()
{
Int Int142;
Int Int141;
Int Int140;
Int140 = System.isNamedWindowVisible(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
Int141 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int142 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( ! Int140)) {
return Null;
}
if(( Int141 != 1)) {
return Null;
}
if(( Int142 == 1)) {
func8505();
func2370(1);
}
func8359();
return Null;
}
func7561()
{
Int Int143;
Int Int145;
Int Int144;
Int143 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
Int144 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
if(( Int143 != 2)) {
return Null;
}
Int145 = System.isNamedWindowVisible(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
if(( ! Int145)) {
return Null;
}
if(( Int144 == 1)) {
func4846();
if(( ( ( ( System.getStatus() == 1) || ( System.getStatus() == ( - 1))) && System.isVideo()) && ( ConfigAttribute21.getData() == ( "0")))) {
System.setPrivateInt(( "winamp5"), ( String42 + ( "State")), 1);
func5601();
} else {
func2370(1);
}
}
func8329();
return Null;
}
func7861()
{
Int Int148;
Int Int146;
Int Int147;
func8505();
Int146 = System.isNamedWindowVisible(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
if(Int146) {
System.hideNamedWindow(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"));
Int147 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int148 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( Int148 == 2)) {
func4846();
}
if(( Int147 == 0)) {
func5993();
} else {
func5601();
}
}
return Null;
}
func8056()
{
Int Int149;
Int Int151;
Int Int150;
func8505();
Int149 = System.isNamedWindowVisible(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
if(Int149) {
System.hideNamedWindow(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"));
Int150 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int151 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( Int151 == 1)) {
func5222();
}
if(( Int150 == 0)) {
func6043();
} else {
func5643();
}
}
return Null;
}
Timer28.onTimer()
{
Timer28.stop();
if(( Int29 == 2)) {
func8444();
}
if(( Int29 == 1)) {
func8389();
}
return Null;
}
func8329()
{
Int29 = 1;
Timer28.start();
return Null;
}
func8359()
{
Int29 = 2;
Timer28.start();
return Null;
}
func8389()
{
System.debugString(( "show\ detached\ vis"), 0);
System.showWindow(( "\{0000000A\-000C\-0010\-FF7B\-01014263450C\}"), ( ""), 0);
return Null;
}
func8444()
{
System.debugString(( "show\ detached\ video"), 0);
System.showWindow(( "\{F0816D7B\-FFFC\-4343\-80F2\-E8199AA15CC3\}"), ( ""), 0);
func8628();
return Null;
}
func8505()
{
ConfigAttribute ConfigAttribute158;
ConfigItem ConfigItem156;
System.debugString(( "disabling\ stop\ on\ video\ close"), 0);
ConfigItem156 = Config.getItem(( "\{0542AFA4\-48D9\-4c9f\-8900\-5739D52C114F\}"));
if(ConfigItem156) {
ConfigAttribute158 = ConfigItem156.getAttribute(( "Prevent\ video\ playback\ Stop\ on\ video\ window\ Close"));
if(ConfigAttribute158) {
ConfigAttribute158.setData(( "1"));
}
}
Timer30.start();
return Null;
}
func8628()
{
ConfigItem ConfigItem160;
ConfigAttribute ConfigAttribute161;
System.debugString(( "enabling\ stop\ on\ video\ close"), 0);
Timer30.stop();
ConfigItem160 = Config.getItem(( "\{0542AFA4\-48D9\-4c9f\-8900\-5739D52C114F\}"));
if(ConfigItem160) {
ConfigAttribute161 = ConfigItem160.getAttribute(( "Prevent\ video\ playback\ Stop\ on\ video\ window\ Close"));
if(ConfigAttribute161) {
ConfigAttribute161.setData(( "0"));
}
}
return Null;
}
Timer30.onTimer()
{
func8628();
return Null;
}
Container41.onBeforeSwitchToLayout(Layout oldlayout, Layout newlayout)
{
Int Int165;
Int Int164;
Int164 = System.getPrivateInt(( "winamp5"), ( String42 + ( "OpenState")), 0);
Int165 = System.getPrivateInt(( "winamp5"), ( String42 + ( "State")), 2);
if(( ( ( ( ( oldlayout == Layout40) && ( Int164 == 1)) && ( Int165 == 1)) && ( System.getStatus() == 1)) && System.isVideo())) {
func8505();
Int43 = 1;
}
if(( ( ( oldlayout == Layout40) && ( Int164 == 1)) && ( Int165 == 2))) {
Int44 = 1;
}
return Null;
}
Container41.onSwitchToLayout(Layout newlayout)
{
if(Int43) {
Int43 = 0;
func8444();
}
if(Int44) {
Int44 = 0;
func8389();
}
return Null;
}
func9190()
{
Int46 = Layout40.getGuiX();
Int47 = Layout40.getGuiY();
Int48 = Layout40.getGuiW();
Int49 = Layout40.getGuiH();
System.setPrivateInt(( "winamp5"), ( String42 + ( "ox")), Int46);
System.setPrivateInt(( "winamp5"), ( String42 + ( "oy")), Int47);
System.setPrivateInt(( "winamp5"), ( String42 + ( "ow")), Int48);
System.setPrivateInt(( "winamp5"), ( String42 + ( "oh")), Int49);
func9411(1);
return Null;
}
func9411(Int 0)
{
Int Int170;
Int Int168;
Int Int169;
Int Int171;
Int168 = System.getViewportLeft();
Int169 = System.getViewportTop();
Int170 = System.getViewportWidth();
Int171 = System.getViewportHeight();
if(Int167) {
func14902();
}
Int45 = 1;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 1);
Layout40.resize(Int168, Int169, Int170, ( Int171 + Layout40.getSnapAdjustBottom()));
if(Int167) {
func9837();
}
return Null;
}
Layout40.onSnapAdjustChanged()
{
if(Int45) {
unknown 255;
0;
}
return Null;
}
func9658()
{
func14872();
Int45 = 0;
System.setPrivateInt(( "winamp5"), ( String42 + ( "Maximized")), 0);
Layout40.resize(Int46, Int47, Int48, Int49);
func9843();
return Null;
}
func9837()
{
return Null;
}
func9843()
{
return Null;
}
func9855()
{
ConfigAttribute ConfigAttribute229;
ConfigAttribute ConfigAttribute228;
ConfigItem ConfigItem204;
ConfigItem ConfigItem207;
ConfigItem ConfigItem210;
ConfigAttribute ConfigAttribute238;
ConfigAttribute ConfigAttribute233;
ConfigAttribute ConfigAttribute230;
ConfigItem ConfigItem219;
ConfigItem ConfigItem213;
ConfigItem ConfigItem201;
ConfigItem ConfigItem222;
ConfigItem ConfigItem216;
ConfigItem ConfigItem224;
ConfigAttribute ConfigAttribute227;
ConfigAttribute ConfigAttribute232;
ConfigItem ConfigItem226;
ConfigAttribute ConfigAttribute234;
ConfigItem201 = Config.newItem(( "Winamp\ Modern"), ( "\{26E26319\-AECA\-4433\-B8F1\-F4A5BF2A9ED5\}"));
ConfigItem204 = Config.newItem(( "Drawers"), ( "\{C338B30F\-2A04\-4b10\-871F\-4E9D52D62806\}"));
ConfigItem207 = Config.newItem(( "Menus"), ( "\{12ED320E\-6813\-45ac\-9F8E\-78EE5B2B5F6D\}"));
ConfigItem210 = Config.newItem(( "Main\ Windowshade\ Mode"), ( "\{58F07E21\-AE96\-4899\-B7BC\-3640B40029FB\}"));
ConfigItem213 = Config.newItem(( "Vis\ Buttons"), ( "\{D70E3ABF\-D2FF\-4b82\-9A70\-4B5DF1A5D942\}"));
ConfigItem216 = Config.newItem(( "Notifications"), ( "\{1AB968B3\-8687\-4a35\-BA70\-FCF6D92FB57F\}"));
ConfigItem219 = Config.newItem(( "Songticker"), ( "\{7061FDE0\-0E12\-11D8\-BB41\-0050DA442EF3\}"));
ConfigItem222 = Config.newItem(( "Hidden"), ( "\{E9C2D926\-53CA\-400f\-9A4D\-85E31755A4CF\}"));
ConfigItem224 = Config.getItem(( "\{1828D28F\-78DD\-4647\-8532\-EBA504B8FC04\}"));
ConfigItem226 = Config.getItem(( "\{6559CA61\-7EB2\-4415\-A8A9\-A2AEEF762B7F\}"));
ConfigAttribute227 = ConfigItem224.newAttribute(( "Winamp\ Modern"), ( ""));
ConfigAttribute227.setData(( "\{26E26319\-AECA\-4433\-B8F1\-F4A5BF2A9ED5\}"));
ConfigAttribute228 = ConfigItem201.newAttribute(( "Drawers"), ( ""));
ConfigAttribute228.setData(( "\{C338B30F\-2A04\-4b10\-871F\-4E9D52D62806\}"));
ConfigAttribute229 = ConfigItem201.newAttribute(( "Menus"), ( ""));
ConfigAttribute229.setData(( "\{12ED320E\-6813\-45ac\-9F8E\-78EE5B2B5F6D\}"));
ConfigAttribute230 = ConfigItem201.newAttribute(( "Main\ Windowshade\ Mode"), ( ""));
ConfigAttribute230.setData(( "\{58F07E21\-AE96\-4899\-B7BC\-3640B40029FB\}"));
ConfigAttribute232 = ConfigItem201.newAttribute(( "Vis\ Shortcut\ Button"), ( ""));
ConfigAttribute232.setData(( "\{D70E3ABF\-D2FF\-4b82\-9A70\-4B5DF1A5D942\}"));
ConfigAttribute233 = ConfigItem201.newAttribute(( "Notifications"), ( ""));
ConfigAttribute233.setData(( "\{1AB968B3\-8687\-4a35\-BA70\-FCF6D92FB57F\}"));
ConfigAttribute234 = ConfigItem201.newAttribute(( "Songticker"), ( ""));
ConfigAttribute234.setData(( "\{7061FDE0\-0E12\-11D8\-BB41\-0050DA442EF3\}"));
ConfigAttribute172 = ConfigItem204.newAttribute(( "Animate\ Video\/Vis\ Drawer\ \(disabled\ if\ opacity\ \<\ 100\%\)"), ( "0"));
ConfigAttribute173 = ConfigItem204.newAttribute(( "Animate\ Config\ Drawer"), ( "0"));
ConfigAttribute238 = ConfigItem204.newAttribute(( "sep1"), ( ""));
ConfigAttribute238.setData(( "\-"));
ConfigAttribute176 = ConfigItem204.newAttribute(( "Open\ Video\/Vis\ from\ the\ top"), ( "0"));
ConfigAttribute177 = ConfigItem204.newAttribute(( "Open\ Video\/Vis\ from\ the\ bottom"), ( "1"));
ConfigAttribute178 = ConfigItem204.newAttribute(( "Bypass\ setting\ to\ keep\ in\ screen"), ( "1"));
if(( ConfigAttribute176.getData() == ( "1"))) {
ConfigAttribute176.onDataChanged();
} else {
ConfigAttribute177.onDataChanged();
}
ConfigAttribute180 = ConfigItem207.newAttribute(( "Show\ Menus\ in\ Main\ Window"), ( "1"));
ConfigAttribute181 = ConfigItem207.newAttribute(( "Show\ Menus\ in\ Playlist\ Editor"), ( "1"));
ConfigAttribute182 = ConfigItem207.newAttribute(( "Show\ Menus\ in\ Media\ Library"), ( "1"));
ConfigAttribute238 = ConfigItem201.newAttribute(( "sep1"), ( ""));
ConfigAttribute238.setData(( "\-"));
ConfigAttribute174 = ConfigItem201.newAttribute(( "Detach\ Vis\ Window"), ( "0"));
ConfigAttribute175 = ConfigItem201.newAttribute(( "Detach\ Video\ Window"), ( "0"));
ConfigAttribute179 = ConfigItem226.newAttribute(( "Equalizer\ Alt\+G"), ( "0"));
ConfigAttribute238 = ConfigItem201.newAttribute(( "sep2"), ( ""));
ConfigAttribute238.setData(( "\-"));
ConfigAttribute186 = ConfigItem201.newAttribute(( "Enable\ Beat\ Visualization"), ( "1"));
ConfigAttribute183 = ConfigItem210.newAttribute(( "Link\ Position\ and\ Width"), ( "1"));
ConfigAttribute184 = ConfigItem210.newAttribute(( "Link\ Position\,\ Unlink\ Width"), ( "0"));
ConfigAttribute185 = ConfigItem210.newAttribute(( "Unlink\ Position\ and\ Width"), ( "0"));
ConfigAttribute188 = ConfigItem213.newAttribute(( "Open\ Context\ Menu"), ( "1"));
ConfigAttribute187 = ConfigItem213.newAttribute(( "Open\ Configuration"), ( "0"));
ConfigAttribute191 = ConfigItem216.newAttribute(( "Show\ always"), ( "0"));
ConfigAttribute190 = ConfigItem216.newAttribute(( "Show\ with\ windowshade\ and\ when\ minimized"), ( "0"));
ConfigAttribute189 = ConfigItem216.newAttribute(( "Show\ only\ when\ minimized"), ( "0"));
ConfigAttribute192 = ConfigItem216.newAttribute(( "Never\ show"), ( "1"));
ConfigAttribute238 = ConfigItem216.newAttribute(( "sep1"), ( ""));
ConfigAttribute238.setData(( "\-"));
ConfigAttribute196 = ConfigItem216.newAttribute(( "Disable\ in\ fullscreen"), ( "1"));
ConfigAttribute193 = ConfigItem222.newAttribute(( "Notifications\ fade\ in\ time"), ( "1000"));
ConfigAttribute194 = ConfigItem222.newAttribute(( "Notifications\ fade\ out\ time"), ( "5000"));
ConfigAttribute195 = ConfigItem222.newAttribute(( "Notifications\ display\ time"), ( "2000"));
ConfigAttribute197 = ConfigItem219.newAttribute(( "Enable\ Songticker\ scrolling"), ( "1"));
ConfigAttribute198 = ConfigItem219.newAttribute(( "Disable\ Songticker\ scrolling"), ( "0"));
return Null;
}
ConfigAttribute176.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute176.getData() == ( "0"))) {
ConfigAttribute176.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute177.setData(( "0"));
ConfigAttribute176.setData(( "1"));
Int269 = 0;
return Null;
}
ConfigAttribute177.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute177.getData() == ( "0"))) {
ConfigAttribute177.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute176.setData(( "0"));
ConfigAttribute177.setData(( "1"));
Int269 = 0;
return Null;
}
ConfigAttribute183.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute183.getData() == ( "0"))) {
ConfigAttribute183.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute184.setData(( "0"));
ConfigAttribute185.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute184.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute184.getData() == ( "0"))) {
ConfigAttribute184.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute183.setData(( "0"));
ConfigAttribute185.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute185.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute185.getData() == ( "0"))) {
ConfigAttribute185.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute183.setData(( "0"));
ConfigAttribute184.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute188.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute188.getData() == ( "0"))) {
ConfigAttribute188.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute187.setData(( "0"));
Int269 = 0;
func15544();
return Null;
}
ConfigAttribute187.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute187.getData() == ( "0"))) {
ConfigAttribute187.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute188.setData(( "0"));
Int269 = 0;
func15544();
return Null;
}
ConfigAttribute191.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute191.getData() == ( "0"))) {
ConfigAttribute191.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute192.setData(( "0"));
ConfigAttribute190.setData(( "0"));
ConfigAttribute189.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute192.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute192.getData() == ( "0"))) {
ConfigAttribute192.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute191.setData(( "0"));
ConfigAttribute190.setData(( "0"));
ConfigAttribute189.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute189.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute189.getData() == ( "0"))) {
ConfigAttribute189.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute192.setData(( "0"));
ConfigAttribute190.setData(( "0"));
ConfigAttribute191.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute190.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute190.getData() == ( "0"))) {
ConfigAttribute190.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute192.setData(( "0"));
ConfigAttribute191.setData(( "0"));
ConfigAttribute189.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute197.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute197.getData() == ( "0"))) {
ConfigAttribute197.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute198.setData(( "0"));
Int269 = 0;
return Null;
}
ConfigAttribute198.onDataChanged()
{
if(Int269) {
return Null;
}
if(( ConfigAttribute198.getData() == ( "0"))) {
ConfigAttribute198.setData(( "1"));
return Null;
}
Int269 = 1;
ConfigAttribute197.setData(( "0"));
Int269 = 0;
return Null;
}
System.onScriptLoaded()
{
func9855();
Group273 = System.getScriptGroup();
Button280 = Group273.findObject(( "videoavs\.open"));
Button281 = Group273.findObject(( "videoavs\.close"));
Button282 = Group273.findObject(( "button\.vid\.max"));
Button283 = Group273.findObject(( "button\.vid\.restore"));
Layer288 = Group273.findObject(( "player\.main\.resizer"));
Layer289 = Group273.findObject(( "drawer\.resizer"));
Group274 = Group273.findObject(( "buttons\.video"));
Group275 = Group273.findObject(( "buttons\.vis"));
Group276 = Group273.findObject(( "buttons\.video\.detach"));
Group277 = Group273.findObject(( "buttons\.vis\.detach"));
Button284 = Group277.findObject(( "button\.vis\.detach"));
Button285 = Group276.findObject(( "button\.vid\.detach"));
Group278 = Group273.findObject(( "buttons\.video\.switchto"));
Group279 = Group273.findObject(( "buttons\.vis\.switchto"));
Button286 = Group279.findObject(( "button\.vis\.Switchto"));
Button287 = Group278.findObject(( "button\.vid\.Switchto"));
Layer290 = Group273.findObject(( "openclosehider"));
Layout270 = Group273.getParentLayout();
Container272 = Layout270.getContainer();
GuiObject291 = Group273.findObject(( "AVSGroup"));
GuiObject291.hide();
ConfigAttribute17 = ConfigAttribute176;
ConfigAttribute18 = ConfigAttribute172;
ConfigAttribute19 = ConfigAttribute178;
ConfigAttribute20 = ConfigAttribute174;
ConfigAttribute21 = ConfigAttribute175;
func242(Layout270, ( "VideoAVS"));
if(( ( ConfigAttribute174.getData() == ( "1")) && ( ConfigAttribute175.getData() == ( "1")))) {
Layer290.show();
} else {
Layer290.hide();
}
Int294 = 0;
return Null;
}
Layout270.onSetVisible(Boolean onoff)
{
if(( ! Int292)) {
Int292 = 1;
if(( ! Layout271)) {
Layout271 = Container272.getLayout(( "shade"));
}
func15544();
func15214();
}
return Null;
}
System.onScriptUnloading()
{
func780();
return Null;
}
func14067()
{
return 280;
}
func14079()
{
return 510;
}
func14091(Int 0)
{
return ( ( ( ( Int318 - 6) * ( 3 / 4)) + 55) + 270);
}
func14138()
{
Component Component325;
Component325 = System.getScriptGroup().findObject(( "myviswnd"));
return Component325;
}
func14179()
{
Component Component327;
Component327 = System.getScriptGroup().findObject(( "myvideownd"));
return Component327;
}
func14220()
{
return Null;
}
func14226()
{
GuiObject291.hide();
return Null;
}
func14244()
{
Layer288.setXmlParam(( "resize"), ( "bottomright"));
Layer289.setXmlParam(( "resize"), ( "bottomright"));
Button280.hide();
Layout270.setXmlParam(( "minimum_h"), ( "380"));
GuiObject291.show();
return Null;
}
func14340()
{
Layer288.setXmlParam(( "resize"), ( "right"));
Layer289.setXmlParam(( "resize"), ( "right"));
Layout270.setXmlParam(( "minimum_h"), ( "280"));
Button280.show();
return Null;
}
func14424()
{
Group274.hide();
Group276.hide();
Group278.hide();
Group275.show();
Group277.show();
if(( ConfigAttribute175.getData() == ( "0"))) {
Group279.show();
}
return Null;
}
func14524()
{
Group275.hide();
Group277.hide();
Group279.hide();
return Null;
}
func14566()
{
Group275.hide();
Group277.hide();
Group279.hide();
Group274.show();
Group276.show();
if(( ConfigAttribute174.getData() == ( "0"))) {
Group278.show();
}
return Null;
}
func14666()
{
Group274.hide();
Group276.hide();
Group278.hide();
return Null;
}
func14708()
{
Group279.hide();
if(( ConfigAttribute174.getData() == ( "1"))) {
Layer290.show();
}
return Null;
}
func14760()
{
Group279.show();
Layer290.hide();
return Null;
}
func14790()
{
Group278.hide();
if(( ConfigAttribute175.getData() == ( "1"))) {
Layer290.show();
}
return Null;
}
func14842()
{
Group278.show();
Layer290.hide();
return Null;
}
func14872()
{
Button282.show();
Button283.hide();
return Null;
}
func14902()
{
Button283.show();
Button282.hide();
return Null;
}
func14932()
{
Button282.show();
Button283.hide();
return Null;
}
Button280.onLeftClick()
{
func2978();
return Null;
}
Button281.onLeftClick()
{
func3437();
return Null;
}
Button282.onLeftClick()
{
func9190();
return Null;
}
Button283.onLeftClick()
{
func9658();
return Null;
}
Button284.onLeftClick()
{
func6914();
return Null;
}
Button285.onLeftClick()
{
func6971();
return Null;
}
Button286.onLeftClick()
{
func6682();
return Null;
}
Button287.onLeftClick()
{
func6778();
return Null;
}
Layout270.onMove()
{
func15214();
return Null;
}
func15214()
{
if(func814()) {
if(( ! Int294)) {
Button281.setXmlParam(( "image"), ( "player\.button\.videoavs"));
Button281.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.pressed"));
Button281.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.hover"));
Button280.setXmlParam(( "image"), ( "player\.button\.videoavs\.up"));
Button280.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.up\.pressed"));
Button280.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.up\.hover"));
Int294 = 1;
}
} else {
if(Int294) {
Button280.setXmlParam(( "image"), ( "player\.button\.videoavs"));
Button280.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.pressed"));
Button280.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.hover"));
Button281.setXmlParam(( "image"), ( "player\.button\.videoavs\.up"));
Button281.setXmlParam(( "downimage"), ( "player\.button\.videoavs\.up\.pressed"));
Button281.setXmlParam(( "hoverImage"), ( "player\.button\.videoavs\.up\.hover"));
Int294 = 0;
}
}
return Null;
}
func15544()
{
Button Button344;
Button344 = System.getScriptGroup().findObject(( "button\.vis\.misc"));
if(Button344) {
if(( ConfigAttribute188.getData() == ( "1"))) {
Button344.setXmlParam(( "action"), ( "Vis_Menu"));
} else {
Button344.setXmlParam(( "action"), ( "Vis_Cfg"));
}
}
return Null;
}