-
... itializeView(); this.name = argName; value = 0; } initializeView { mainLayout = HLayout(); this.layout = mainLayout; numberBox = NumberBoxFactory.createInstance(this, class: "numberbox-synthbox-wholenumber"); numberBox.action_({ |num| if (a ...
-
... 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 ...
-
... }) .value_(d.playFreq); // mode - sines or envelope guiData.modeViews = HLayout( // mode popup ListView().minWidth_(96).maxWidth_(96).minHeight_(30).maxHeight_(30) .items_(["Mode: Sines", "Mode: Envelope"]) .stringColor_ ...
-
... 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 ...
-
... ion_({ Synth(\GMhelp, [\env, env]); }); // Nest it inside a Layout win.layout_( HLayout() .margins_(0) .spacing_(0) .add(button) .add(envView) ); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ A more compl ...
-
... = 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 ...
-
... iElements[\arrayButtons].add(thisButton); guiElements[\playersView].layout.add( HLayout( thisButton.maxWidth_(300), nil, thisKnob.labelView, thisKnob.knobView, thisKnob.numberView.maxWidth_(40) ), ); }); }); }; //GUI window = Window.new("Pi ...