-
... n ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp.bounds.right - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .action_({ UChainIOGUI( this.window.name, originalBounds, chain, replaceCurrent: true ...
-
... h * names.first.size; parent = parent ?? { parent = Window(this.class.asString, Rect(440,800, width + 4 , 200)).front; parent.view.decorator = FlowLayout(parent.bounds.moveTo(0,0), gap, gap); parent; }; comp = comp ?? { comp = CompositeView ...
-
... rammatically, using the arrow keys, or using the number keys to set the value directly. The Ctrl and Alt keys change the step value when changing the value via mouse. See also: CV NumberBox Creation / Class Methods *new (parent, bounds) par ...
-
... 600, height= 300, w, world, n= 15, att; //--world w= RedWindow("boids test 1d", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector[width], nil, 10, 0); //dim,grav,maxvel,damp //--objects { var loc= RedVector[width].rand; var ve ...
-
... bounds.width; thisHeight = bounds.height; }); parent ?? { parent = Window(name, Rect(thisX, thisY, thisWidth+14, thisHeight+7), server: server); }; // parent.acceptsMouseOver_(true); cvcGui ?? { parent.onClose_({ if(this.editor.notNil, { if ...
-
... var <tabLabel = \Tab; *new{|bounds| var newTab; //Default bounds and convert to rect if it is a point if(bounds == nil, {bounds = Rect(0,0,512,805)} ); if(bounds.class == Point, {bounds = bounds.asRect} ); newTab = super.newCopyArgs(bounds) ...
-
... 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 ...
-
... 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 ...