-
... lue: index, addrForbidden: \GUI, ); };*/ selector.mouseUpAction = {|knob, x, y, button| var index; var closestValue = this.closestDiscreteValue(knob.value); knob.value = closestValue; index = this.selectorValueToIndex(closestValue); synthiG ...
-
... ndow (which you should not use) which shows the standard In/Outs, Kill and Hide buttons for all plugins. The bounds of the canvas are defined in your *new method. extraArgs: If extra arguments for your objects are supplied by the user, they ...
-
... e = inf; var locked = false; var thisFontRatio = 0.4; var thisFontInstance; var buttonSize = 0; var thisDefaultStringColor; var disabledColor; var buttonMargin = 3; *new { ^super.new.init; } init { super.init; // Allowed events this.setEven ...
-
... erent instrument feel. //////// tests // attach these functions to your (HW/SW) Buttons: NTMI.inph.stepWPre(1); // next NTMI.inphlux.presets.findKeyForValue(NTMI.inphlux.weights); NTMI.inph.stepWPre(-1); // prev NTMI.inph.setWPreIndex; // r ...
-
... pZone.addFlowLayout; #startBtn, stopBtn = [ \start, \stop ].collect { |name, i| Button(topZone, Rect(i * (butWidth + 2) + 2, 2, butWidth, 20)) .states_([ [name, Color.white, Color.clear], [name, Color.white, Color.blue(1.0)] ]) .action_({ t ...
-
... //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*6.5); btn0= Button(win, Rect(po, 20, pw, 20)) .states_(drawModes.collect{|symbol| [symbol.asString]}) .action_({|view| if(view.value==0, { animate= false; }, { animate= tru ...
-
... nto a process, and resume the process with the new material with the touch of a button. Part of the composition process, then, is creating your own components and trying them out with different materials until you find combinations you like ...
-
... nto a process, and resume the process with the new material with the touch of a button. Part of the composition process, then, is creating your own components and trying them out with different materials until you find combinations you like ...
-
... ry { vc.free } }, { try { drag.object.free }; }); drag.string = "free"; }); GUI.button.new(~midiControlFlow, 80@20) .states_([ ["use VProxy", Color.new255(191, 0, 0), Color.new255(190, 198, 225)], ["use Voicer", Color.new255(191, 0, 0), Col ...
-
... seOn{ if(stack.size>0){ var dep=stack.last.view; dep.responseOn(this,stack.last.buttonid); responseOffObject=[dep,stack.last.buttonid]; // responseOffObject=(view:dep,buttonid: stack.last.buttonid);//better implementation to be tested } } r ...