mirror of
https://github.com/jorgevasquezp/wc_helper.git
synced 2026-08-16 15:31:02 +00:00
Removed some whitespace
This commit is contained in:
+44
-43
@@ -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) {
|
||||||
@@ -23,52 +22,54 @@
|
|||||||
var thirdButton = "render";
|
var thirdButton = "render";
|
||||||
var fourthButton = "rename";
|
var fourthButton = "rename";
|
||||||
var win = (thisObj instanceof Panel)? thisObj : new Window('palette', windowTitle);
|
var win = (thisObj instanceof Panel)? thisObj : new Window('palette', windowTitle);
|
||||||
win.spacing = 0;
|
win.spacing = 0;
|
||||||
win.margins = 1;
|
win.margins = 1;
|
||||||
var myArtistGroup = win.add ("group");
|
var myArtistGroup = win.add ("group");
|
||||||
var artistNameLabel= myArtistGroup.add("statictext");
|
var artistNameLabel= myArtistGroup.add("statictext");
|
||||||
win.artistName= myArtistGroup.add("statictext");
|
win.artistName= myArtistGroup.add("statictext");
|
||||||
var artistRoleLabel= myArtistGroup.add("statictext");
|
var artistRoleLabel= myArtistGroup.add("statictext");
|
||||||
win.artistRole= myArtistGroup.add("dropdownlist",undefined,["Offline","Finishing"])
|
win.artistRole= myArtistGroup.add("dropdownlist",undefined,["Offline","Finishing"])
|
||||||
win.artistRole.selection = 0;
|
win.artistRole.selection = 0;
|
||||||
artistNameLabel.text = "Artist:";
|
artistNameLabel.text = "Artist:";
|
||||||
artistRoleLabel.text = "Role:";
|
artistRoleLabel.text = "Role:";
|
||||||
//****//
|
//****//
|
||||||
|
|
||||||
win.artistName.text = system.callSystem("whoami");
|
win.artistName.text = system.callSystem("whoami");
|
||||||
var myButtonGroup = win.add ("group");
|
|
||||||
myButtonGroup.spacing = 4;
|
var myButtonGroup = win.add ("group");
|
||||||
myButtonGroup.margins = 0;
|
myButtonGroup.spacing = 4;
|
||||||
myButtonGroup.orientation = "row";
|
myButtonGroup.margins = 4;
|
||||||
win.checkbox1 = myButtonGroup.add( "checkbox", undefined, "Dupli:")
|
myButtonGroup.orientation = "row";
|
||||||
win.checkbox1.value = true;
|
win.checkbox1 = myButtonGroup.add( "checkbox", undefined, "Dupli:")
|
||||||
win.button1 = myButtonGroup.add ("button", undefined, firstButton);
|
win.checkbox1.value = true;
|
||||||
win.button2 = myButtonGroup.add ("button", undefined, secondButton);
|
win.button1 = myButtonGroup.add ("button", undefined, firstButton);
|
||||||
win.button3 = myButtonGroup.add ("button", undefined, thirdButton);
|
win.button2 = myButtonGroup.add ("button", undefined, secondButton);
|
||||||
win.button4 = myButtonGroup.add ("button", undefined, fourthButton);
|
var myButtonGroup2 = win.add ("group");
|
||||||
myButtonGroup.alignment = "center";
|
win.button3 = myButtonGroup2.add ("button", undefined, thirdButton);
|
||||||
myButtonGroup.alignChildren = "center";
|
win.button4 = myButtonGroup2.add ("button", undefined, fourthButton);
|
||||||
|
myButtonGroup2.alignment = "center";
|
||||||
|
myButtonGroup2.alignChildren = "center";
|
||||||
|
|
||||||
win.button1.onClick = function(){
|
win.button1.onClick = function(){
|
||||||
btnPlus1();
|
btnPlus1();
|
||||||
//versionUpSelectedComps(1);
|
//versionUpSelectedComps(1);
|
||||||
}
|
}
|
||||||
win.button2.onClick = function(){
|
win.button2.onClick = function(){
|
||||||
btnOwn();
|
btnOwn();
|
||||||
}
|
}
|
||||||
win.button3.onClick = function(){
|
win.button3.onClick = function(){
|
||||||
btnRender();
|
btnRender();
|
||||||
}
|
}
|
||||||
|
|
||||||
win.button4.onClick = function(){
|
win.button4.onClick = function(){
|
||||||
btnTest();
|
btnTest();
|
||||||
//alert( getItemByName( getTodayString() ));
|
//alert( getItemByName( getTodayString() ));
|
||||||
}
|
}
|
||||||
|
|
||||||
win.layout.layout(true);
|
win.layout.layout(true);
|
||||||
|
|
||||||
return win
|
return win
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Show the Panel
|
// Show the Panel
|
||||||
|
|||||||
Reference in New Issue
Block a user