-
... te: it's up to the user to make sure that they are passing a vector with the correct size ScalarField { var <>func, <dim; *new{ |func,dim| if(func.isNil || dim.isNil){ Error("ScalarField: either func or dim is nil").throw }; ^super.newCopyA ...
-
... rawIcon { classvar lightColor, >randomSeed=77, <>globalScale=0.8; *new { |name, rect ... more| rect = (rect ? (32@32)).asRect; ^this.drawFuncs.at(name).value( rect, *more ); // returns pen function } *initClass{ \DrawIcon.asClass.notNil.if{ ...
-
... , newBounds; offSet ?? {offSet = this.screenBounds.width}; { win = this.new("", Rect(offSet, 0, 100, 100)); 0.1.yield; win.fullScreen; 0.1.yield; newBounds = win.bounds; 1.yield; win.endFullScreen; 0.3.yield; win.close; newBounds.postln; }. ...
-
... e works only on the local server!"); }); }); } initFreqScope { arg setting; var rect, scope, pad, font, freqLabel, freqLabelDist, dbLabel, dbLabelDist; var setFreqLabelVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOff ...
-
... w("background should be elastic when you resize the window"); h = HLayoutView(w,Rect(0,0,300,300)); h.background = Color.red(alpha:0.1); h.resize = 5; // elastic Array.fill(q, { arg i; var s; s = Slider(h, Rect(0,0,20,75)); s.value = i / q; ...
-
... losarturoguerra@gmail.com> */ SGME_GUIPanel4 : SGME_GUIPanel { makeWindow { var rect; var image; var left, top; id = 3; super.makeWindow; rect = Rect( left: Window.availableBounds.width/(3/4), top: Window.availableBounds.height/1.9, width: ...
-
... losarturoguerra@gmail.com> */ SGME_GUIPanel2 : SGME_GUIPanel { makeWindow { var rect; var image; id = 1; super.makeWindow; rect = Rect( left: Window.availableBounds.width/4, top: Window.availableBounds.height/1.9, width: window.bounds.width ...
-
... r winW = win.view.bounds.width, winH = win.view.bounds.height, hudH=50, hud, hudRect = Rect(0, winH-hudH, winW, hudH); var keycodes = Platform.case( //<-, ->, ↓, ↑ \osx, {[123,124,125,126,49]}, \linux, {[65361,65363,65364,65362 ...
-
Rect: Filter: Class methods new newSides fromPoints Inherited class methods Undocumented class methods aboutPoint fromArray fromRect Instance methods left top right bottom set setExtent width height origin extent leftTop rightTop leftBottom ...
-
... l)) } ) ); ); ( w = Window("record moves and play them").front; t = Slider2D(w, Rect(0,0, 160, 160)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test).set( \pFreq, \pFreq.asSpec.map(x), \p ...