-
... world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0]; //no gravity world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,gra ...
-
... amePad compasses. // tests w = Window("Compass").front; z = CompassView(w.view, Rect( 100, 100,100,100)); z.action = { |comp| comp.dump }; z.nameView.string = "test"; z.value = 0; z.value = rrand(1, 8); z.valueAction = 0; z.valueAction = rr ...
-
... et the shape that will be drawn for each point. Arguments: method One of: [\fillRect, \fillOval, \strokeOval, \strokeRect] . symbolSize Size in pixels of the shape plotted for each point Arguments: val pixels . symbolColor Color of the shap ...
-
... utz slot4 nUFO nUFO nufmod recButs . MAINFX RAND . MAIN VOLUME */ // gui code directory NTMI.g.dir = thisProcess.nowExecutingPath.dirname; // ++ "xxx"; // subdict for all Main_NTMI window items NTMI.g.main = NTMI.g.main ? (); // style, look ...
-
... ton board only 2K2 resistor }; //--window var win= Window("time series widget", Rect(10, 100, 512, 576)); var ts= "Time (s)"; var np= Point("0".bounds(f1).width/2, "0".bounds(f1).height/2); var op= Point("Ω".bounds(f1).width/2, "Ω".bounds(f ...
-
... View.skin ); } { labelWidth = -4; }; vws[ \valueView ] = SmoothNumberBox( view, Rect(labelWidth + 4,0,bounds.width-(labelWidth + 4),bounds.height) ) .action_({ |vw| action.value( vw, vw.value ); } ).resize_(5) .step_( stp ) .scroll_step_( s ...
-
... if( skin.font.class != Font.implClass ) { // quick hack to make sure font is correct skin.font = Font( Font.defaultSansFace, 10 ); }; if( parent.isNil ) { parent = chain.class.asString; }; if( parent.class == String ) { if( (singleWindow or ...
-
... .asInteger, width = (screen.width * 0.8).asInteger, win = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 20)), sinPts = 400, sampPts = 20, freq = 1, fsl, sinColor = Color.red, sampColor = Color.black; ...
-
... tQWindow {|argName, argBounds, resize, border, scroll| argBounds= argBounds ?? {Rect(128, 64, 300, 300)}; if(scroll, {"RedQWindow: can't scroll".warn}); view= QTopView(this, argName.asString, argBounds.moveTo(0, 0), resize, border); resizab ...
-
... tQWindow {|argName, argBounds, resize, border, scroll| argBounds= argBounds ?? {Rect(128, 64, 300, 300)}; if(scroll, {"RedQWindow: can't scroll".warn}); view= QTopView(this, argName.asString, argBounds.moveTo(0, 0), resize, border); resizab ...