Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (216) Code (31) Doc (58) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. NodeSnapshot Quark

    ... et({ |sn| { var wrapperView; currentSnapshot = sn; wrapperView = View().layout_(VLayout( this.makeHeader(), view = (ScrollView() .canvas_(View().layout_(VLayout( this.makeViewNode(sn.root), nil ).margins_(0).spacing_(0))) ) ).spacing_(0).ma ...

  2. PaneView Doc

    ... rizontal/vertical panes(aka tiles) Location: NOT INSTALLED! See also: HLayout , VLayout Description Pane(tile) manager for views. Class Methods . new Creates a new instance of PaneView and makes it a child of another View("parent") PaneView ...

  3. sLauncher Quark

    ... .availableBounds.center, size/2, size/2)); win.userCanClose= false; win.layout= VLayout( StaticText().string_("Click to launch instrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString ...

  4. Cavern_Class by scottintokyo (Scott L Simon) Code

    ... mWin.background = Color.blue(0.3,1); mWin.layout = HLayout( VLayout( StaticText().string_("Cavern_1"), Button() .states_([ ["OFF", Color.gray(0.2), Color.green(0.8)], ["ON", Color.gray(0. ...

  5. SCLOrkClockView Quark

    ... arent, clock | ^super.new(parent).init(clock); } init { | clock | this.layout = VLayout.new( HLayout.new( StaticText.new.string_("name: " ++ clock.name), beatFlasherView = View.new.background_(Color.black) ), HLayout.new( StaticText.new.str ...

  6. gui_example_scrolling Quark

    ... lor.grey) .value_(0.dup(history)) .elasticMode_(1); }.dup(numChan); win.layout= VLayout(*msliders); updateFunc= {|...args| if(Main.elapsedTime-lastTime>0.016, { //downsample to 60fps lastTime= Main.elapsedTime; { args.do{|x, i| var vals= ms ...

  7. gui_example_simple Quark

    ... dup(numChan); numbers= {NumberBox().canFocus_(false)}.dup(numChan); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); updateFunc= {|...args| if(Main.elapsedTime-lastTime>0.016, { //downsample to 60fps lastTime= Main.elapsedTim ...

  8. README Quark

    ... der2D(p.panes[0], p.panes[0].bounds.extent).resize_(5); {|v| p.panes[1].layout_(VLayout(Knob(), HLayout(Knob(), v))); {|p| {|p| Knob(p, p.bounds.extent).resize_(5) }.(p.panes[0]); {|p| Slider2D(p, p.bounds.extent).resize_(5) }.(p.panes[1]); ...

  9. redGUIOverview Doc

    ... ( var w= Window("RedGUI test", Rect(100, 200, 300, 400)).front; w.view.layout= VLayout(); Red2DSlider(w); RedButton(w); RedButton(w, nil, "aaa", "bbb"); RedKnob(w); RedLevelIndicator(w).value_(0.5); RedMultiSliderView(w); RedNumberBox(w); ...

  10. compose_complex_view Doc

    ... lue_(value); displayValue.value(value); }); sliderView.layout_( HLayout() .add( VLayout() .add(text) .add(slider), ) .add(field) ); sliderView.front; ) ⧉ ✔ Centralizing Views actions with a single Function This example is the continuation o ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow