Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... pha_(0.7); win.view.background_(Color.clear); win.alwaysOnTop_(true); txtView = TextView(win, win.bounds.moveTo(0,0)); txtView.background_(Color.clear); txtView.font_(Font("Monaco", 32)); txtView.resize_(2); width = rect.width; this.setMess ...

  2. PostWindow Quark

    ... ow as first argument, otherwise use the .window class method".warn; }, { text = TextView(window.asView, bounds).focus(true); text.font_(font).palette_(qpalette).background_(backgroundColor); megaString = ""; this.fork; }); } *window {arg na ...

  3. extStartupChoose Quark

    ... itext.first; ds.string = filename; nameView.string = filename; }; }; nameView = TextView(w).string_("enter name") .minSize_(Size(100,20)).maxSize_(Size(200,60)); saveBut = Button(w).states_([["SAVE"]]).maxSize_(Size(60,40)) .action_({ var p ...

  4. PeakMonitorGui Quark

    ... maxClip[j] = 0; b.value_(0) }); }); }); rightFlow.startRow; maxRecentView = GUI.textView.new(rightFlow, Rect(0, 0, 200, 100)); maxClip = 0 ! model.numChannels; recentSize = model.freq*2; maxRecent = Array.new(recentSize); myModel = model; } ...

  5. PeakMonitorGui Quark

    ... maxClip[j] = 0; b.value_(0) }); }); }); rightFlow.startRow; maxRecentView = GUI.textView.new(rightFlow, Rect(0, 0, 200, 100)); maxClip = 0 ! model.numChannels; recentSize = model.freq*2; maxRecent = Array.new(recentSize); myModel = model; } ...

  6. LineLayout Doc

    ... = VLayout( [Button().states_([["Foo"]]), stretch: 1, align: \bottomLeft], 20, [TextView().string_("Bar\nBar\nBar\n"), s: 3], [nil, s: 1] ); w.front; ) ⧉ ✔ Inherited class methods Instance Methods . add ( item , stretch: 0 , align ) Add an ...

  7. HeatMap Quark

    ... e HeatMap object: patches Allows you to access the patches as a 2D array of GUI.textView objects. highlight(x, y, colour) Allows you to highlight a single point of interest, as follows: // Some random data a = (0..9).scramble.blendAt((0.1, ...

  8. Verbosity Quark

    ... win, { doc = Window( "Verbosity", Rect(300, 500, 500, 100)); doc.addFlowLayout; TextView(doc, doc.bounds.resizeBy(-8, -8)).resize_(5); doc.onClose_({ this.closedDoc }); }); }; } *makeGui{ ^VerbosityAllGui.new; } makeGui{ ^VerbosityGui.new( ...

  9. RedGUI Quark

    ... string_(string) .stringColor_(GUI.skins.redFrik.foreground) .font_(fnt); } } RedTextView { *new {|parent, bounds| bounds= bounds ?? {Point(100, 14)}; ^TextView(parent, bounds) .background_(GUI.skins.redFrik.background) .stringColor_(GUI.ski ...

  10. InstrGui Quark

    ... I.font.new("Courier",12.0); height = source.split(Char.nl).size * 15 + 20; tf = TextView(layout,Rect(0,0,width,height)); tf.string = source; tf.font_(f); tf.syntaxColorize; up = Updater(model,{ source = model.funcDef.sourceCode; if(tf.isClo ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow