-
... s([0,di+1]); sg = spline.guiClass.new(spline).gui(nil,nil,(specs?[]).clipAt(di),userView:uv); sg.setDomainSpec(domainSpec); sg.setZoom(fromX,toX); sg.color = Color.hsv(di * (model.numDimensions.reciprocal),1,0.5); sg.showGrid = false; sg.al ...
-
... itXiiSoundSculptor { arg server, channels, setting; var soundfile, sndfileview, userView; var startPoint, endPoint, outbus, outbuspop, globalvol, globalVolSl, pitch, pitchSl, startButt; var pointcolor, strokecolor, pointsize, pointlist, lin ...
-
... } } *keydownFunc { ^{ |view, key| // for some reason, the view handed in is the userView - WTF??? var w = MultiTouchPad.guiWin; var func = keyCmds[key]; func.value(w); } } }
-
... keyDownAction = { |view, key| MTP.keydownDict[key].value(view, key); }; uview = UserView(guiWin, guiWin.view.bounds).resize_(5) .background_(Color.grey(0.4)); uview.drawFunc_(defaultDrawFunc); guiOn = true; ^guiWin.front; } *resetActions { ...
-
... keyDownAction = { |view, key| MTP.keydownDict[key].value(view, key); }; uview = UserView(guiWin, guiWin.view.bounds).resize_(5) .background_(Color.grey(0.4)); uview.drawFunc_(defaultDrawFunc); guiOn = true; ^guiWin.front; } *resetActions { ...
-
... in= Window("EaseGallery", Rect(100, 100, width, height), false).front; var usr= UserView(win, Rect(0, 0, width, height)); var drawBox= {|pos, class ...arguments| var rect= Rect(0, 0, boxWidth, boxHeight); var arr= Array.fill(boxWidth, {|i| ...
-
... ed bugs: * Refixed the save/load mechanism, hopefully properly this time. * The UserView code now uses the new coordinates system. So Hadron now requires SC 3.3.1 minimum, and SwingOSC 0.62 on systems that use it. * Fixed the code that was ...
-
... ote: this will leave stray clocks running //--changes 080819: //added metronome userview //changed fps to dur for update rate //--changes 080815: //added isPlaying flag //added RedMstGUI class and helpfile //--changes 080814: //added skipEm ...
-
... 5); } init { |parent, bounds, argMode = \noteOnOff| this.setColors; this.view = UserView( parent, bounds ); this.view.drawFunc = this.baseDrawFunc; this.view.mouseDownAction = { |vw, x, y| this.valueAction = y.linlin( 0, vw.bounds.height, 1 ...
-
... nt, bounds); } init { |parent, bounds| items = []; transforms = []; this.view = UserView(parent, bounds) .background_(Color.white) .drawFunc_({ var penClass= try{if(\GUI.asClass.notNil, {GUI.pen})}?Pen;//avoids gui redirect preDrawFunc.valu ...