-
... 2), xApart / 2, *angs[curAng]); curAng = 1 - curAng; }); Pen.stroke; }; lView = UserView(argParent, argBounds).background_(argBColor.value) .clearOnRefresh_(false) .focusColor_(Color.gray(alpha: 0)) .mouseDownAction_ ({ lView.clearDrawing; ...
-
... )).front; win.alpha_(NTMI.g.alpha); NTMI.webMouse.win = win; NTMI.webMouse.uv = UserView(win, win.view.bounds).front; NTMI.webMouse.uv.clearOnRefresh = false; NTMI.webMouse.uv.resize_(5); NTMI.webMouse.uv.drawFunc = { |uv| NTMI.webMouse[\dr ...
-
... Text; }, TextView, { v.font= font; v.stringColor= currentPalette.buttonText; }, UserView, { v.canFocus= false; } ); }; win.view.canFocus= true; win.view.focus; CmdPeriod.doOnce({win.close}); } *report {|win| win.view.toFrontAction= { NetAdd ...
-
... 3D Simplex noise", Rect(128, 128, width*scale, height*scale), false); var uv = UserView(win, Rect(0, 0, win.bounds.width, win.bounds.height)); uv.animate_(true).frameRate_(10).background_(Color.black); uv.drawFunc = { height.do{ |y| width. ...
-
... eation in case of kit switching. context = tabbedView.context; widget = context.userView.new(tabbedView.view, Rect(10,10,10,10)); //real bounds are set later widget.enabled = true; widget.focusColor=tabbedView.focusFrameColor; userDrawFunct ...
-
ScaledUserView part of wslib a SCUserView adaptation which supports scaling and translation of it's drawFunc also see: ScaledUserViewWindow Creation ScaledUserView ( window, bounds, fromBounds ) the window and bounds work the same way as in ...
-
... eation in case of kit switching. context = tabbedView.context; widget = context.userView.new(tabbedView.view, Rect(10,10,10,10)); //real bounds are set later widget.enabled = true; widget.focusColor=tabbedView.focusFrameColor; userDrawFunct ...
-
... 2)), //minimum Pitch, maximum Pitch (c_9, c_12) [StackLayout( lvPitchesUsrBack= UserView().minSize_(Size(500, 100)), lvPitchesUsrAnim= UserView().minSize_(Size(500, 100)) ).mode_(\stackAll), stretch:1] ), HLayout( View().fixedWidth_(usrPadd ...
-
... alue at index only. . drawNumber the method that draws numerical display on the userview. Inherited instance methods Examples Pdef(\test, Pbind(\dur, 0.25)).play; // try the different click-drag modes, // and try typing in different values ...
-
... speakerList = [[-30, "L"], [30, "R"], [0, "C"], [-110, "Ls"], [110, "Rs"]]; c = UserView.new(w,Rect(0, 0, 400, 380)); c.canFocus = false; c.drawFunc = { Color.grey(0.8).set; // draw the speaker layout Pen.translate(200,200); ((actPoint.thet ...