-
... t.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? 220@400; }; view = EZCompositeView( parent, bounds ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; controller.remove; }); views = (); vi ...
-
... , 15, 15, 20)).states_([["?"]]).action_({ Hadron.openHelpFile; }); statusView = CompositeView(win, Rect(0, win.view.bounds.height - 20, win.view.bounds.width, 18)).background_(Color.gray(0.8)); statusStString = StaticText(statusView, Rect(1 ...
-
... ); con.gui.keys = #[cursor]; con.gui.guis.put(\cursor, { | win | var x, xw, w = CompositeView(win, Rect(0, 0, 860, 48) ); x = ~labelW + 4; xw = ~sliderRect.value.width - ~labelW; con[\but] = Button(w, Rect(0, 0, 75, 24)) .states_([["cursor" ...
-
... pass an instance of this class to the topbar object. makeView{ mainComposite = CompositeView(parent,bounds).resize_(5); this.makeScoreView } remake{ if(scoreListView.notNil){ scoreListView.remove; scoreListView = nil }; usessionMouseEvents ...
-
... 0).insetBy(4,4) }; } { bounds = bounds ? Rect(1000, 350, 220, 400); }; view = EZCompositeView( parent, bounds ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; controller.remove; }); views = (); vi ...
-
... 0).insetBy(4,4) }; } { bounds = bounds ? Rect(1000, 350, 220, 400); }; view = EZCompositeView( parent, bounds ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; controller.remove; }); views = (); vi ...
-
... ame, spread, delayMs, lpHz, hpHz; nodeName = ("audio"++i).asSymbol; container = CompositeView.new(w, 550@120); container.decorator = FlowLayout(container.bounds); container.background = Color.rand; StaticText.new(container, Rect(0,0,60, 10) ...
-
... sNil ) { bounds= 350 @ (this.class.viewNumLines * (viewHeight + 4)) }; view = EZCompositeView( parent, bounds, gap: 4@4 ); bounds = view.asView.bounds; view.resize_( resize ? 5 ); this.addCtrl; plotView = ScaledUserView.withSliders( view, b ...
-
... CtrSliders, varCtrSliders, synthNameBoxes = Array.newClear(10); }); cview = GUI.compositeView.new(window, Rect(0, 0, totalWidth, 80)); cview.decorator = FlowLayout(cview.bounds, leftMargin @ upperMargin, gap @ gap); // build slider section ...
-
... ction_({ |sl| [ \sliderX , sl.x, \sliderY , sl.y].postln; }); t.step_(0.01); n= CompositeView .new(w, 200@300); n.decorator= FlowLayout (n.bounds); v = { |i| DragBoth .new(n, Rect (0, i * 20, 200, 20)).background_( Color .rand ).align_( \ce ...