Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1735) Code (118) Doc (482) Help (111) Quark (1019) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SCWindow-asCode_Cocoa Quark

    // W. Snoei 2005 + SCWindow { // SC2 methods views { ^view.children } at { |index| ^view.at(index) } @ { |index| ^view.at(index) } //// window code generator: // only the window asCode { |varName = "w"| ^( varName.asString ++ " = GUI.window ...

  2. FilePathView Quark

    ... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ FilePathView { classvar <>clipboard; var <value; var <views, <view; var <viewHeight = 14; var <>action; var <>defaultStringColor; var <font; var <>allowEmpty = false; v ...

  3. extWindow-background Quark

    + SCWindow { /* asNSWindow { var view, window; view = SCNSObject.newFromRawPointer(dataptr); window = view.invoke("window"); view.release; ^window; // you own it - call release once you do not need it anymore } */ background_ { |color| var ...

  4. EnvView Quark

    ... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ EnvPlotView { var <env, <view, <plotView, <ctrl; var <active = true; var <selected; var <selectedLine; var <>font, <>viewHeight = 14, <resize = 5; var <min = 0, <max = ...

  5. EZSmoothSlider Quark

    ... rBoxClass { ^SmoothNumberBox } staticTextClass { ^StaticText } init { arg parentView, bounds, label, argControlSpec, argAction, initVal, initAction, labelWidth, argNumberWidth,argUnitWidth, labelHeight, argLayout, argGap, argMargin; var lab ...

  6. MKtlGUI Quark

    MKtlElementView { classvar <>makeViewFuncDict; var <element; var <>parent, <>view, <>value, <>getValueFunc; var <>snapbackValue = 0, <snapback = false; *new { |parent, bounds, element, redirectView| // "% : redirectView is % \n".postf(thisM ...

  7. UReplyKey Quark

    ... | ^value.asUReplyKey( spec ); } map { |value| ^value } unmap { |value| ^value } viewNumLines { ^1 } makeView { |parent, bounds, label, action, resize| var vws, view, labelWidth; var ctrl, strWidth; vws = (); // this is basically an EZButton ...

  8. UserViewHolder Quark

    ... * Sciss 2009 / WS 2009 * part of wslib (temporarily?) * * A base class for UserView subclasses. Subclassing UserViewBase avoid the * problem of two concurrent superclasses, SCUserView and JSCUserView, by * holding a UserView internally. Th ...

  9. ScaledUserView Quark

    // wslib 2006 // scaled SCUserView // 2007: altered for SC3.2 compatibility // 2009: altered for SwingOsc compatibility // TODO: correct half pixel problem for mouse feedback ScaledUserView { classvar <>defaultGridColor; var <gridColor; var ...

  10. TestSCScrollView Quark

    TestSCScrollView : UnitTest { /* THESE TESTS ARE WRONG apparently: http://www.listarc.bham.ac.uk/lists/sc-dev/msg09900.html test_nestingRelVsAbs { // Albers ad infinitum // but this should look centered, just the one in composite view var v ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow