|
|
|
@ -12,7 +12,6 @@
|
|
|
|
TODO:
|
|
|
|
TODO:
|
|
|
|
- Get artist initials in Windows too.
|
|
|
|
- Get artist initials in Windows too.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
(function wcHelperPanel (thisObj) {
|
|
|
|
(function wcHelperPanel (thisObj) {
|
|
|
|
/* Build UI */
|
|
|
|
/* Build UI */
|
|
|
|
function buildUI(thisObj) {
|
|
|
|
function buildUI(thisObj) {
|
|
|
|
@ -36,18 +35,20 @@
|
|
|
|
//****//
|
|
|
|
//****//
|
|
|
|
|
|
|
|
|
|
|
|
win.artistName.text = system.callSystem("whoami");
|
|
|
|
win.artistName.text = system.callSystem("whoami");
|
|
|
|
|
|
|
|
|
|
|
|
var myButtonGroup = win.add ("group");
|
|
|
|
var myButtonGroup = win.add ("group");
|
|
|
|
myButtonGroup.spacing = 4;
|
|
|
|
myButtonGroup.spacing = 4;
|
|
|
|
myButtonGroup.margins = 0;
|
|
|
|
myButtonGroup.margins = 4;
|
|
|
|
myButtonGroup.orientation = "row";
|
|
|
|
myButtonGroup.orientation = "row";
|
|
|
|
win.checkbox1 = myButtonGroup.add( "checkbox", undefined, "Dupli:")
|
|
|
|
win.checkbox1 = myButtonGroup.add( "checkbox", undefined, "Dupli:")
|
|
|
|
win.checkbox1.value = true;
|
|
|
|
win.checkbox1.value = true;
|
|
|
|
win.button1 = myButtonGroup.add ("button", undefined, firstButton);
|
|
|
|
win.button1 = myButtonGroup.add ("button", undefined, firstButton);
|
|
|
|
win.button2 = myButtonGroup.add ("button", undefined, secondButton);
|
|
|
|
win.button2 = myButtonGroup.add ("button", undefined, secondButton);
|
|
|
|
win.button3 = myButtonGroup.add ("button", undefined, thirdButton);
|
|
|
|
var myButtonGroup2 = win.add ("group");
|
|
|
|
win.button4 = myButtonGroup.add ("button", undefined, fourthButton);
|
|
|
|
win.button3 = myButtonGroup2.add ("button", undefined, thirdButton);
|
|
|
|
myButtonGroup.alignment = "center";
|
|
|
|
win.button4 = myButtonGroup2.add ("button", undefined, fourthButton);
|
|
|
|
myButtonGroup.alignChildren = "center";
|
|
|
|
myButtonGroup2.alignment = "center";
|
|
|
|
|
|
|
|
myButtonGroup2.alignChildren = "center";
|
|
|
|
|
|
|
|
|
|
|
|
win.button1.onClick = function(){
|
|
|
|
win.button1.onClick = function(){
|
|
|
|
btnPlus1();
|
|
|
|
btnPlus1();
|
|
|
|
@ -68,7 +69,7 @@
|
|
|
|
win.layout.layout(true);
|
|
|
|
win.layout.layout(true);
|
|
|
|
|
|
|
|
|
|
|
|
return win
|
|
|
|
return win
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Show the Panel
|
|
|
|
// Show the Panel
|
|
|
|
|