-
... restart)", Rect(10, 10, 700, 700) ); win.onClose = { run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v,x,y| view.clearDrawing; r.fSpawn(x,y) }); win.front; { while { ru ...
-
... , Rect(160, 0, window.bounds.width - 165, window.bounds.height)); surfaceView = UserView(compositeBack, Rect(0, 0, window.bounds.width - 165, window.bounds.height)) .focusColor_(Color.gray(alpha: 0)) .background_(Color.white) .mouseOverActi ...
-
... teFunc; var pen, font; pen = GUI.current.pen; font = Font.sansSerif(10); view = UserView.new(parent, Rect(0,0,400,400)); view.drawFunc = { var xtabs = 0, ytabs = 0, drawFunc; drawFunc = {|group| var thisSize, rect, endYTabs; xtabs = xtabs + ...
-
... tent), 10 + padExtent, 0, 0] } }.flatten; } createView {|parent, extent| view = UserView(parent, extent); view.background_(Color.clear); view.drawFunc = {|uview| var vals = manta.values.pad; //navigateIdx.postln; rects.do{|rect, i| this.dra ...
-
... simulation by some time t , or by the default 1.0 . You'll want to call this in UserView: -drawFunc or Window: -drawFunc . You probably want to keep this the same at all times unless you want speed up or slow things down. . clear this delet ...
-
... alpha_(0.5); fontName = fontName ? "Monaco"; fontSize = inFontSize ? 20; view = UserView( parent, Rect( inBounds.left, inBounds.top, (fontSize * 7.2) + 2, fontSize * 1.2 ) ) //.relativeOrigin_( false ) //.canFocus_( false ) ; view.drawFunc ...
-
... = argRadius; toggleSize=argToggleWidth; argBounds=argBounds.asRect; this.view = UserView(argParent, argBounds); this.view.mouseDownAction={ arg v, x, y, modifiers, buttonNumber, clickCount; this.mouseDown(x, y, modifiers, buttonNumber, clic ...
-
... tontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate = true; pt = Point(); r = Rect(); //w.view.decorator = FlowLayout(w.view.boun ...
-
... show make a named display window for the oscmon . w . u its display window and userview . refresh refresh display . clearMsgNames . clearAddrs clear msgNames or addresses . trackMsgs . trackAddrs get and set flags whether to track msgNames ...
-
... = NTMI.nUFO.rawImuBiValues; NTMI.g.main.movevals = 0.25!9; NTMI.g.main.imuUV = UserView(nil, 666@666).front; NTMI.g.main.imuUV.drawFunc = NTMI.g.main.imuUVMFunc; nUFO pad dimensions: area outerpads: w: 12.5, h: 9.5 area innerpads: w: 9.3, ...