Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (282) Code (20) Doc (37) Help (23) Quark (202) SCDoc ↗ Forum ↗ Google ↗
  1. UChainIOGUI Quark

    ... nits, margin, gap| var comp, header, code, io, defs; var audio, control; comp = CompositeView( composite, (composite.bounds.width - (margin.x * 2))@16 ) .resize_(2); header = StaticText( comp, comp.bounds.moveTo(0,0) ) .applySkin( RoundView ...

  2. AutoRand Quark

    ... top/start button on a parent view or window parent - the parent view (window or compositeview) bounds - a rect with the button size.

  3. OutputMetersCP Quark

    ... torOutChannels); options.monitorOutChannels.do{ arg i; var compView; compView = CompositeView(window, Rect(width: 30, height: 70) ); outlev[i] = LevelIndicator(compView, Rect(3, 0, width: 35, height: 50) ); outlev[i].warning = -2.dbamp; out ...

  4. MixerUI Quark

    ... nsert(baseIndex + 1, 15)}); }); container.onResize = { container.children.do({ |compositeView| compositeView.resizeTo(125, (container.bounds.height - 15).min(460)); }); }; } createMixerUIComponent { |orbit, container, reverbVariableName| va ...

  5. GridLayoutCalc Quark

    ... lastPoint; w = GUI.window.new("Grid Designer",bounds.resizeBy(10,10)); c = GUI.compositeView.new(w,bounds); c.background = Color.new(1.0, 1.0, 1.0,alpha:0.5); grids = numCols.collect({ |ci| numRows.collect({ |ri| GUI.button.new(c, Rect( ci ...

  6. WFSPointGroupGUI Quark

    ... ounds = parent.asView.bounds; }; RoundView.pushSkin( UChainGUI.skin ); view = EZCompositeView( parent, bounds, gap: 2@2, margin: 2@2 ); view.resize_(5); bounds = view.asView.bounds; view.addFlowLayout(0@0, 2@2); pathView = this.editViewClas ...

  7. SoundFileView Quark

    ... ced = { this.performSndFile( \isKindOf, SlicedBufSndFile ) ? false; }; view = EZCompositeView( parent, bounds, gap: 4@4 ); bounds = view.asView.bounds; view.onClose_({ this.remove; }); view.resize_( resize ? 5 ); views = (); views[ \path ] ...

  8. TextFieldOld Quark

    ... super.new.init(parent, bounds) } init { |parent, bounds| // UserView can focus; CompositeView can't bounds = bounds.asRect; innerBounds = bounds.insetBy(1, 1).moveTo(1, 1); background = Color.white; this.view = UserView(parent, bounds).back ...

  9. TextFieldOld Quark

    ... super.new.init(parent, bounds) } init { |parent, bounds| // UserView can focus; CompositeView can't bounds = bounds.asRect; innerBounds = bounds.insetBy(1, 1).moveTo(1, 1); background = Color.white; this.view = UserView(parent, bounds).back ...

  10. UndoView Quark

    ... nds; bounds = nil }; bounds = bounds ?? { ((height * 2) + 2) @ height }; view = CompositeView( parent, bounds ); view.addFlowLayout( 0@0, 2@2 ); view.onClose_({ undoManager.removeDependant( ctrlFunc ); }); bounds = view.drawBounds; if( obje ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow