-
... .new(maxWidth + 1, maxHeight + 1); var go, total; w=Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, ...
-
... k=ExternalClock(2.3).play; w = SCWindow("BBCPPermute demo N.M.Collins 5/08/05", Rect(100, 100, 200, 100)); rotate= SCSlider(w, Rect(0,0,100,30), "rotation"); invert= SCButton(w, Rect(0,50,100,30), "invert"); invert.states= [["invert"],["rev ...
-
... 400@400; // where to put the gui window w = Window.new("CloudGenMiniFM", Rect.fromPoints(posPoint, (posPoint + (400@360)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a ...
-
... t; } ); ⧉ ✔ // using spec for sliders: ( var w, c, d; w = Window.new("control", Rect(128, 64, 340, 160)); w.front; c = Slider.new(w, Rect(10, 10, 300, 30)); d = StaticText.new(w, Rect(10, 40, 300, 30)); c.action = { d.string = "unmapped val ...
-
//spinning planes / rectangles ( var width= 640, height= 480, w, wgrav, world, n= 100, thetas= 0.dup(n), speeds= {|i| i+1/10000}.dup(n); var planes; //--world w= RedWindow("3Dplanes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...
-
//spinning planes / rectangles ( var width= 640, height= 480, w, wgrav, world, n= 100, thetas= 0.dup(n), speeds= {|i| i+1/10000}.dup(n); var planes; //--world w= RedWindow("3Dplanes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@20 . label The label. Default value is nil . If ni ...
-
... stVal, // softVol_ and softVol_ which knows lastVol: ( w = Window ( "softVol" , Rect (500, 200, 400, 240)).front; w.view.addFlowLayout; NdefGui ( Ndef ( \test ), 2, w); // same for volume - not too safe EZSlider (w, 340@30, \softVol , \amp ...
-
... f some objects every now and then. ( d = (a: 12, b: 24); d.win = Window("dict", Rect(0, 0, 200, 60)).front; d.views = [\a, \b].collect { |name, i| StaticText(d.win, Rect(i * 100, 0, 96, 20)) .background_(Color.yellow).align_(0).string_(name ...
-
... , size); // Values will be written to control busses win = SCWindow("EQ meter", Rect(100, 200, 360, 110)); ~slider = SCMultiSliderView(win, Rect(0, 0, 350, 100)); ~slider.value_(0.dup(size)).size_(size).isFilled_(true).indexThumbSize_(350/8 ...