Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SimpleDMXFixturesGui Quark

    ... win.addFlowLayout( layoutMargin, layoutGap); views = fixtures.collect{|fixture| UserView(win, viewExtent) .drawFunc_{|me| var bounds = me.bounds.moveTo(0,0); fixture.desc[\drawFunc].value(fixture, bounds) } }; this.frameRate_.animate_(true) ...

  2. UDragBin Quark

    ... DragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canReceiveDragHandler_({ |vw, x,y| var last; if( x.notNil ) { last ...

  3. UDragBin Quark

    ... DragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canReceiveDragHandler_({ |vw, x,y| var last; if( x.notNil ) { last ...

  4. RedToolsMenu Quark

    ... andardizePath,\n\tnil, //\"AIFF\" \"WAVE\"\n\t\"int16\"\n)" ); }, ['template', 'userview'], { Document( "userview", "(\nvar width= 500, height= 500;\nvar win= Window(\"animation template\", Rect(300, 300, width, height), false);\nvar usr= U ...

  5. ClearDragSink Quark

    ... ds| ^super.newCopyArgs.init( parent, bounds ); } init { |parent, bounds| view = UserView( parent, bounds ); color = Color.blue; all.add( this ); view.onClose = { onClose.value; this.task.stop; all.remove( this ) }; view.canReceiveDragHandle ...

  6. ClearDragSink Quark

    ... ds| ^super.newCopyArgs.init( parent, bounds ); } init { |parent, bounds| view = UserView( parent, bounds ); color = Color.blue; all.add( this ); view.onClose = { onClose.value; this.task.stop; all.remove( this ) }; view.canReceiveDragHandle ...

  7. InfluxGuis Quark

    ... taticText(zone, Rect(0,0,50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.drawFunc = { |u| inNames.do { |name, i| var wid = u.bounds.width / inNames.size; Pen ...

  8. InfluxGuis Quark

    ... taticText(zone, Rect(0,0,50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.drawFunc = { |u| inNames.do { |name, i| var wid = u.bounds.width / inNames.size; Pen ...

  9. ActiveCompositeView Quark

    ... ds ); } init { |parent, bounds| view = CompositeView( parent, bounds ); uview = UserView( view, view.bounds.moveTo(0,0) ).enabled_( true ); uview.mouseUpAction_({ |vw ...args| mouseUpAction.value( this, *args ); action.value( this, *args ); ...

  10. 2a_weights_asBWGrid Quark

    ... and green line left bot - what to put there? Window.closeAll; TODO: split in 4 UserViews that rescale, keeping proportions as is update inVals UV when invals change, outvals when outvals change // hm, cant bench graphics costs? bench { u.r ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow