-
... Spec( \map, value ); } unmap { |value| ^this.doWithSpec( \unmap, value ); } makeView { |parent, bounds, label, action, resize| var vws; if( private.not ) { // no view if private case { label.isNil } { label = this.label } { label == false } ...
-
... ype == nil suppose \var // if index == nil suppose all indices of that type var view, sliders, i; type = type ?? \var; sliders = (type == \var).if { this.varCtrSliders }{ this.synthCtrSliders }; (index.isNil.if { sliders }{ sliders[[index]] ...
-
... eAction:2) }, true ); g.play; w = Window ( "ascii player - clickies" ).front; w.view.keyDownAction = { |view, char| g.spawn([ \freq , char.ascii.midicps]) }; ) // play, hold, and release notes from computer keyboard ( s.latency = nil; g = N ...
-
... .collect( _.x ); } y { ^this.collect( _.y ); } z { ^this.collect( _.z ); } asEnvViewInput { |autoScale = false, fromRect | var new; if(autoScale) { new = this.scaleToRect( Rect(0,0,1,1), fromRect ); ^[new.x, new.y] } { ^[this.x, this.y] }; ...
-
... / /* These are basic editors for WFSPath2 and (WFS-)Points. use classes: WFSPathView( parent, bounds, object ); // object: a WFSPath2 WFSPathTimeView( parent, bounds, object ); // object: a WFSPath2 WFSPointView( parent, bounds, object ); / ...
-
... w.bounds = rect; image = Image(imagesPath +/+ "panels" +/+ "panel_6"); compositeView .setBackgroundImage(image,10) .background_(whiteBackground); // Calculamos la mitad de la altura de la ventana para los paneles halfHeight = window.bounds. ...
-
// A container view for the rotation/motion // controls for manipulating PointView. PointViewUI : View { var pv; // PointView var mstrLayout; var conventionView, oscView, whichCycView, whichOscView, rttView, varyMotionView, periodView, widt ...
-
... not, see <http://www.gnu.org/licenses/>. */ UScoreEditorGui_TopBar { var <>scoreView; var <header, <>views, <scoreEditorController, <scoreController; *new{ |parent, bounds, scoreView| ^super.newCopyArgs(scoreView).init(parent, bounds) } ini ...
-
HrCodeSequencer : HadronPlugin { var window, barView, numBpm, numBpb, rewindBut, stopBut, stopFuncBut, pauseBut, playBut, seqView, numBars, rulerView, zoom, zoomSlider, cursorView, shouldReRule, stopCodeDoc, <tracksHolder, <tracksView, oldS ...
-
... aveConsole(layout); layout.startRow; }); inner = layout.flow({ arg layout; this.view = layout; this.writeName(layout); this.guiBody(layout); },bounds).background_(this.background); this.enableKeyDowns; if(parent.isNil,{ layout.resizeToFit } ...