-
... [ Color .black, Color .gray];\ var penWidth = 1;\ \ \ // based on example of SCUserView \ drawing = \ | collective | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborato ...
-
... h]); this.gui(layout, bounds) } gui { arg layout, bounds; var pen, blue; view = UserView(layout, bounds); view.background = Color.white; gridLines = DrawGrid(bounds, GridLines([0.0, maxTime]), nil); pen = GUI.pen; blue = Color.blue; view.dr ...
-
... var penWidth = 1;\ \ #e, f = [a, b].collect();\ \ \ \ // based on example of SCUserView \ drawing = \ | collective, i | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collabor ...
-
... ); // Crear una vista personalizada para la barra de progreso progressBarView = UserView(window, Rect(50, windowHeight - 50, windowWidth - 100, 20)) .background_(Color(0.8, 0.8, 0.8)) // Fondo de la barra de progreso .drawFunc_({ |view| var ...
-
... nt; "clock: making view".postln; NTMI.g.clok.zone = w.view; }; NTMI.g.clok.uv = UserView( NTMI.g.clok.zone, NTMI.g.clok.extent * [1, 0.5] ); //.background_(Color.rand) NTMI.g.clok.uv.drawFunc_({ |uv| var timeStr = Tdef(\clocK).get(\timeStr) ...
-
ScaledUserViewWindow part of wslib a user configurable but standardized window containing a ScaledUserView and sliders for scrolling and zooming. also see: ScaledUserView Creation ScaledUserViewWindow ( name, bounds, fromBounds, viewOffset ...
-
... "MultiTouchPad", Rect(100, 100, 525, 375)).onClose_({ guiOn = false; }); view = UserView(guiWin, guiWin.view.bounds).background_(Color.white).resize_(5); view.drawFunc_ ({ var fItem; fingersDict.keys.do ({|key| fItem = fingersDict.at(key); ...
-
... "MultiTouchPad", Rect(100, 100, 525, 375)).onClose_({ guiOn = false; }); view = UserView(guiWin, guiWin.view.bounds).background_(Color.white).resize_(5); view.drawFunc_ ({ var fItem; fingersDict.keys.do ({|key| fItem = fingersDict.at(key); ...
-
... es 2007-12-30 fixed gui to use relative coordinates 2007-10-31 changed to new SCUserview behaviour 2007-10-29 renamed to SETObject */ SETO_GUIObj{ var <obj, setObj, tServer, <>isEditable = true; classvar <>oExtent = 40; *new {|parent, setOb ...
-
... = 400; var win= Window("cloth", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; var particles; var gridSize= 10; var spring_strength= 0.2; var spring_damping= 0.1; var gridStepX, gridSt ...