-
... ke a little keyboard to try the different modes: ( ~win = Window("PianoLayout", Rect(0, 200, 400, 200)).front; // switch between modes: ~pop = EZPopUpMenu(~win, Rect(4, 4, 192, 24), "mode", MPadView.modeKeys, { |pop| pop.item.postln; ~keys. ...
-
... r); Pen.strokeColor_(super.outlineColor); Pen.width_(super.outlineSize); Pen.addRect( Rect( (this.bounds.width / 2) - (thisDisplaySymbolSize / 2), (this.bounds.height / 2) - (thisDisplaySymbolSize / 2), thisDisplaySymbolSize, thisDisplaySym ...
-
... 2pi/p*(width/n)+spook; }.dup(nWaves); //--world w= RedWindow("wave phase test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects ...
-
... ue); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds - y) } } + Rect { flipY { var flippedTop = Window.screenBounds.height - this.top - this.height; ^Rect( left, flippedTop, width, height ); } } + Window { *find { |name| nam ...
-
... 2pi/p*(width/n)+spook; }.dup(nWaves); //--world w= RedWindow("wave phase test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects ...
-
... w; w.front; c = Array.fill(10,{ arg i; var n; n = NumberEditor(0,\amp); n.gui(w,Rect(10,25 * i, 150,13)); n }); ) ⧉ ✔ using a PageLayout on a window ( w = GUI.window.new; w.front; p = PageLayout.on(w); c = Array.fill(10,{ arg i; var n; n = ...
-
... ds Inherited instance methods Undocumented instance methods . bounds . bounds = rect . doDrawFunc . drawingEnabled = bool . findWindow . initTopView ( win ) . window = value Help template Copy and paste the text below and save to HelpSource ...
-
... ndow.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds.height - y) } } + Rect { flipY { var flippedTop = Window.screenBounds.height - this.top - this.height; ^Rect( left, flippedTop, width, height ); } } + Window { *find { |name| nam ...
-
... , numItems, zone, makeSkip: false) } makeTopLine { pcPrePop = EZPopUpMenu(zone, Rect(0,0,150, 20), \PCPre, [], { |ez| currPresetName = ez.item; currPresetIndex = object.settingNames.indexOf(currPresetName); object.setCurr(currPresetName) }, ...
-
... iew Creation / Class Methods *new (bounds, margin, gap) bounds - An instance of Rect. Normally set to the parent.bounds. margin - An instance of Point . The horizontal and vertical inner margins, within which the parent's subviews are place ...