-
... kground= col} makeWindow {|pos| pos= pos??{Point(100, 100)}; view.front.bounds_(Rect(pos.x, pos.y, 800, 400)).name_(this.class.name) } focus {|flag= true| waveView.focus(flag); } //--private prReadFile {|paths| var files= List.new; paths.do ...
-
... false| this.wsWindowServer !? { if(val, { this.wsWindowServer.sendMsg("/setRedirect", windowID) }, { this.wsWindowServer.sendMsg("/setRedirect") }); } } prPrepareGlobalResponders { responders.add( OSCFunc({|msg, time, addr, recvPort| var c ...
-
... Array; xySlots[i][1] = name; ); }) }) }; window = Window("Widget Editor:"+name, Rect( gapNextX ?? { nextX }, gapNextY ?? { nextY }, 400, 253 )); // window.acceptsMouseOver_(true); xySlots = xySlots.add([Point(nextX, nextY), name]); if(nextX ...
-
... sePos { |mousePos, invert = false| mousePos = mousePos.linlin( super.interactionRect.left, super.interactionRect.right, 0, 1 ); if(invert) { mousePos = 1 - mousePos; }; ^mousePos } // Returns the relative Y position of the cursor getYMouseP ...
-
... sNil) { this.createView(); }; view.front; } createView { window = Window(bounds:Rect(0, 0, 265, 200), resizable:true, border:border); window.autoRememberPosition(\ServerView); view = window.view.minWidth_(265).minHeight_(200); view.keyDownA ...
-
... ow = Window("Dimensions: % : %".format(whichDimensions[0], whichDimensions[1]), Rect(availableBounds.width-size,availableBounds.height-size,size,size)).front; window.view.background_(Color.white); // get the dimensions plotX = whichDimensio ...
-
... ray = switch ( cmd[0], \push, { [ "gsave" ] }, \pop, { [ "grestore" ] }, \strokeRect, { cmd[1].asArray ++ [ "rectstroke" ] }, \fillRect, { cmd[1].asArray ++ [ "rectfill" ] }, // ovalstroke doesn't exist // probably need to use curves for th ...
-
... oveDependant( this ); }; all.remove( this ); } setViews { |inWFSPathBuffer| var rect; // views[ \name ].value = inWFSPathBuffer.name ? ""; views[ \filePath ].value = inWFSPathBuffer.filePath; views[ \loop ].value = inWFSPathBuffer.loop.bina ...
-
... and side var maxNumTargets= 50; //maximum number of amp and freq targets var winRect= Rect(242, 242, 1150, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.blue(2/3, 0.5))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var ...
-
... ut = DelayC.ar(signalOut, 0.2, combDelaySec - ControlRate.ir.reciprocal); // correct for buffer size LocalOut.ar(fb*signalOut); SendTrig.kr(Impulse.kr(4), 0, outputDB); outputDB.dbamp*HPF.ar(Mix.new(signalOut), hpFq); //DEBUG outputDB.scope ...