Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ect(150, Window.screenBounds.height - 500, 400, 400)).front; w.view.decorator = FlowLayout(w.view.bounds); StaticText.new(w, Rect(5, 0, 30, 20)).string_("Font").align_(\right); m = PopUpMenu(w, Rect(40, 0, 250, 20)); m.items = Font.availabl ...

  2. FlowViewLayout Doc

    ... wouldExceedBottom Help template Classes | Undocumented classes FlowViewLayout : FlowLayout : Decorator : Object (Undocumented class) Source: SCViewHolder.sc Description This class is missing documentation. Class Methods Inherited class meth ...

  3. Resize Doc

    ... moveTo(0,0).insetBy(20,20)) .background_(Color.rand) .resize_(i); y.decorator = FlowLayout(y.bounds).gap_(0.0 @ 0.0); t = StaticText(y, Rect(0, 0, 40, 40)) .background_(Color.rand.alpha_(0.8)) .resize_(i) .string_(i) .font_(Font("Helvetica" ...

  4. PageLayout Doc

    ... s the common task of creating a Window, adding a FlowView (CompositeView with a FlowLayout on it). It also supports the MVC model by registering controllers that are then removed (sent the .remove message) when the Window closes. Additional ...

  5. MultiSliderView Doc

    ... ndlestick graph: ( var size; size = 350 / 6; w = Window.new; w.view.decorator = FlowLayout(w.view.bounds); m = MultiSliderView(w, Rect(0, 0, 350, 100)); m.value_(Array.fill(size, { 0.01 })); m.isFilled_(true); // width in pixels of each sti ...

  6. EZListView Doc

    ... ple: ( // default with vertical layout w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); g = EZListView.new(w, 230@230, "An ListView:", [ \item0 ->{ |a| ("this is item 0 of " ++ a).postln }, \item1 ->{ |a| ("this is item 1 ...

  7. EZFancySlider Doc

    ... s of sliders on on view. nice tight fit. ( w=Window.new.front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=0@0; 20.do{ EZFancySlider(w, 392@14," Freq ", \freq,unitWidth:30,initVal:6000.rand, numberWidth:60,layout:\horz) ...

  8. EZKnob Doc

    ... ite); ); // lots of knobs on on view ( w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); w.view.decorator.gap = 2@2; 20.do{ EZKnob(w, 180@24, " Freq ", \freq, unitWidth: 30, initVal: 6000.rand, layout: \horz) .setColors(Co ...

  9. Knob Doc

    ... w.acceptsMouseOver = true; // must be true in parent window! w.view.decorator = FlowLayout(w.view.bounds); h = StaticText(w, 150 @ 10); w.view.decorator.nextLine; k = Array(8); 8.do({ |item, i| var knob; knob = Knob.new(w, size @ size) .act ...

  10. ScrollView Doc

    ... -resize mode of the children is ignored. One should not use a decorator such as FlowLayout directly on a ScrollView, only on a container view placed within it. Class Methods Inherited class methods Undocumented class methods ScrollView. new ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow