Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... onments. Class Methods * new ( window , bounds , font , qpalette ) Create a new TextView for a post window. Arguments: window A Window in which to place the TextView. bounds A Rect for the TextView font A Font. qpalette A QPalette. * window ...

  2. UtopiaExamplesMultiUser_1 Quark

    ... Window("Chatty Betty").front; ~win.layout = VLayout(~textField = TextField(), ~textView = TextView()); ~textField.action_({|v| ~chatter.send(v.string); v.string = "" }); // to get updates, just add a dependant ~chatter.addDependant({|chatt ...

  3. CollidingControl Quark

    ... "colliding_" ++ app.id ++ "_" ++ tab.id; var defStr = tab.track.makeDefStr(tab.textView.string, name, play); tab.post("compiling"); try{ def = tab.track.makeDef(defStr, name, play); }; if (def.notNil){ view.stringColor_(Color.white); view. ...

  4. extTextView Quark

    + TextView { addString {arg string; this.setString((string ++ ""), this.selectionStart); } backspace { this.setString("", this.selectionStart - 1, this.selectionStart); } }

  5. TextViewFactory Quark

    /* FILENAME: TextViewFactory DESCRIPTION: Factory class AUTHOR: Marinus Klaassen (2021Q4) */ TextViewFactory { *createInstance { |caller, class| var newInstance = TextView(); class = class.asString(); if (class.contains("text-patternbox-env ...

  6. UtopiaExamplesSingle_1 Quark

    ... Window("Chatty Betty").front; ~win.layout = VLayout(~textField = TextField(), ~textView = TextView()); ~textField.action_({|v| ~chatter1.send(v.string); v.string = "" }); // to get updates, just add a dependant ~chatter1.addDependant({|cha ...

  7. GlobalsGui Quark

    ... 23, b: 234); b = 1 c = 2 d = 4 f = 1234 // * try changing the window size - the textviews adjust. // // * try writing into a textfield and evaluating // - this should set the global variables. To check, do: this.dump

  8. Sandrode Quark

    ... rWeight = 1; classvar <> keyCmds; var <name, <center, <size, <rect, <rectArea, <textView; var <touching, <aura; var <weights; *initClass { all = (); allTouching = (); auras = (); keyCmds = ( $.: { MultiTouchPad.stop }, $ : { MultiTouchPad.s ...

  9. RepublicOneBigGui Quark

    ... 50, 240, 300)); w.front; // replace dummy Republic post view with RePost q.pr = TextView(w, Rect(0,0,500,200)); q.pr.string_("... Republic posts here ..."); q.pr.background_(Color.grey(0.8)).stringColor_(Color.black); // example buttons ( q ...

  10. RepublicGui Quark

    ... ckground_(Color(0.1, 0.7, 0.1)); }; view.decorator.shift(0, 5); chatViewWrite = TextView(view, Rect(0, 0, width, 24)).resize_(8); chatView = TextView(view, Rect(0, 0, width, 170)).resize_(8); chatViewWrite.font = Font("Helvetica", 14); chat ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow