-
... ce methods Examples ( s.waitForBoot({ // only needed if you are using sound w = Window.new.front; // store various kinds of objects in the drag source // a string source a = DragSource(w, Rect(10, 10, 150, 20)).align_(\center); a.object = " ...
-
... e=0| if(i.class.asSymbol == \Integer) { x[i].set(\g, gate) } }; w = Window("Computer MIDI Keyboard", Rect(0, 0, 500, 220)); w.front .onClose_{ { |i| x[i].free }!n }; kView = w.view; bView = w.view; b = { |pare ...
-
... // (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 ...
-
... addProc(\a, { |val| (val * 1.5).tanh }); a.dump // example for making a control window by hand for customization ( w = Window("Influx control", Rect(0, 630, 300, 200)).front; w.layout = VLayout( HLayout( VLayout( StaticText(w, 190@20).strin ...
-
... even existing. Who reads the doc anyway ? Have fun making noise. ( var win = Window.new( "MiniXul - Dirty Sound Maker", Rect( 0, 0, 1200, 800 ) ); var draw_h_slider; var margin = 10; var lfo_value = 0; var lfo_rate_value = 1.ex ...
-
... ons; // For the sake of this example, disconnect all... // (Watch the "Connect" window in QjackCtl to see this in action) SCLOrkJack.disconnectAll; // ...and load your saved connections back from the file (a dialog box will open): SCLOrkJac ...
-
... 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 ...
-
... t , or by the default 1.0 . You'll want to call this in UserView: -drawFunc or Window: -drawFunc . You probably want to keep this the same at all times unless you want speed up or slow things down. . clear this deletes all the particles an ...
-
... 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 ...