-
... ist; var makeLine, makeDots, dotColors; plotWindow = Window("Timeline", bounds: Rect(700, 500, width: 800 , height: 120), scroll: true).front; plotUserView = UserView(plotWindow , plotWindow.view.bounds); plotWindow.view.keyDownAction = { a ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Accessing Instance and Class Variables mouseDown (x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clickCount, a ...
-
... ew", bounds).front; resize = 5; bounds = (bounds ?? {(parent.asView.bounds)}).asRect.moveTo(0,0); bounds !? { bounds = bounds.insetBy(2) }; }; ^super.new.init( parent, bounds, resize); } init { |parent, bounds, inResize| var sliderSpace; sl ...
-
... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...
-
... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...
-
... ntSize = 11; marginTop = 3; } createMainWindow { var winWidth, winHeight, windowRect; winWidth = 256; winHeight = 330; windowRect = Rect( GUI.window.screenBounds.width-winWidth*0.5, GUI.window.screenBounds.height*0.5, winWidth, winHeight); ...
-
/* w = Window.new("w", Rect(10,10, 600, 600)).front; a = XiiEventRecorder(s, 1, w); // next to do: instead of diskin, make an array of small buffers // buffer recording starts when onset detected and stopped when off. then put into array. S ...
-
... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...
-
... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...
-
... queID, argExtraArgs, argCanvasXY| var numIns = 0; var numOuts = 2; var bounds = Rect((Window.screenBounds.width - 350).rand, rrand(50, Window.screenBounds.height), 350, 50); var name = "HrADC"; ^super.new(argParentApp, name, argIdent, argUn ...