-
... Box(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), nb2 ) ); //Setup Event Network //network ENdef(\x, { var sumSig, sum; //in var nb1ES = ...
-
... spec.constrain(initValue); view = CompositeView(parent, bounds); view.layout = HLayout( number = NumberBox().maxWidth_(numberWidth), slider = Slider().orientation_(\horizontal) ).margins_(0).spacing_(2); number.value_(value) .action_({ |vi ...
-
... th.postcs }, $ , { Tdef(\u).play }, { ~start.post; ",".postln } ) }; w.layout = HLayout(sl, b); )
-
... ).action_{|view| task.stop; task= this.prRoutine.play(clock); }.maxHeight_(lh), HLayout( bpmView= RedNumberBox().value_(clock.tempo*60).action_{|view| var bps= (view.value/60).round(0.0001); clock.tempo= bps; bpsView.value= bps; //(this.cla ...
-
... = VLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; stepsLayout = HLayout(); stepsLayout.margins = 0!4; stepsLayout.spacing = 2; mainLayout.add(stepsLayout); footerView = View(); footerLayout = HLayout(); footerLayout.margins ...
-
... lueAction = 0; }); } { |error| postln(error); } } initializeView { mainLayout = HLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; popupMenuBuffers = PopUpMenu(); popupMenuBuffers.action = { |sender| selectedBufferpoolItem = buf ...
-
... rrentBuffer.path) }; p.value = 0; p.action.value(p); update.value; w.layout.add(HLayout(p, iv, dv)); w.layout.add(v); )
-
... Button(); q.but2 = Button(); q.text = StaticText(); q.window = Window().layout_(HLayout(q.sl, q.but1, q.but2, q.text)); q.defaults = { rrand(0.0,1.0) } ! 10; q.numPages = q.defaults.size; ENdef(\x, { //get guis as event streams //for this c ...
-
... s.redFrik.background; view.layout= VLayout( pop= RedPopUpMenu().maxHeight_(lh), HLayout( RedStaticText(nil, nil, "bps:").maxWidth_(30).maxHeight_(lh), num= RedNumberBox().maxWidth_(bw).maxHeight_(lh), bpm= RedStaticText(nil, nil, "(bpm:)"). ...
-
... v, char| actions[char.asSymbol].value(this); }); if (border.not) { view.layout_(HLayout( WindowHandleView().maxWidth_(10).minWidth_(10), widgetLayout = VLayout() ).spacing_(0).margins_(2)); }{ view.layout_(HLayout( widgetLayout = VLayout() ...