-
... (scaledValue); \)\ .mouseDownAction_(\ |v,x| mapVal.value(x); \);\ \ \ m = GUI .numberBox.new(w, Rect (0, 0, 40, 20));\ m.value = 0;\ m.action = \ valMap.value(m.value) \;\ \ vv.keyDownAction = \ |v, char| \ char.postln;\ if(char == $ , tog ...
-
... ng_("Volume:"), volumeSlider= Slider().orientation_(\horizontal), volumeNumber= NumberBox().maxWidth_(75), StaticText().string_("dB") ), HLayout( StaticText().string_("Snapshots:"),//SGUI.shrink(StaticText().string_("Snapshots")), VLayout( ...
-
... tor_(FlowLayout(comp.bounds, 2@0, 2@4)); unitNames.do { |unitName, j| var box = NumberBox(comp, Rect(0, 0, unitWidth - 4, 18)) .value_(initVals[j]); if(unitName == \ratio) { box.value = tree.nodeAt(name).mulBus.get(paramName).unbubble; box. ...
-
... , <stepCount = 0, <mainLayout, stepsLayout, buttonSteps, <>proxySteps, sliders, numberBoxStepCount, labelStepCount; var <mainLayoutView, <sliderView, <labelView, <numberBoxView, unitView, controlSpecView, proxySteps, proxyStepsMapped, slide ...
-
... x| this.localDetune_(box.value); sendFunc.(localDetune) } ].collect { |func, i| NumberBox(comp, Rect(0,0, width / names.first.size - 3, 20)) .decimals_(3) .action_(func); }; boxes[[0, 1, 2]].do { |box| box.enabled_(false).scroll_(false) }; ...
-
... ow, (dimensions.x - labelWidth - numberWidth) @ dimensions.y); numberView = GUI.numberBox.new(window, numberWidth @ dimensions.y); labelView.string = label; labelView.align = \right; controlSpec = argControlSpec.asSpec; initVal = initVal ? ...
-
... n_({|a| orbit.set(\pan,a.value); panNumBox.value_(a.value); }); var panNumBox = NumberBox() .decimals_(2) .clipLo_(0).clipHi_(1).align_(\center) .scroll_step_(0.1).value_(orbit.get(\pan)).action_({|a| panKnob.value_(a.value); orbit.set(\pan ...
-
... c, <>name, <stepCount = 0, <mainLayout, stepsLayout, buttonSteps, <>proxySteps, numberBoxStepCount, labelSteps, textFieldValueOff, footerView, footerLayout, textFieldValueOn; var <valueOff, <valueOn; *new { | parent, bounds | ^super.new(par ...
-
... , playBtn, rewindBtn, recordBtn, snapshotBtn, saveBtn, loadBtn, timeSlider, timeNumberBox, doUpdateTimeSlider = true, doUpdateTimeNumber = true; /* Description of Parameters * automation The Automation instance this is the GUI of. * win The ...
-
... ; storeArgs.put(item.asSymbol, specs.at(item.asSymbol).default); numBoxes.add ( NumberBox(window, Rect(200, 10 + (count * 30), 80, 20)) .value_(specs.at(item.asSymbol).default) .action_({|num| sliders[count].valueAction_(specs.at(item.asSym ...