Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (90) Code (5) Doc (40) Help (4) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. TestSample Quark

    ... //c = SCCompositeView(w,Rect(100,100,700,300)); //c.relativeOrigin = true; c = FlowView(w,Rect(100,100,700,300)); c.background = Color.blue; y = Sample("a11wlk01.wav").gui(c); w.front; v = y.view.view.children.select(_.isKindOf(SCSoundFile ...

  2. cross-platform-recursiveResize Quark

    ... ot osx-specific + SCViewHolder { findRightBottom { ^view.findRightBottom; } } + FlowView { resizeToFitContents { // need bounds relative to parent's bounds var new, maxpt, mybounds, used; mybounds = this.bounds; maxpt = Point(0, 0); this.ch ...

  3. cross-platform-recursiveResize Quark

    ... ot osx-specific + SCViewHolder { findRightBottom { ^view.findRightBottom; } } + FlowView { resizeToFitContents { // need bounds relative to parent's bounds var new, maxpt, mybounds, used; mybounds = this.bounds; maxpt = Point(0, 0); this.ch ...

  4. fixedwidthmultipagelayout Quark

    // note: the window's width is not fixed, but the width of the master flowview // inside the window is fixed FixedWidthMultiPageLayout : MultiPageLayout { *new { arg title,bounds,margin,background,scroll=true,front=true; var new; "FixedWidt ...

  5. fixedwidthmultipagelayout Quark

    // note: the window's width is not fixed, but the width of the master flowview // inside the window is fixed FixedWidthMultiPageLayout : MultiPageLayout { *new { arg title,bounds,margin,background,scroll=true,front=true; var new; "FixedWidt ...

  6. MiniIDEScope Quark

    ... first CmdPeriod after GUI is closed }); //VIEW view = window.view; scopeView = FlowView(View(), bounds:512@250); //SCOPE scope = Stethoscope .new(Server.default, view:scopeView); //PHASESCOPE phaseScope = Stethoscope .new(Server.default, v ...

  7. devEnvironment Quark

    ... roll: false).userCanClose_(false); masterLayout = ~masterLayout; ~toolbarFlow = FlowView(~masterLayout.view, Rect(0, 0, 290, GUI.window.screenBounds.height-5), margin: 2@2); (~useScroll ? false).if({ ~voicerScroll = GUI.scrollView.new(~mast ...

  8. devEnvironment Quark

    ... roll: false).userCanClose_(false); masterLayout = ~masterLayout; ~toolbarFlow = FlowView(~masterLayout.view, Rect(0, 0, 290, GUI.window.screenBounds.height-5), margin: 2@2); (~useScroll ? false).if({ ~voicerScroll = GUI.scrollView.new(~mast ...

  9. CollapseView Quark

    ... ent,bounds,buttonBounds); } init{ arg argParent, bounds,argButtonBounds; view = FlowView(argParent, bounds); minHeight=defaultMinHeight; view.decorator.margin_(0@0); // no extra space for the outer container view.decorator.gap_(0@0); // no ...

  10. StatusBox Quark

    ... e displayed (except in the case of some primitive failure errors). Example: f = FlowView .new; z = StatusBox (f, 250@250); StatusBox .default === z // true; the first StatusBox you create is automatically the default "Hello world" .postln; ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow