-
... ab, slot| ^super.new.init(widget, tab, slot) } init { |widget, tab, slot| var cvString, slotHiLo; var staticTextFont, staticTextColor, textFieldFont, textFieldFontColor, textFieldBg; var msrc = "source", mchan = "channel", mctrl = "ctrl", m ...
-
... rue| current = this; if(pushSyntax) { thisProcess.interpreter.preProcessor = { |string| string = string.copy; // make it mutable while { string.beginsWith("\n") } { string = string.drop(1) }; if(string.beginsWith("(\n--") and: string.endsWi ...
-
... 9)), HLayout(penWidthSlider= Slider().orientation_(\horizontal), StaticText().string_("penWidth")), HLayout(numCogsSlider= Slider().orientation_(\horizontal), StaticText().string_("numCogs")), HLayout(outerSlider= Slider().orientation ...
-
... j.enpath }) } loadDocument { ^this.collect({ arg obj; obj.loadDocument }) } } + String { loadPath { arg warnIfNotFound=true; var obj, path; path = this.standardizePath; if(File.exists(path), { { obj = thisProcess.interpreter.executeFile(pat ...
-
... ls { |view| preferences.do { |setting| var type = setting.type; case { type == \string } { var v = HLayoutView(view, Rect(0,0,width, preferenceHeight)); var menu, text; var itemsAsSymbols = setting.values.collect({ |item| item.asSymbol }); ...
-
... the interpretFunc and allowedChars variables. The default interpretFunc is: { |string| string.interpret } The default allowedChars are: "+-.eE*/()%" Any typed char that is not in the allowedChars string will not show up in the box. The int ...
-
... .unixCmdInferPID({ |pid| p = pid; ( "The PID is" + pid).postln}) ("kill "++p.asString).unixCmd This toolbox contains the following: String:unixCmdInferPID(action) This is like unixCmd except that it also infers the PID that the launched pr ...
-
... on = // cross-os compatibility spatDifLoggerPath = mySpatDifLoggerPath ?? { var string = thisProcess.platform.userExtensionDir; string[..string.findBackwards("/")]++"SpatialRender" }; ("mkdir "++ spatDifLoggerPath).systemCmd; //just in case ...
-
... }) .canReceiveDragHandler_({ var obj; obj = View.currentDrag; if( obj.class == String ) { obj = { obj.interpret }.try; }; obj.respondsTo( \penFill ); }) .receiveDragHandler_({ if( View.currentDrag.class == String ) { chain.displayColor = V ...
-
... Color.white, Color.black ] ].asList; var demo_view = UserView(); var demo_string = ""; var demo_function; ~get_multi_button_view = { | states_array, default_state, orientation, font, has_inside_margin | var multi_button_view = ...