-
( c = WFSSpeakerConf.default ? WFSSpeakerConf.rect( 48, 48, 5, 5 ); m = \lines; a = \point; p = (0@0); w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 20, 20 ); ); w.keepRatio = true; w.drawFunc ...
-
... .play; win = Window( name: "Subtractive Synthesis - Patch 1", bounds: Rect(300, 100, 600, 560)); win.background = Color.black; // Slider controlX = ControlSpec( minval: 100, maxval: 10000, warp: \exp, step: 0.1 ...
-
... eMenu", "tags/1.1.0");` ## Basic usage ```supercollider ( var w= Window("test", Rect(400, 400, 300, 100)).front; PopUpTreeMenu(w, Rect(30, 30, 100, 20)) .tree_( ( 'a drum': (), 'bass': ( 'funky': (), 'tuba': (), 'unhip': () ), 'cello': () ) ...
-
... idth= 640, height= 360, maxAge= 200, maxBorneAge= 100; var win= Window("red04", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleS ...
-
... lean string.".postln; }); } *makeCleanerWindow { var w; w = SCWindow("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); SCButton(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action ...
-
... idth= 640, height= 360, maxAge= 200, maxBorneAge= 100; var win= Window("red04", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleS ...
-
( var w, levels; w = Window("levels", Rect(100, 100, 500, 400)).front; ~dirt.startSendRMS; levels = ~dirt.orbits.collect { |orbit, i| orbit.defaultParentEvent.put(\rmsReplyRate, 8).put(\rmsPeakLag, 3); LevelIndicator(w, Rect(21 * i + 10, 10 ...
-
... top; } place { arg view; var height; height = view.bounds.height; view.bounds = Rect(bounds.left, current, bounds.width, height); current = current + height + gap; } remove { } innerBounds { ^bounds } } HorzLayout : VertLayout { reset { cur ...
-
... ew Arguments: parent a parent view. if nil, then a new window is created bounds Rect . if nil then the parent Rect is used labels an array of strings. determines how many tabs there are. default ["tab1", "tab2", "tab3"] colors an array of c ...
-
... , argParentApp| parentApp = argParentApp; myView = CompositeView(argParentView, Rect(argBounds.left, argBounds.top, argBounds.width, 20)); targetAppMenu = PopUpMenu(myView, Rect(0, 0, (argBounds.width/2)-5, 20)) .action_ ({|menu| if(menu.va ...