mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 19:47:54 +01:00
16 lines
373 B
Objective-C
16 lines
373 B
Objective-C
#include <lib/std.mi>
|
|
#include "attribs.m"
|
|
|
|
Global Button btnVideoReattach;
|
|
|
|
System.onScriptLoaded() {
|
|
initAttribs();
|
|
BtnVideoReattach = getScriptGroup().findObject("button.video.reattach");
|
|
}
|
|
|
|
BtnVideoReattach.onLeftClick() {
|
|
Container c = getContainer("main");
|
|
if (c.getLayout("shade").isVisible()) c.switchToLayout("normal");
|
|
video_detach_attrib.setData("0");
|
|
}
|