-
... il, nil, nil, nil, nil, nil, nil, \encoder, nil, nil, nil, nil, nil, nil, nil, \slider, nil, nil, nil, nil, nil, nil, nil, \mw, \pb, \touch, \xtouch, \ytouch, \omni]; // reserved types correspond to argument names or control types // that w ...
-
... round(0.01)) .action_({arg numBox; this.updateAmp(numBox.value); }); ampSlide = Slider(win, (width * 0.23 - 10) @ 30) .value_( spec.unmap(ctkPMod.amp.ampdb) ) // map it! .action_({arg slide; this.updateAmp(spec.map(slide.value)); }); ins = ...
-
... ber of display items to use, e.g. how many fields for text display, or how many sliders for single-number parameters. parent a parent view on which to display. If nil, a new window is created; parent can also be an existing window or a comp ...
-
... s methods Instance Methods Inherited instance methods Examples ( // use as multislider - del time vals on top, feedback on the bottom // max delay time is 1 second, delaytime and fb are initialized to 0.0 // and are controlled by the GUI. T ...
-
... r.volume.volume_(spec.map(val/127)) }) }; // scene 1: // map first 8 volumes to sliders [\sl1, \sl2, \sl3, \sl4, \sl5, \sl6, \sl7, \sl8].do { |key, i| this.mapCCS(scene, key, { |ccval| var lastVal = lastVals[key]; var ampSpec = \amp.asSpec; ...
-
GMFaderSlider : GMZZSlider { var thisMinAlpha = 0.2; var thisAlpha = 0; var thisSliderRatio = 0.8; var thisDisplayValue = true; var thisFontRatio = 0.3; var thisRoundValue = 0.01; var thisCenterValue = true; var thisDisplayFunction = nil; v ...
-
... o allow value to be quantized. thumbSize is used for both width and height of a slider thumb, while thumbWidth or thumbHeight are typically used for only one dimension. x and y are used for mouse clicks. Take a look at a similar SC widget t ...
-
... ecs of this form for an arrayed control. May also be a SimpleNumber for a dummy slider with fixed value. Defaults to nil. Also takes a Function of indices that returns a valid arg. ctrReplace a spec pair collection of a form like ctrBefore ...
-
... e); //add defaults t.tabHeight_(20).tabCurve_(3); //populate view v=t.views[0]; Slider(v, Rect(20,20,320,20)); //add more views t.add("extraTab, but not custom") ) ⧉ ✔ New Syntax ( // create the TabbedView2 t=TabbedView2.new; //add defaults ...
-
... ass.initClassTree(GUIEvent); osx = (parent: GUIEvent.osx); osx.use { ~cvGUI = ~nslider; ~multicvGUI = ~multislider; ~svGUI = ~popup; ~settingsGUI = { |win, name =">", settings| ~simpleButton.value(win) .states_([["sv"]]) .action_( { setting ...