Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nt(1,8) ]; if ( GUI.id == \cocoa, { win = SCModalWindow.new("ixiQuarks alert!", Rect(128, 500, 400,170)) }, { win = Window.new("ixiQuarks alert!", Rect(128, 500, 400,170), resizable:false).front } ); win.drawHook = { // set the Color GUI.pe ...

  2. WFS_Specs Quark

    ... ws[ \val ] ); }) //.step_( localStep.x ) .scroll_step_( localStep.x ) .clipLo_( rect.left ) .clipHi_( rect.right ) .value_(0); vws[ \y ] = SmoothNumberBox( vws[ \comp2 ], 40 @ (bounds.height) ) .action_({ |nb| vws[ \val ] = vws[ \val ] .x @ ...

  3. 0_generals Quark

    ... / use NTMI.g.bounds to test for different screen sizes, // e.g. NTMI.g.bounds = Rect(0,0,1024, 768); g.bounds = g.bounds ? Window.availableBounds; NTMI.g.screenScale = { min(g.bounds.width / 1920, Window.availableBounds.height / 1177 ) }; / ...

  4. TabbedViewTab Quark

    ... emove,<>onChangeParent,<>onAfterChangeParent, <>userDrawFunction,downtmp,<>closeRect,<>detRect,<lock=false,clicks=0,deletelock=true; *new { arg tabbedView,label="label",index,scroll=false; ^super.new.init(tabbedView,label.asString,index,scr ...

  5. TabbedViewTab Quark

    ... emove,<>onChangeParent,<>onAfterChangeParent, <>userDrawFunction,downtmp,<>closeRect,<>detRect,<lock=false,clicks=0,deletelock=true; *new { arg tabbedView,label="label",index,scroll=false; ^super.new.init(tabbedView,label,index,scroll); } i ...

  6. ParaSpace Quark

    ... per.new.initParaSpace(w, bounds); } initParaSpace { arg w, argbounds; var a, b, rect, relX, relY, pen; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left + 0.5, bounds.top + 0.5, bounds.width, bounds.height); if((win= w) ...

  7. VGScaleRetune Quark

    ... ); } init { |parent, inLaras| w = parent ?? {�Window("single scale-key tuning", Rect(100, 100, 1200, 300)).front; }; laras = inLaras ? VGScaleGraph.scale; compSCTWidth = 1200; /////////////////////SCALE TUNING/////////////////////////////// ...

  8. extServerGui Quark

    ... try { label = w.name } // }; // // if(isLocal) { // booter = gui.button.new(w, Rect(0,0, 44, 18)); // booter.canFocus = false; // booter.font = font; // booter.states = [["Boot", Color.black, Color.clear], // ["Quit", Color.black, Color.gr ...

  9. extStoredListDialogs Quark

    + StoredList { *boundsAround { |loc, winSize, flip = true| var rect; loc = loc ?? { Window.screenBounds.center }; rect = Rect.aboutPoint(loc, winSize.x * 0.5, winSize.y * 0.5); if (flip) { rect = Window.flipY(rect) }; ^rect } storeDialog { ...

  10. ChordtrisMatrix Quark

    ... fset draw { |xOffset=0, yOffset=0| array.do { |row, ri| row.do { |cell, ci| var rect; if(cell.notNil) { Pen.color = cell; rect = Rect( xOffset + (ci*squareSize), yOffset + (ri*squareSize), squareSize, squareSize); Pen.fillRect(rect); //Pen. ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow