Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (229) Code (26) Doc (44) Help (34) Quark (125) SCDoc ↗ Forum ↗ Google ↗
  1. extSCWindow-asCode Quark

    // W. Snoei 2005 + Object { asCode { ^this.asCompileString; } } + FlowLayout { // special version for FlowLayout asCode { ^(this.class.asString ++ "(" + [bounds, margin, gap].join( ", ") + ")" ); } }

  2. AbsLayout Quark

    ... pondsTo( \decorator_ ) ) // both swingosc and osx { if( this.decorator.class != FlowLayout ) // prevent flowlayout removal { if( bool == false ) { this.decorator = AbsLayout( this ); } { /* this.decorator = nil; */ } // remove if true }; }; ...

  3. VGMulTreeGui Quark

    ... siteView(w, Rect(4,4, 98, 700)) .background_(Color.gray(0.9)); comp .decorator_(FlowLayout(comp.bounds, gap * 2, gap * 2)); name = inName; Button(comp, Rect(2, 2, 90, unitHeight)) .states_([[name.asString]]) .font_(Font(*["Helvetica", 24])) ...

  4. RedGUICVSliderNumber Quark

    ... { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); numb= RedNumberBox(cmp, cmp.decorator.indentedRemaining.width@14); cmp.decorator.nextLine; slider= RedSlider(cmp, cmp.decorator.in ...

  5. DMXGui Quark

    ... size + 10, ysize)).front; //w.view.background_(Color.black); w.view.decorator = FlowLayout(Rect(4, 4, w.bounds.width, w.bounds.height), 2@2, 2@2); w; }; // unclutter the windows on the screen: yposScreen = yposScreen + 160; if ( yposScreen ...

  6. RedGUICVSliderNumberName Quark

    ... { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); numb= RedNumberBox(cmp, cmp.decorator.indentedRemaining.width@14); cmp.decorator.nextLine; slider= RedSlider(cmp, cmp.decorator.in ...

  7. README Quark

    ... | PaneView(p, \vertical, 2.rrand(9)) }); ) ``` ```supercollider ( // responsive FlowLayout inside panes w = Window().front; PaneView(w.view, \horizontal, 2, [1,2]).panes.do({|p| var i = ScrollView(p, p.bounds.extent).hasBorder_(false).resiz ...

  8. RedGUICVKnobNumberName Quark

    ... { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); width1= bounds.width*0.8; height1= 14; knob= RedKnob(cmp, width1@width1); cmp.decorator.nextLine; numb= RedNumberBox(cmp, width1@h ...

  9. CVCenterLoadDialog Quark

    ... enBounds.height-480).div(2), 500, 480 ), false); window.view.decorator = flow = FlowLayout(window.view.bounds, Point(7, 7), Point(3, 3)); replaceBg = CompositeView(window.view, Point(flow.indentedRemaining.width, 29)); flow.nextLine; midiBg ...

  10. VuView Quark

    ... .0, 0.8)]; w = SCWindow ( "Meter" , Rect (300,400,300,120)); w.view.decorator = FlowLayout (w.view.bounds); w.front; m = VuView (w, 120@80); Knob (w, 32@32) .action = { |v| var mappedValue; mappedValue = [0,1.2].asSpec.map(v.value); m.needl ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow