-
... .string_( item[0] ).align_( \center) .font_(Font(Font.defaultSansFace, fSize)), UserView.new( window, Rect( wMod*(index)+xOff+hOff, hMod*5+vOff, step, h )) ] ; guiArr = guiArr.add(guiElement) ; }) ; // if scope is absent, redrawn the layout ...
-
... Color = Color.black; gridNodes = Array.newClear(columns) ! rows; mouseTracker = UserView.new(win, Rect(bounds.left, bounds.top, bounds.width+1, bounds.height+1)); //bounds = mouseTracker.bounds; pen = GUI.pen; columns.do({arg c; rows.do({ar ...
-
... unds.postln; infComp.resize_(4); infComp.addFlowLayout(2@2, 2@2); q.inph.ioUV = UserView(q.inph.ioWin, Rect(size2, 0, size2, size2) ).resize_(5); q.inph.ioUV.background_(Color.grey(0.5)); NTMI.inph.modes = [\setRel, \setAbs]; // StaticText( ...
-
MinBox a minimal gui Inherits from: UserView MinBox is a custom GUI widget that attempts to emulate slider, knob, numberbox, button, and the "EZ" container classes, all in a minimal amount of space. You may also specify a ControlSpec, as we ...
-
... ew(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.parent.bound ...
-
... s, { this.refresh }) .put( \curves, { this.refresh }); } refresh { if( plotView.userView.view.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| selected = index; this.changed( \selected, selected ); this.refresh } select ...
-
... roup | var gsv = GroupSnapshotView(group); var groupName = "group"; gsv.view = (UserView() .background_(groupColor) .drawFunc_(this.drawBorder(_, groupOutline)) ); gsv.view.layout = VLayout().spacing_(3).margins_(5); gsv.view.layout.add( St ...
-
... mat(morph.deviceID), 400@300).front; window.onClose_{ morph.guiClosed }; view = UserView(window, window.view.bounds.insetBy(20,20)); view .resize_(5) .background_(bgColor); view.drawFunc = {|view| var width, height; var avgPos = [morph.avg. ...
-
... LinesButtonLeft, ampLinesButtonRight, ampLinesPopup; var ampUsr, ampUsrAnim, ampUserView; var ampLfoDepthElement= SGUIelement(); var ampLfoDepthSpec= ControlSpec(0, 100, 'lin', 1, defaultAmpLfoDepth, "%"); var ampLfoRateElement= SGUIelement ...
-
... Point(10, 10), f0); }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.05, 0.19, 0.9, 0.76]*win.bounds.extent.asArray)); usr.background= Color.new255(245, 245, 245, 220); usr.clearOnRefresh= true; usr.drawFu ...