-
... ts at once. e.g. pelog 3 or slendro 2 newScaleIntervals.collect { |interval, i| NumberBox(compSCT, Rect(0,0, boxwidth -30, 20)) .value_(interval.round(0.001)) .decimals_(3) .action_({ |box| // this writes into VGScale.workScales VGScale.set ...
-
... me.containsi("button") || classname.containsi("slider") || classname.containsi("numberbox") || classname.containsi("checkbox") || classname.containsi("textfield")){ this.dock(child); // Note: we're not passing a name to dock(), so the contr ...
-
... e; recSynth.set(\reclevel, reclevel) ; params[2] = sl.value; }); bufLengthBox = NumberBox.new(win, Rect(10, 90, 40, 16)) .font_(GUI.font.new("Helvetica", 9)) .step_(0.1) .align_(\center) .clipLo_(0.1) .clipHi_(120.0) .value_(params[3]) .act ...
-
... headerView, buttonCollapsable, buttonRandomize, dragBothPanel, textFieldTitle, numberBoxParallelLayers, buttonAddParamView, buttonDelete; var <title, <bindSource, <context, <muteState, <parallelLayers, collapsableState; var <>actionOnBindC ...
-
... 5 @ 15).font_(GUI.font.new("Helvetica", 9)) .string_("Tgt").align_(\right); GUI.numberBox.new(win, 25 @ 15).font_(GUI.font.new("Helvetica", 9)) .value_(tgt).action_({|v| Ê Êv.value = 0.max(v.value); Ê Êtgt = v.value.asInteger; Ê ÊmoveSynth. ...
-
... ter = HLayout(); layoutMain.add(layoutFooter); popupMenuMainSequencerPosition = NumberBoxFactory.createInstance(this, class: "numberbox-patternbox-layers"); popupMenuMainSequencerPosition.clipLo = 0; popupMenuMainSequencerPosition.clipHi = ...
-
... be booted to mute it".warn; // me.value_(0); // }) // }); // // volumeNum = gui.numberBox.new(w, Rect(0, 0, 28, 15)) // .font_(font) // .value_(0.0) // .align_(\center) // .action_({arg me; // var newdb; // newdb = me.value.clip(-90, 6); // ...
-
... ow.view.children.indexOf(me) + 1].value_(db); this.reclevel_(db.dbamp); }); GUI.numberBox.new(window, Rect(window.bounds.width * 0.75, window.bounds.height * 0.15, window.bounds.width * 0.2, window.bounds.height * 0.07)) .value_(0) .action_ ...
-
... er, val) }) .orientation_(\horizontal) .value_(spec.unmap(spec.default)) ; nb = NumberBox() .action_({ |nb| var val, chDex, dex; #chDex, dex = this.getViewIndex; val = if(spec.units == "π", { nb.value * pi }, { nb.value }); sl.value_(spec.u ...
-
... ewRedirect( redirectView ) }, 'unknown': { |parent, bounds, label| var vw; vw = NumberBox( parent, bounds.insetBy( MKtlGUI.margin ) ) .clipLo_(0).clipHi_(1) .step_(0.01).scroll_step_(0.01); if( vw.respondsTo( \maxDecimals_ ) ) { vw.maxDecim ...