-
... win, scr, currentColor = Color.gray, setColor; win = Window.new("color picker",Rect(400, 400, 2*scrsize+20, scrsize),false).front; //win.view.background_(Color.white); scr = UserView.new(win,Rect(scrsize+20, 0, scrsize, scrsize)); s ...
-
... arg w, bounds, name, min=0.0, max=1.0, start=0.0, step=0.0, warp=\lin; var namerect, numberrect, slidrect; font = GUI.font.new("Helvetica", 12); lastval= start; spec = ControlSpec(min,max,warp,step,start); if ( GUI.id == \cocoa, { namerect ...
-
... ut = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLayout = lay; / ...
-
... rtnote); window - A SCWindow in which the MIDIKeyboard will appear bounds - The Rect of the MIDIKeyboard octaves - The number of octaves on the keyboard startnote - The MIDI note number of the first key (48 is the default - that's C3) keyDo ...
-
... ut = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLayout = lay; / ...
-
... oat.rand] ) }); lifetime.yield; }; }.play(); win = Window("GrainOTec", Rect( 5, 5, 305, 300 ), false ); win.background_(Color.black); win.front; // Volume Slider volume_slider = UserView( win, Rect( 5, 5, 45, 190 )); volume_ ...
-
... instance with these functions (argument will be the saved value) oldWinBounds = Rect(argBounds.left, argBounds.top, argBounds.width, argBounds.height + 40); outerWindow = Window(argName + ident, oldWinBounds, resizable: false) .userCanClose ...
-
... same time and drag them around. >> Use ctrl+click to create a node << >> Draw a rect around one or more nodes to select them << >> Use backspace to delete a selected node << >> Hold down 'c' to connect (a) selected node(s) to another node < ...
-
... moveTo lineTo line curveTo quadCurveTo arcTo addArc addWedge addAnnularWedge addRect addOval Draw the path stroke fill draw fillStroke Construct and draw strokeRect fillRect strokeOval fillOval Gradients fillAxialGradient fillRadialGradient ...
-
... itView { var <object, <view; var <selected; var <>action, <>onClose; var <selectRect, <hitIndex, <moveHitPoint; var <prevMouseMode; var <hitPoint, <lastPoint, <optionOn = false; var <mouseMode = \select; // \select, \zoom, \move (move canva ...