Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. JITModMIDI Quark

    ... w().fixedHeight_(24) .background_(Color.gray(0.6)) // debugging ; view.layout = HLayout( deleteButton = Button().states_([["X", Color.white, Color.red(0.4)]]) .fixedSize_(Size(16, 16)), nameView = StaticText().string_(name).fixedWidth_(120) ...

  2. PaneView Quark

    ... tion); children.do({|i,k| this.panes[k].layout_(i.isKindOf(Layout).if( { i }, { HLayout(i).spacing_(0).margins_(0) }))})} asView { ^(view ?? container) } horizontal { var pv = container, hw = handle_size, hwl = handle_line_size, vw = (pv.bo ...

  3. GridLayout Doc

    ... organizes views in a grid Source: QLayout.sc Subclasses: QGridLayout See also: HLayout , VLayout , StackLayout , Layout Management Description GridLayout distributes its space into a grid of rows and columns , where each item can occupy on ...

  4. Knob Doc

    ... = false k.canFocus = true ⧉ ✔ Compare Mouse Modes ( var view = View().layout_( HLayout( VLayout(Knob().mode_(\round), StaticText().string_("round")), VLayout(Knob().mode_(\vert), StaticText().string_("vert")), VLayout(Knob().mode_(\horiz), ...

  5. FPSignal Doc

    ... ction to time-varying value. ( a = Slider(); b = Slider(); w = Window().layout_(HLayout(a,b)).front; ) ( ENdef(\x).clear; ENdef(\x, { //first slider as signal var aES = a.enInSig; var bES = b.enIn; (aES |+| bES) .enDebug("val"); }).start ) ...

  6. PatternBoxBindView Quark

    ... d = Color(0.45490196078431, 0.55686274509804, 0.87843137254902); headerLayout = HLayout(); headerLayout.margins = [5, 10, 20, 10]; headerView.layout = headerLayout; mainLayout.add(headerView); dragBothPanel = DragBoth(); dragBothPanel.maxWi ...

  7. Neuromodule Doc

    ... ", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.t ...

  8. WebView Doc

    ... ground = Color.red(1, 0.2); }; browser = View(bounds: 900@700).layout_(VLayout( HLayout( prev, reloadStop, next, urlBox, go ), webview )); browser.front; urlBox.valueAction = "http://supercollider.github.io/" ) ⧉ ✔ helpfile source: /usr/loc ...

  9. SuperDirt Doc

    ... ; w = Window("orbital volume", Rect(240, 240, 300, 500)).front; w.view.layout = HLayout(*~dirt.orbits.collect { |x| var val = spec.unmap(x.get(\amp).ampdb); Slider().value_(val).action_({ |v| x.set(\amp, spec.map(v.value).dbamp.postln) }) } ...

  10. News-Qt-GUI Doc

    ... ze the window: ( w = Window.new(bounds:Rect(100,100,300,80)).layout_( VLayout ( HLayout( Button().states_([["Super"]]), TextField().string_("Collider") ), Button().states_([["SuperCollider"]]) ) ).front; ) ⧉ ✔ See the Layout Management guid ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow