-
... , height= 300, w, wgrav, world, n= 20; //--world w= RedWindow("collision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav ...
-
... unds , parent ) Arguments: server The server to display its node tree. bounds A Rect , or any object responding to the .asRect method. parent The View or Window where a NodeTreeView placed. Inherited class methods Instance Methods . close C ...
-
... // set the dirpath to something else: b.settings.dirpath; ( w = Window("PCPre", Rect(0,600,500,500)).front; w.addFlowLayout; e = EZPopUpMenu(w, Rect(0,0,150, 20), \pcPre, b.settingNames, { |ez| b.setCurr(ez.item) }, labelWidth: 50); [ \sto, ...
-
... .isNil, { numIns = 4; }, { numIns = 2 * argExtraArgs[0].asInteger; }); bounds = Rect(200, 200, max(250, 50 + (20 * numIns)), 150); ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, numIns, numOuts, argCanvasXY).ini ...
-
... mment if you figure out how to fix it... ( var win = Window( "Color Picker", Rect( 0, 300, 600, 300 ) ); var picker1; var picker2; var picker3; ~get_color_picker = { var color = Color( 1, 0, 0 ); var hsv = [ 0, 1, 1 ]; ...
-
... desired size and position where to display a JITGui. can be nil, a Point , or a Rect . JITGuis know their minimum size ( minSize ), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. Wit ...
-
... desired size and position where to display a JITGui. can be nil, a Point , or a Rect . JITGuis know their minimum size ( minSize ), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. Wit ...
-
... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...
-
... av, world, n= 50, minDist= 50, cnt= 0; //--world w= RedWindow("distance lines", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.001]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,g ...
-
... av, world, n= 50, minDist= 50, cnt= 0; //--world w= RedWindow("distance lines", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.001]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,g ...