-
... tBy(0.5,0.5), 3 ); Pen.fillStroke; }; userView.canFocus_( false ); controller = SimpleController( unit ); composite = CompositeView( mainComposite, bounds.moveTo(0,0) ).resize_(2); composite.addFlowLayout( margin, gap ); composite.onClose = ...
-
... d always be last ); controllers = IdentityDictionary.new; controllers[\model] = SimpleController(model) .put(\initedMidi, { |obj, what, midi| this.initMidi(midi); }) .put(\didFree, { this.remove; controllers.do(_.remove) }); if(model.midi.n ...
-
... ? { this.wdgtActions[slot.asSymbol][name.asSymbol].keys.do({ |c| if(c.class === SimpleController, { c.remove }); }); this.wdgtActions[slot.asSymbol].removeAt(name.asSymbol); this.wdgtActions[slot.asSymbol].isEmpty.if { this.wdgtActions.remo ...
-
... ; bounds.height = this.class.getHeight( viewHeight, margin, gap ); controller = SimpleController( options ); composite = CompositeView( parent, bounds ).resize_(2); composite.addFlowLayout( margin, gap ); composite.onClose = { controller.re ...
-
... ) .warning_( 0.8 ) .critical_( 1 ); w.view.decorator.nextLine; w.front; ctlr = SimpleController(this) .put(\serverRunning, { if(this.serverRunning,running,stopped) }) .put(\counts,{ infoString.string = this.uInfoString; cpuMeter !? { cpuMe ...
-
... (UScore)) { UScoreEditor(inScoreEditor) } { inScoreEditor; }; scoreController = SimpleController(scoreEditor.score); scoreController.put(\name,{ window.name = this.windowTitle }); scoreController.put(\something,{ { window.name = this.window ...
-
... orController.notNil) { scoreEditorController.remove; }; scoreEditorController = SimpleController( scoreView.currentEditor ); scoreEditorController.put(\undo, { this.resetUndoRedoButtons }); scoreEditorController.put(\redo, { this.resetUndoR ...
-
... ; bounds.height = this.class.getHeight( viewHeight, margin, gap ); controller = SimpleController( arrayConf ); composite = CompositeView( parent, bounds ).resize_(2); composite.addFlowLayout( margin, gap ); composite.onClose = { controller. ...
-
... wer(layout, (bounds - bb).resizeTo(200, bounds.height)); boxes.focus; updater = SimpleController(model); updater.put('grid', { boxes.refresh }); updater.put('mixer', { boxes.refresh }); layout.removeOnClose(updater) } drawer { arg layout, b ...
-
... s) } init{ |parent, bounds| this.makeGui(parent, bounds); scoreViewController = SimpleController( scoreView ); scoreViewController.put(\activeScoreChanged, { this.addControllers; }); this.addControllers; } score{ ^scoreView.currentScore } a ...