-
... 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; / ...
-
... 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 < ...
-
... 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 ...
-
... corator = FlowLayout(zone.bounds, zoneMargin, skin.gap); nameBut = Button(zone, Rect(0,0, nameWidth, height)) .font_(font) .resize_(2) .states_([ [" ", skin.fontColor, skin.onColor] ]) // .keyDownAction_({ |btn, char| // char.postcs; // if ...
-
... conversion to class by adc // tests w = Window("Stick").front; z = StickView(w, Rect(200,100,100,100)); z.x = -1; z.refresh; z.x = 1; z.refresh; z.x = 0; z.refresh; z.y = -1; z.refresh; z.y = 1; z.refresh; z.y = 0; z.refresh; z.hatval = 1; ...
-
... conversion to class by adc // tests w = Window("Stick").front; z = StickView(w, Rect(200,100,100,100)); z.x = -1; z.refresh; z.x = 1; z.refresh; z.x = 0; z.refresh; z.y = -1; z.refresh; z.y = 1; z.refresh; z.y = 0; z.refresh; z.hatval = 1; ...