Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (137) Code (2) Doc (33) Help (6) Quark (96) SCDoc ↗ Forum ↗ Google ↗
  1. VGTagGui Quark

    ... s = keys ?? { event.keys.asArray.sort }; allViews = (); updateActions = () .put(TextView.implClass, { |val, view| view.string = val.asCompileString }) .put(PopUpMenu.implClass, { |val, view| view.value = view.items.indexOfEqual(this.stringF ...

  2. Pattern Quark

    ... f = GUI.font.new("Courier", 12.0); height = source.bounds(f).height + 20; tf = TextView(l, Rect(0, 0, width, height)); tf.string = source; tf.font_(f); tf.syntaxColorize; if(layout.isNil, { l.resizeToFit }); } ));

  3. RePost Quark

    ... bounds).front; rePostWin.alpha_(0.8); bounds = bounds.moveTo(0,0); }; ^rePost = TextView(parent, bounds).enterInterpretsSelection_(false); } *clear { posts.clear; rePost.string = ""; } } + Object { repost { this.asString.repost } repostln { ...

  4. sText Quark

    ... u().items_(#["Floats (0-1)", "MIDI Velocity (0-127)", "dB"]) ), amplitudesText= TextView(), HLayout( amplitudesSendPop= PopUpMenu().items_(#["sCluster", "sDrone", "sGliss", "sStream-patterns", "sStream"]), amplitudesSendBut= Button().states ...

  5. HistoryRepGui Quark

    ... skin.buttonHeight + 2); }; this.name_("History"); filters = [\all, ""]; textV = TextView(zone, Rect(0, 0, (zone.bounds.width - 4), 148)) .string_("") .enterInterpretsSelection_(false) .keyDownAction_({ |txvw, char, mod, uni, keycode| // cha ...

  6. RepublicJITGui Quark

    ... ; lifeComp.decorator.nextLine; view; }; zone.decorator.shift(0, 5); shoutView = TextView(zone, Rect(0, 0, width - 4, 24)) .resize_(8).font_(Font("Helvetica", 14)) .string_("shout here - use tab to send") .usesTabToFocusNextView_(false) .ent ...

  7. SCStatusBox Quark

    ... super.new.init(argParent, argBounds) } init { |argParent, argBounds| view = GUI.textView.new(argParent, argBounds) .hasVerticalScroller_(true) .hasHorizontalScroller_(true) .onClose_({ this.remove }); default.isNil.if({ this.makeDefault }); ...

  8. SCStatusBox Quark

    ... super.new.init(argParent, argBounds) } init { |argParent, argBounds| view = GUI.textView.new(argParent, argBounds) .hasVerticalScroller_(true) .hasHorizontalScroller_(true) .onClose_({ this.remove }); default.isNil.if({ this.makeDefault }); ...

  9. HrDIYSynth Quark

    ... o function. You must return 2 channels of audio inside function."; { codeView = TextView(window, Rect(10, 10, 430, 350)) .string_("{ arg input; input; }") .usesTabToFocusNextView_(false) .enterInterpretsSelection_(false) .editable_(true); i ...

  10. child Quark

    ... indow/"); Radicles.cW.loadStartUp; // No call window here: its text is a hidden TextView when Qt is available // (sload and sconcat select text in it), else a stand-in for the string, // which `save` stores in projects. Radicles.cW.instVarP ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow