Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. NMLShout Quark

    ... xtView, <>tag="//!!"; classvar <>width=1250, <shouts, <codeDumpFunc; classvar <>rect; *initClass { shouts = List.new; codeDumpFunc = { |str| if (str.beginsWith(tag)) { this.new(str.drop(tag.size)) } }; rect = Rect(0, 0, 1024, 80); } *makeWi ...

  2. DualNumberEditorGui Quark

    ... <fractsl; slider { arg layout, x=100,y=15; var r; slv = GUI.slider.new(layout, Rect(0,0,100,15)); slv.setProperty(\value,model.spec.unmap(model.int)); slv.action_({arg th; model.activeValue_(model.intspec.map(th.value) + model.fractspec.ma ...

  3. PlayerPoolGui Quark

    PlayerPoolGui : AbstractPlayerGui { var triggers,guis,rect,selectedBox; guiBody { arg layout; // has a select button var minWidth,prev=0,indicators,wrapEvery; ActionButton(layout,"release",{ this.releaseAll }); if(model.list.notEmpty,{ minW ...

  4. WFSPathBox Quark

    ... editor.object }; } { editor.front; }; }; ^editor; } setViews { |inWFSPath| var rect; if( wfsPath.isWFSPath2 && { (rect = wfsPath.asRect).notNil } ) { view.fromBounds = rect.scale(1@ -1).insetBy(-2,-2); } { view.fromBounds = Rect(0,0,20,20) ...

  5. SmoothRangeSlider Quark

    ... one, and the hilite area shows the range. ( w = Window ( "SmoothRangeSlider" , Rect ( 300 , 150 , 220 , 220 ) ).front; b = SmoothRangeSlider ( w, Rect ( 90 , 30 , 40 , 160 ) ) .lo_( 0.25 ) .hi_( 0.75 ) .action_({ |sl| [ sl.lo, sl.hi, thisT ...

  6. CueTriggerCP Quark

    ... Display = false }; options.largeDisplayBounds ?? { options.largeDisplayBounds = Rect(window.bounds.left - 670, 900, 600, 600)}; options.infoDisplay ?? { options.infoDisplay = false }; options.cueButtonFont ?? { options.cueButtonFont = Font( ...

  7. KeyPlayerGui Quark

    ... minSize: %\n".postf(minSize); } calcBounds { var defBounds; if(bounds.isKindOf(Rect)) { bounds.setExtent( max(bounds.width, minSize.x), max(bounds.height, minSize.y) ); ^this }; defBounds = Rect.fromPoints(defPos, defPos + minSize + (skin. ...

  8. KeyPlayerGui Quark

    ... minSize: %\n".postf(minSize); } calcBounds { var defBounds; if(bounds.isKindOf(Rect)) { bounds.setExtent( max(bounds.width, minSize.x), max(bounds.height, minSize.y) ); ^this }; defBounds = Rect.fromPoints(defPos, defPos + minSize + (skin. ...

  9. DMXGui Quark

    ... + 1; xsize = 300; ysize = 105+130+10; w = w ?? { w = Window.new("DMX Control", Rect(xposScreen, yposScreen, xsize + 10, ysize)).front; //w.view.background_(Color.black); w.view.decorator = FlowLayout(Rect(4, 4, w.bounds.width, w.bounds.hei ...

  10. SGME_TooltipHandler Quark

    ... 2f"); ^(prefix + value); } } showTooltip { |x, y| var text = this.makeText; var rect = Rect(x, y, (text.size+1) * 6, 20); hideTooltipTask.notNil.if({ hideTooltipTask.stop }); if (SGME_TooltipHandler.enabled.not) {^this}; tooltipWindow.notNi ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow