-
... queID, argExtraArgs, argCanvasXY| var numIns = 2; var numOuts = 0; var bounds = Rect((Window.screenBounds.width - 250).rand, (Window.screenBounds.width - 90).rand, 250, 90); var name = "HrDAC"; ^super.new(argParentApp, name, argIdent, argUn ...
-
... will be offset so the renderFunc should draw the object at 0,0 todo: selection rectangle copy icon not showing no copy icon if no copy func keydown action enable/disable x/y dragging other modifiers mouse move action so control drag can be ...
-
... nd = color } background { ^view.background } bounds { ^view.bounds } bounds_ { |rect| rect = rect.asRect; view.bounds = rect; uview.bounds = view.bounds.moveTo(0,0); topView.bounds = view.bounds.moveTo(0,0); } add { |child| topView.add( chi ...
-
... ate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.backgr ...
-
... ate.com/physics/ ( var width= 400, height= 400; var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.backgr ...
-
... n ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp.bounds.right - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .background_( RoundView.skin[ 'SmoothButton' ] !? _.hiliteColor ? Color.green ) .acti ...
-
//f.olofsson 2019 ( //--settings var winRect= Rect(0, 60, 800, 120); //x, y, w, h var palette= SGUI.palette; var fnt= SGUI.font.copy.size_(10); var range= #[36, 96]; //minmax range in midinotes, first&last black keys are ignored //--functio ...
-
... of the engine ( x = Synth.newPaused(\Motorklang); w = Window.new("Motor", Rect(150, 266, 950, 300)).front; q = StaticText(w, Rect(835, 20, 100, 100)); y = StaticText(w, Rect(838, 140, 100, 100)); q.string = "km/h"; y.string = "rpm ...
-
... Width = argButtonWidth; if(windowWidth.isNumber,{ // backwards compat wbounds = Rect(20,20,windowWidth ? buttonWidth + 10,height); },{ wbounds = windowWidth.asRect }); layout = parent ?? { isMyLayout = true; PageLayout.new("menu",wbounds,sc ...
-
... idth = argButtonWidth; if(windowWidth.isNumber, { // backwards compat wbounds = Rect(20, 20, windowWidth ? buttonWidth + 10, height); }, { wbounds = windowWidth.asRect }); layout = parent ?? { isMyLayout = true; PageLayout.new("menu", wboun ...