-
... 80; vws[ \labelView ] = StaticText( vws[ \view ], labelWidth @ bounds.height ) .string_( label.asString ++ " " ) .align_( \right ) .resize_( 4 ) .applySkin( RoundView.skin ); } { labelWidth = 0; }; vws[ \buttonView ] = SmoothButton( vws[ \v ...
-
... ame] = val; chain.proxy.set(paramName, val); }); var label = StaticText.new(w) .string_(paramName); // Used for synchronising with the value of the proxy later on objectDict[paramName] = (valueLabel: valueLabel, slider: slider); VLayout( la ...
-
... bounds_(n.w.bounds.resizeBy(15,0)); n.edits.do { |ed, i| var key = ed.labelView.string.asSymbol; var ctloop = AutoLoop (( \test ++ "_" ++ key).asSymbol, () ); ctloop.connectToProxyEditor(n, i); ctloop.makeButton(n.w, Rect (340, i * 16 + 50, ...
-
... interpreter.codeDump = nil; } } + Object { putStrLn { ^IO{ postln(this) } } } + String { unixCmdIO { ^IO{ this.unixCmd } } } + NetAddr { sendMsgIO { |...args| ^IO{ this.sendMsg(*args) } } sendBundleIO { |...args| ^IO{ this.sendBundle(*args) ...
-
... resolution 32 bits float *initClass { debugSMPTE = SMPTE(0, 1000); } *debug { |string ... argsArray | if( debugMode ) { (string.asString ++ "\n").postf( *argsArray ); }; } *secsToTimeCode { |secs = 0| ^debugSMPTE.initSeconds( secs ).toStri ...
-
... if (NTMI.hasGui) { "8_GUIs/warnWin.scd".loadRelative; } { NTMI.warnWin = { |q, string="?!?", title="?!?"| warn(title + string) } }; if (NTMI.reboot) { // Server.killAll; // ? "\n\n*** NTMI.reboot is true, so server reboots.".postln; s.quit ...
-
... lowing global variables: ~name: (symbol) name of the spatializer ~description: (string) a short description ~function: the actual definition of the plugin */ ~name = \sndBuffer; // note: bufnum must be first arg !! ~description = "Looped bu ...
-
... belWidth ? 80; vws[ \labelView ] = StaticText( vws[ \view ], labelWidth @ 14 ) .string_( label.asString ++ " " ) .align_( \right ) .resize_( 4 ) .applySkin( RoundView.skin ); } { labelWidth = -4; }; if( resize.notNil ) { vws[ \view ].resize ...
-
... .notNil ) { Pen.use({ Pen.font = font; Pen.color = baseColor.complementary; Pen.stringCenteredIn( MKtlGUI.splitLabel(label), rect.insetAll( 0, vShiftLabel * 2, 0, 0 ) ); }); }; }; } setColors { baseColor = Color.white; hiliteColor = Color.r ...
-
... ); //--build dictionary dict= (); this.prBuildDict(tree, ""); //--create binary string out= ""; arr.do{|val| out= out++dict[val]; }; ^out; } *decompress {|str| var out= List[], tmp= tree; str.do{|x| tmp= tmp[x.digit]; if(tmp.isCollection.no ...