Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ot, right, transferPlot; var boxes = [], sliders = Dictionary.new; var layout = HLayout([ left = VLayout(StaticText().string_("List of Windows").maxHeight_(50).align_(\topLeft)), stretch: 1 ], [ VLayout( mid = CompositeView(), StaticText(). ...

  2. QuarkEditor Quark

    ... pendencyView { |index, dep| var view, text, removeButton; view = View().layout_(HLayout( text = TextField().string_(dep).action_({ |v| this.setDependency(index, v.string); }), removeButton = Button().states_([["-"]]).maxSize_(18@18).action_ ...

  3. sKeyDpad Quark

    ... alette.window, palette.highlight] ]).fixedWidth_(25)).last; }.dup(4)}.dup(2) ), HLayout( *{ redButtons.add(Button().states_([ ["", palette.window, Color.red], ["", palette.window, palette.highlight] ]).fixedWidth_(25)).last; }.dup(4) ), HLa ...

  4. Connection Doc

    ... onnections directly. ( ~slider = Slider(); ~view = View(bounds:600@200).layout_(HLayout(~slider)).front; ~connection = ~slider.connectTo({ |slider| "Slider changed: %".format(slider.value).postln; }); ~slider.action = { |v| v.changed(\value ...

  5. GMColorPicker Doc

    ... avorite color !".postln; "".postln; }); // Nest it inside a Layout win.layout_( HLayout( colorPicker, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMo ...

  6. diff_syntax_colorizer Quark

    ... t(*{ |j| var line = { StaticText.new } ! ~maxLineSize; views = views.add(line); HLayout(*line.collect { |x| [x, align:\left] }) } ! ~lines.size) ); ~update = { views.do { |line, j| line.do { |v, i| var ci = try { ~indices[j][i] }; var str = ...

  7. Galton Board Simulator by simon (Dindoléon) Code

    ... /galton-board-sim/6202 ( var win = Window(); var display = UserView().layout_(HLayout().margins_(30)); var availableNotes = [58, 60, 61, 63, 65, 66, 68, 70].midicps; var timesNotesWerePlayed = Array.fill(availableNotes.size, { 0 }); ...

  8. RedEffectModuleGUI Quark

    ... ey==\out}; view= this.prContainer(params.size-1); views= List.new; view.layout= HLayout( *params.collect{|assoc| var k= assoc.key; var v= assoc.value; if(k==\mix, { views.add( RedGUICVSlider( nil, nil, redEffectModule.cvs[v], {|x| redEffect ...

  9. SCMTempoClockView Quark

    ... his.parent.isNil, { this.persistState(); }); }; } initializeView { mainLayout = HLayout(); this.layout = mainLayout; this.deleteOnClose = false; this.name = "BPM"; labelTempoClock = StaticTextFactory.createInstance(this); labelTempoClock.st ...

  10. extWindow Quark

    ... h_(75); button2. action = {nofunc.value; win.close}; win.layout = VLayout(text, HLayout(button1, button2)); win.front; } }

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow