-
... ; var data= List[[0, 0, 0]]; //--window var win= Window("accelerometer widget", Rect(10, 100, 512, 360)); var ts= "Time (s)"; var as= "Acceleration (g)"; win.view.minSize= Size(330, 275); win.background= Color.white; win.drawFunc= { var wb= ...
-
... ds = zone.bounds; var height = bounds.height; NTMI.g.main.recBut = Button(zone, Rect(0,0, bounds.width, height * 0.5) ).states_([ ["RECORD?", Color.white, NTMI.g.butGrey], ["Recording!", Color.black, NTMI.g.butGreen] ]).font_(NTMI.g.fontMid ...
-
... }, { SCLOrkSynths.load; }); window = Window.new( name: "SCLOrkSynths", bounds: Rect.new( left: 100, top: 100, width: windowWidth, height: windowHeight ), resizable: false ); window.front; window.view.decorator = FlowLayout.new( bounds: win ...
-
... tatic elements Pen.strokeColor=Color.blue; Pen.alpha=1; // draw world bounds // Rect.aboutPoint(center,half x distance, half y distance) // remember that coordinates are changed respect to draw view // draw sweet spot (on the floor) Pen.add ...
-
... network. Internally, local files are symlinked to current WsWindow's working directory, so they can be placed anywhere in the filesystem. Class Methods . new Create new instance and add it to the window immediately. . init Create new insta ...
-
... 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) ...
-
... edView object parent a parent view. if nil, then a new window is created bounds Rect . if nil then the parent Rect is used labels an array of strings. determines how many tabs there are. default ["tab1", "tab2", "tab3"] colors an array of c ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@20 . label - The label. Default value is nil. If ...
-
... to fill tab historyEditBox = historyWindow.children[0]; historyEditBox.bounds_( Rect( historyEditBox.bounds.left, historyEditBox.bounds.top, bounds.width - historyWidthOffset, historyEditBox.bounds.height ) ); historyListBox = historyWindow ...
-
... mbol -> Point.new(0,0)); satieObjects[\objects].add(name -> UserView.new(window,Rect(posx-(diameter/2), posy-(diameter/2),diameter,diameter))); satieObjects[\objects][name].drawFunc = { Pen.fillColor = colorObject; Pen.fillOval(Rect(0,0,dia ...