-
... w(0.0001, 1, inf); c = a.asStream.nextN(500); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bounds: Rect(10, 410, 520, 380), parent: w); ) // sound examp ...
-
... ; }, { mod = newMod; }) } digitalGUI { window = GUI.window.new("Digital Clock", Rect(10, 250, 450, 110)).front; timeString = GUI.staticText.new(window, Rect(0, 0, 430, 100)) .string_(cursecs.asTimeString) .font_(Font("Arial", 40)); window.o ...
-
... =0; ~hhighest=0; ~vlowest = 16; ~hlowest = 16; z=40; w=Window("Confetti2", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen t={ w.drawHook = { ...
-
... It is only a helper class for RedGIF . Class Methods . new Arguments: bounds A Rect . flags An Integer . Inherited class methods Instance Methods . bounds Image dimensions as a Rect . . flags Semi-private image settings. Use the methods -d ...
-
... tate(2pi*i/n) }; ~point = 0.5@0.5; w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 2, 2 ); ); w.keepRatio = true; w.drawFunc = { var fader, crossfades, lines; Pen.addArc( ~point.asPoint * (1 @ - ...
-
... at, moreArgs| view.value_(theChanger.value); }); view = Slider(Window("slider", Rect(100, 100, 330, 38)).front, Rect(5, 5, 320, 20)); view.onClose_{ controller.remove }; // run a routine to change the model's value: r{ 100.do{ model.value_( ...
-
... ; box = this.getBox(dp); draggingXY = x@y; b = this.getBounds(dp); outletArea = Rect.newSides( b.left, b.bottom - ioHeight, b.right,b.bottom); if(outletArea.containsPoint(x@y),{ outlets = box['outlets'] ? []; if(outlets.size > 0,{ outlet = ...
-
... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...
-
... 1); Out.ar(out, Pan2.ar(snd, 0, amp)); }).play; win = Window("Poussière", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * ...
-
... rgItems,dAction,gAction,argUseDefaultFont, showArrow, noButton| bounds=bounds.asRect; name=nm; defaultAction=dAction?{}; globalAction=gAction?{}; useDefaultFont=argUseDefaultFont; arrowColor = Color.grey(0.5); noButton.booleanValue.not.if{t ...