-
... ames; var editorNames = tree.branchNames; var comp, makeEditor; comp = CompositeView(w, Rect(4,4, 98, 700)) .background_(Color.gray(0.9)); comp .decorator_(FlowLayout(comp.bounds, gap * 2, gap * 2)); name = inName; Button(comp, Rect(2, 2, 9 ...
-
... l('o49', "m-audio-oxygen49"); k.trace.gui; a = Array.fill(9, 0); m = MultiSliderView().elasticMode_(1).size_(9).front; k.elAt(\sl).action_({ |el| a[el.parent.indexOf(el)] = el.value; { m.value = a; }.defer; }); */ ( deviceName: "Oxygen 49", ...
-
Painter a GUI for view/control of GeoGrapy Inherits from: Object The Painter allows to plot the graph, update it dynamically, move the vertices with the mouse, see the actants walking. Control The Painter is inteneded as a view/control elem ...
-
... (nb.value); // }, labelWidth: 60).font_(NTMI.mfx.font); // NTMI.mfx.pcnum.numberView.keyDownAction = { |nv, char| // if (char == $r) { // NTMI.mfx.pcpop.valueAction_(NTMI.mfx.pcpop.items.size.rand); // } // }; // // NTMI.mfx.pcpop = EZPopUp ...
-
... with // our Automation. Wow, let's do it automatically: control.findAndDock(win.view.children); // Note: The control elements will be auto-named by order of // appearance. // That means, altering a GUI and then loading a previously saved // ...
-
... ; // if you replace actions the counter will not count anymore // requires SMPTEView and SMPTE classes TransportWindow { classvar <>default; var <pos, <>step; // position in seconds // views: var window, play, stop, return, <counter, <top; ...
-
... eeded for nanoKtl: if (NTMI.hasSmallScreen) { MKtlGUI.maxSize = 780; MKtlGUI.minViewSize = 32; }; //// set global GUI prefs here: g.alpha = g.alpha ? 0.8; g.fontName = g.fontName ? Font.defaultSansFace; g.font = Font(g.fontName, (36 * g.scr ...
-
... ; } init{ |parent| w = Window.new( "MultiFilePlayer", Rect( 0, 0, 200, 92 )); w.view.decorator = FlowLayout.new( Rect(0,0,200,92), 2@2, 2@2); // fn = TextField.new(w, Rect( 0, 0, 148, 20 )); // open = Button.new(w, Rect( 150, 0, 45, 20 )).s ...
-
... ent = Window(this.class.asString, Rect(440,800, width + 4 , 200)).front; parent.view.decorator = FlowLayout(parent.bounds.moveTo(0,0), gap, gap); parent; }; comp = comp ?? { comp = CompositeView(parent, Rect(0,0, width, height)) .background ...
-
... encer OSSIA/score (https://github.com/OSSIA/score.git) */ + OSSIA_FVector { *ez2View { | widget | // add EZ widgets as compositeViews since this is how they are stored in the parent view's children ^widget.collect({ | item | if (item.class. ...