Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/resources/skins/Winamp Modern/scripts/video.m

16 lines
373 B
Mathematica
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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");
}