Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. TestFlowView Quark

    ... : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b should not be on ...

  2. GridLayoutCalc Quark

    /* divide a rect into grids A1 A2 3 4 5 6 ... 24 B1 B2 B3 request a rect as A1 B2 it can add gutter if you need it previously known as GridLayout */ GridLayoutCalc { var <>bounds,<>numCols,<>numRows,<>gutter; var <colWidth,<rowHeight; *new ...

  3. Grid Quark

    ... r); } initGrid { arg w, argbounds, argcolumns, argrows, argborder=false; var p, rect, pen; lazyRefreshFunc = { this.refresh; refreshDeferred = false; }; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left , bounds.top , b ...

  4. SWDataNetworkClientGui Quark

    ... tGui { var <sub,<get; var <xsize = 185; addSubButton{ sub = GUI.button.new( cw, Rect( 0, 0, 25, 16 )).states_( [ [ "Sub", Color.blue ], ["Uns", Color.red ] ] ).action_( { |but| parent.subSlot( slot.id, but.value ); }).font_( font ); } addGe ...

  5. 5_presetWin Quark

    ... eset; var pp, w, ppg, ng, hlv, vlv1, vlv2, butrow, randerButs; w = Window(name, Rect(450, 0, 387+100, 440)); w.alpha_(NTMI.g.alpha).front; hlv = HLayoutView(w, w.bounds.moveTo(0,0)); vlv1 = VLayoutView(hlv, Rect.new(0,0, 100, hlv.bounds.hei ...

  6. SVGRect Quark

    SVGRect Part of wslib see also: SVG , SVGFile superclass : SVGObject The SVGRect holds the data for a rectangle creation SVGRect ( x, y, width, height, rx, ry, name, strokeColor, fillColor, strokeWidth, transform ) creates a new object with ...

  7. Specs Quark

    ... ) ]; } unmap { |value| var index; index = list.indexOf( value ); // first try direct (faster) if( index.notNil ) { ^index; } { if( value.isNumber.not ) { value = value.asSymbol; }; ^indexMap[ sortedList.indexIn( value ) ] ? defaultIndex; }; ...

  8. extProxyPresetDialogs Quark

    ... ing? var w; loc = loc ?? {400@300}; name = this.checkName(name); w = Window("", Rect(loc.x, loc.y - 40, 150, 40), false); StaticText(w, Rect(0,0,70,20)).align_(\center).string_("name set:"); TextField(w, Rect(70,0,70,20)).align_(\center) .s ...

  9. MixerGUIDef Quark

    ... t prototypes may be classes or instances of AdhocClass. viewBounds: An Array of Rect objects specifying the bounds of each view, relative to the top left corner of the channel. Example: This is the default MixerGUIDef, suitable for stereo m ...

  10. MixerGUIDef Quark

    ... t prototypes may be classes or instances of AdhocClass. viewBounds: An Array of Rect objects specifying the bounds of each view, relative to the top left corner of the channel. Example: This is the default MixerGUIDef, suitable for stereo m ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow