-
... |nameWid, height| // nameView = DragBoth(zone, Rect(0,0, nameWid, height)) // .font_(font).align_(0); // } grabOrdered { orderedNames = nil; orderedNames = this.getState[\editKeys]; } moveName { |name, index| orderedNames.remove(name); ord ...
-
... |nameWid, height| // nameView = DragBoth(zone, Rect(0,0, nameWid, height)) // .font_(font).align_(0); // } grabOrdered { orderedNames = nil; orderedNames = this.getState[\editKeys]; } moveName { |name, index| orderedNames.remove(name); ord ...
-
... 00 @ 20 ).knobSize_( 0 ).relThumbSize_( 0.05 ).setSpan( 0.25 , 0.75 ); ) string font align stringColor stringOrientation SmoothRangeSliders can also have a label displayed on top. The label can be set using the string_ method. By default th ...
-
... ight - 50; w = f.bounds.width; menu = GUI.listView.new(f,Rect(3,0,200,h)); menu.font = GUI.font.new("Courier",10); menu.background = Color(0.7,0.7,0.7,0.5); menu.items = [insp.name]; menu.action = { val = insps.at(menu.value); }; menu.mouse ...
-
... out, Rect(0, 0, 31, ActionButton.defaultHeight)) .states_([["run"], ["idle"]]) .font_(GUI.font.new(*GUI.skin.fontSpecs)) .action_({ |v| model.run(v.value == 0); }); layout.startRow; mainView = FixedWidthFlowView.new(layout, Rect(0, 0, width ...
-
... out, Rect(0, 0, 31, ActionButton.defaultHeight)) .states_([["run"], ["idle"]]) .font_(GUI.font.new(*GUI.skin.fontSpecs)) .action_({ |v| model.run(v.value == 0); }); layout.startRow; mainView = FixedWidthFlowView.new(layout, Rect(0, 0, width ...
-
... ); this.setEditModeView( object.editMode ); } makeView { |parent, inBounds| var font; var height = 16; bounds = inBounds; if( bounds.isNumber ) { height = bounds; bounds = nil }; bounds = bounds ?? { (((height + 2) * 5) + ((60 + 2) * 2)) @ ...
-
... p1, pop2, pw, po; var img, imgFunc; var verticalScale, horizontalScale; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); var f3= Font("Helvetiva", 20); var colors= [ Color.new255(224, 56, 45), Col ...
-
... UI.skins.put(\redMstGUI, ( background: Color.red(0.8), foreground: Color.black, fontSpecs: ["Monaco", 9] )); skin= GUI.skins.redMstGUI; }); fnt= Font(skin.fontSpecs[0], size); colBack= skin.background; colFore= skin.foreground; colBack2= co ...
-
... g Pen.color = Color.gray(0.5); Pen.stringLeftJustIn(dimString, dimStringBounds, Font.monospace(10)); // strobeDur Pen.color = Color.white; Pen.stringLeftJustIn(strobeDurString, strobeDurBounds, Font.monospace(10)); Pen.color = Color.grey(1, ...