mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 20:05:47 -04:00
Initial community commit
This commit is contained in:
15
Src/resources/skins/Winamp Modern/scripts/video.m
Normal file
15
Src/resources/skins/Winamp Modern/scripts/video.m
Normal file
@ -0,0 +1,15 @@
|
||||
#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");
|
||||
}
|
Reference in New Issue
Block a user