-
... RedVector2D[0, 0]; updateMouseFunc= {|v, x, y| mouse= RedVector2D[x, y]}; view= UserView(nil, bounds) .name_(name) .background_(Color.black) .mouseDownAction_(updateMouseFunc) .mouseMoveAction_(updateMouseFunc); } draw {|func| view.drawFunc ...
-
//fft gui example with userview / pen graphics ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAct ...
-
... ) | GUI > Graphical Module'>Graphical Module GMGridContainer Extension A simple UserView container that automatically arranges its children into a grid Location: NOT INSTALLED! See also: UserView Description GMGridContainer is a layout util ...
-
... ied by ixi for aesthetic and functional purposes XiiVuView : SCViewHolder { var userview; var <value=0; *new{ arg parent, bounds; ^super.new.initVuView(parent, bounds); } initVuView { arg parent, argbounds; var bounds; bounds = Rect(0, 0, a ...
-
//gui example with userview / pen graphics ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: ...
-
SCUserView user-definable view Inherits from: Object : SCView SCUserView is a user-definable View intended mainly for use with Pen and drawHooks. It is also good for making custom buttons or other gui interfaces and displays. Thus anything ...
-
... eWindow(this)}, false); this.background= Color.black; mouse= RedVector2D[0, 0]; userView= UserView(this, Rect(widthSlider/2, 0, argBounds.width-(widthSlider/2), argBounds.height)) .mouseDownAction_{|view, x, y| mouse= RedVector2D[x, y]} .mo ...
-
... nd_(Color(1,1,1)) .background_(colorSet1[0]) ; //*** Draw index lines *** drw = UserView(win, sfw.bounds).resize_(5) .background_(Color(0,0,0,0)) .drawFunc_({|uview| //** Reset Buttons **// onsetButton.value_(0); breakButton.value_(0); peak ...
-
... tzone = CompositeView(win, Rect(160, 0, 750, 25)).background_(Color.rand); // a userview to draw the numeric values on var uv = UserView(win, vbounds.top_(vbounds.height).height_(30)) .background_(Color.grey); try { win.alpha_(NTMI.g.alpha) ...
-
... ring_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse position ( w = UserView().minWidth_(500).minHeight_(500).acceptsMouseOver_(true).front; ENdef(\x, { var pos = w.enMousePos; var cx = w.bounds.width/2; var cy = w.bounds.height ...