Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... win,rect)) }); }, knob: { |win, name, cv, rect| var v; cv.asArray.do { |cv| v = CompositeView(win, Rect(0,0,50,80)); CVSyncInput(cv, Knob(v, Rect(5,0,40,40))); CVSyncValue(cv, NumberBox(v,Rect(0,40,50,20))); StaticText(v,Rect(0,60,50,20)) . ...

  2. UChainCodeGUI Quark

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

  3. USessionGUI Quark

    ... trip( view, bounds.width @ menuH, [0,0,0,0] ); compTop = menuH; }; topBarView = CompositeView(view, Rect(0,compTop,bounds.width,topBarHeigth)).resize_(2); topBarView.addFlowLayout; SmoothButton( topBarView, 40@size ) .states_( [ [ \play, ni ...

  4. RepublicGui Quark

    ... his.makeWindow(bounds.width, bounds.height) }; width = bounds.width - 8; view = CompositeView(parent, Rect(0, 0, width, bounds.height)).resize_(5); view.addFlowLayout; nameView = StaticText(view, Rect(0,0, 90, 20)) .string_("<name>"); idVie ...

  5. CVCenterLoadDialog Quark

    ... = flow = FlowLayout(window.view.bounds, Point(7, 7), Point(3, 3)); replaceBg = CompositeView(window.view, Point(flow.indentedRemaining.width, 29)); flow.nextLine; midiBg = CompositeView(window.view, Point(flow.bounds.width.div(2)-8, 218)); ...

  6. ServerTreeGui Quark

    ... yout.isNil,{ w = Window("Server Node Tree",Rect(0,0,1220,820),scroll:true); f = CompositeView(w,Rect(0,0,1210,10000)); w.front; },{ f = CompositeView(layout,bounds ?? {layout.bounds}) }); renderBox = { arg func; var box; box = f.flow(func,R ...

  7. SGME_GUIPanel5 Quark

    ... 5"; window.bounds = rect; image = Image(imagesPath +/+ "panels" +/+ "panel_5"); compositeView .setBackgroundImage(image,10) .background_(whiteBackground); // Calculamos la mitad de la altura de la ventana para los paneles halfHeight = windo ...

  8. AbsLayout Quark

    ... o prevent a lot of work on old code due to deprication of relativeOrigin // for CompositeViews // use on a view that used to have relativeOrigin == true /* composite.decorator = AbsLayout( composite ); */ var <absoluteBounds; *new { arg par ...

  9. UdefsGUI Quark

    ... enBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; }); composi ...

  10. UdefsGUI Quark

    ... enBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; }); composi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow