-
... .view.isClosed.not }) { { view.refresh }.defer; }; } close { // close enclosing window view.view.getParents.last.findWindow.close; } front { // close enclosing window view.view.getParents.last.findWindow.front; } isClosed { ^view.view.isClo ...
-
... // (0.5/tan(pi/6)).asCompileString; this.createRects; parent.isNil.if{ parent = Window.new(\Manta, Rect(100, 100, 345, 235)).decorate; parent.front; }; this.createView(parent, extent); } refresh { view.refresh; } padExtent_ {|val| padExtent ...
-
... eButtons= List.new; var externalButtons= List.new; var infoTextString; var win= Window("sKeyCpad", winRect); win.layout= HLayout( GridLayout.rows( *plate.collect{|arr| arr.collect{|number| plateButtons.add(Button().states_([ [number, palett ...
-
... size; // number of states in the dictionary lastStateNum = params[3]; win = GUI.window.new("- polymachine -", Rect(point.x, point.y, 760, tracks*62), resizable:false); indexBoxArray = Array.fill(tracks, {arg i; BoxGrid.new(win, bounds: Rect ...
-
... (skin.margin.y * 4); var zoneMargin = if ( (numItems > 0) or: { parent.isKindOf(Window.implClass) }) { skin.margin } { 0@0 }; zone.decorator = FlowLayout(zone.bounds, zoneMargin, skin.gap); zone.resize_(2); this.makeTaskGui(lineWidth, heigh ...
-
... (skin.margin.y * 4); var zoneMargin = if ( (numItems > 0) or: { parent.isKindOf(Window.implClass) }) { skin.margin } { 0@0 }; zone.decorator = FlowLayout(zone.bounds, zoneMargin, skin.gap); zone.resize_(2); this.makeTaskGui(lineWidth, heigh ...
-
... ), active: activeChannels.includes(i), data: [] ) }.dup(board.numChannels); //--window var win= Window("focus widget", Rect(10, 100, 512, 320)); win.view.minSize= Size(410, 220); win.background= Color.white; win.drawFunc= { Pen.color= Color ...
-
... OfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ /*UTransportWindow { var <transporView; *new{ |score, parent, bounds| ^super.init(score, parent, bounds) } init{ |parent, bounds| this.makeGui(parent, bounds); this.addCont ...
-
... g.setFrontText("Change presets on slot 1:"); defer { Butz(\NTMI).run(\presets); Window.find(\presets).moveTo(968.0, 100.0); NTMI.pre.butAction(0); }; 6.do { 1.wait; NTMI.pre.stepNdefInf(NTMI.ndefs[0], nil) }; NTMI.g.setFrontText("Select sou ...
-
... n space of [-1, 1] for x and y server : on which server to watch parent : which window or view to show on bounds : view bounds. // supply locations by hand - 1@1 is left bottom. z = SpatioScope ([ -0.5 @ -0.7, 0.5 @ -0.4, 0.8 @ 0.8, -0.5 @ ...