-
... er is in the box default style individual box styling named styles (eg playing) mouse events / dragging styles Each box is an environment and stores variables. These are used to set display style and to hold sounds, patterns, players, funct ...
-
... icon if no copy func keydown action enable/disable x/y dragging other modifiers mouse move action so control drag can be used to change size could do zooming as well but fonts do not scale well */ UserViewObjectsManager { var <>view,<>bound ...
-
... hView.xyView ) .put( \select, { editView.selected = pathView.selected }) .put( \mouse_hit, { editView.apply( true ) }) .put( \edited, { |obj, what ...moreArgs| if( moreArgs.includes( \no_undo ).not ) { editView.object = pathView.object; }; ...
-
+SCView { normalizeXY { | x, y | // turn mouse in pixels to [0,1] range var b = this.bounds; x = (x - b.left)/b.width; y = 1 - ( (y - b.top)/b.height); ^[x, y] } } +SCEnvelopeView { addPointAtMouse { | x, y | var xs, ys, i, val; #x, y = thi ...
-
// for those missing the PD GUI !!! Bang { var win, bounds; var mouseTracker, backgrDrawFunc; var background, fillmode, fillcolor; var state; var downAction, upAction; *new { arg w, bounds; ^super.new.initToggle(w, bounds); } initToggle { a ...
-
... s velocity, which is visualized by the color of the key (amount of red). If the mouse is moved out of the key's area while pressed, the note will hold until clicked again. downAction, upAction these variables contain Functions to be execute ...
-
... GUI, { var myTdef = Tdef(\NTDemo_GUI); var myName = myTdef.key; var playInfluxByMouse; "\n\n*** Tdef('%') starts!\n\n".postf(myName); NTMI.ndefs.do(_.end); NTMI.ndefs.do(_.vol_(0.25)); Butz.closeAll; Butz(\NTMI).run(\Main_NTMI); 0.2.wait; N ...
-
... pal window = Window.new("Test Window", Rect(100, 100, 300, 100)) .front .acceptsMouseOver_(true); // Asegurar que la ventana acepta eventos mouseOver // Función para mostrar el tooltip showTooltip = { arg x, y, text; hideTooltipTask.notNil. ...
-
... ter. Most computer interfaces are bi-directional, but some, such as to a simple mouse or microphone, are uni-directional. */ /* **** INSTRUMENT **** A musical instrument is a device created or adapted for the purpose of making musical sound ...
-
//agents. //with mouse controlling world gravity //with sound ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 4, objsFunc, fmbusses, rmbusses, delay, dist, drums; //--synthesis SynthDef(\teknoDrum, {|out= 0, t_trig= 0, fmb ...