-
... ing )); defFile.close; filePath.postln; } edit {|elHeight = 20| this.makeWindow(Rect(0, 0, 620, Window.screenBounds.height - 20), elHeight) } makeWindow {|bounds, elHeight = 20| var playButton, saveButton, codeView; var pad = 10; var width; ...
-
... }; if( parent.class == String ) { parent = Window( parent, bounds = bounds ?? { Rect(128 rrand: 256, 64 rrand: 128, 342, 400) }, scroll: false ).front; }; this.makeViews( bounds ); } speakerConf_ { |newSpeakerConf| controller.remove; speake ...
-
... l.spline.points.last[0]}; splineGui = this.make2DSpline(focusedDim).gui(layout, Rect(0, 0, layout.bounds.width, 150), model.spec, ControlSpec(0, maxTime)); splineGui.onSelect = { arg i; pointSelector.activeValue = if(i.isNil, {-1}, {i}); }; ...
-
... unds; var id, ins, slots; spec = [-120, 12, \db].asSpec; bounds = argBounds ?? {Rect(400, Window.screenBounds.height - 120, 1200, 60)}; parent.notNil.if({ win = parent; width = parent.bounds.width; dec = parent.view.decorator; }, { width = ...
-
... w.isNil or:{ window.isClosed }, { window = Window("OSC-command-name collector", Rect( Window.screenBounds.width/2-250, Window.screenBounds.height/2-250, 500, 500 ), scroll: true); window.onClose_({ this.collect(false); [progressRoutine, col ...
-
... dow = SCLOrkWindow.new("PublicDomain - player " ++ (playerNumber + 1).asString, Rect.new( 0, 0, 1080, 1080)); window.alwaysOnTop = true; window.view.keyDownAction_({ | view, char, modifiers, unicode, keycode | this.prKeyDown(char, modifiers ...
-
... ake('wsetta') }); WinBounds.addMake('wsetta', { NTMI.wse.win = Window('wsetta', Rect.aboutPoint(Window.screenBounds.center, 200, 150) ).front; NTMI.wse.win.view.addFlowLayout; Button(NTMI.wse.win, 100@30).states_([['new files']]); TdefGui(T ...
-
... ols with radian/degree units, e.g. rotate, tilt... *new { |pointView, bounds = (Rect(0,0, 420, 530))| ^super.new(bounds: bounds).init(pointView); } init { |pointView| pv = pointView; pv.addDependant(this); this.onClose_({ pv.removeDependant ...
-
... gColor; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 190, 300, (2 * (columnWidth + 6)) + 2, 570 ) }; } { bounds = parent.asView.bounds; }; object = inObject ? WFSOptions.current ?? { WFSOptions.fromPreset( \ ...
-
... t); event.play; event[\dur].wait; } }).play; ) ( var w = Window("adjust start", Rect(100, 100, 820, 50)).front; var sl = Slider(w); sl.orientation = \horizontal; sl.action = { |view| ~start = view.value.linlin(0, 1, 0, a.size) }; sl.keyDown ...