-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.screenBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resiz ...
-
... var w, txt, tmppoints, all, userview; tmppoints = []; w = Window("ixi drawer", Rect(128, 64, 540, 460)); userview = UserView(w,w.view.bounds) .mouseMoveAction_({|v,x,y| tmppoints = tmppoints.add(Point(x,y)); v.refresh; }) .mouseUpAction_({ ...
-
... ) .setSpec( \center, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \radius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) );
-
... s = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.screenBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resiz ...
-
... , colors are. var events, length, lastY, step, valRange, c3y; bounds = bounds ? Rect(0,0,400,400); //events = this.midiTrackTypeEvents(track, type, channel); length = this.length.max(1); case { type === 'noteOn' } { //[track, absTime, \note ...
-
... ot; } ); // using spec for sliders: ( var w, c, d; w = Window .new( "control" , Rect (128, 64, 340, 160)); w.front; c = Slider .new(w, Rect (10, 10, 300, 30)); d = StaticText .new(w, Rect (10, 40, 300, 30)); c.action = { d.string = "unmappe ...
-
... ,{ var p; p = Patch ( instr ); Sheet ({ arg f; var esp,tf; tf = SCTextField (f, Rect (0,0,500,350)); tf.string = instr.func.def.sourceCode; p.gui(f.startRow); ActionButton (f.startRow, "PLAY Pbind" ,{ if(esp.isPlaying,{ esp.stop }); esp = P ...
-
... amp, ampBus.asMap], addAction: \addToTail); }.fork; win = Window("Harmo", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( frame_color ); // Multislider multiSlider = MultiSliderView(win, Rect( margin, margin, ...
-
... r last margin fixtures = argFixtures; win = Window.new( "SimpleDMXFixturesGui", Rect( 0.0, 0.0, width, height ) ).front; win.addFlowLayout( layoutMargin, layoutGap); views = fixtures.collect{|fixture| UserView(win, viewExtent) .drawFunc_{|m ...
-
... .string_( " units" ) .align_( \left ) .resize_(2); audio = SmoothButton( comp, Rect( comp.bounds.right - (80+8+60), 1, 40, 12 ) ) .label_( ["audio", "audio"] ) .border_( 1 ) .radius_( 2 ) .value_( showAudio.binaryValue ) .hiliteColor_( Col ...