-
... an ----------------------------- // hasFeature { arg feature, version; // types String, String // This is completely useless and will most likely never be used. // But it's part of the DOM specification... if ( (feature.compare("XML", true) ...
-
... specs, useGlobalSpecs = true| this.every { |x| x.isKindOf(Symbol) || x.isKindOf(String) }.if { ^this.collect(_.miSC_specAsArray(synthName, metaKey, useGlobalSpecs)) }{ ^this.copy } } miSC_oddSpecAsArray { |synthName, metaKey = \specs, useGl ...
-
GMTextView : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisTextOrientation = \right; var thisMaxFontSize; *new { ^super.new.init; } init { super.init; this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, false); ...
-
... .0 );)) }; labels.do { | t, i | GUI.textView.new(win, Rect(4, 25 * i, 80, 20)) .string_(t.asString) .stringColor_(colors[i]) .background_(background) .font_(Font("Helvetica", 18) ) } ^win; } windowClump { | windowSize | var result, size; si ...
-
... hese servers\n" ++ "to reach optimal CPU performance on a multi-core system" ) .string_( " " ++ s.name + "/" + ip ); startButton = SmoothButton(composite, Rect(0,0,18,18)) .canFocus_( false ) .label_( [ 'power', 'power' ] ) .hiliteColor_( C ...
-
... untrusted and should be validated before trusting. For example, `req.body.foo.toString()` may fail in multiple ways, for example the `foo` property may not be there or may not be a string, and `toString` may not be a function and instead a ...
-
... ut.states[0][0].asSymbol) }; }; w.view.layout = HLayout( VLayout( StaticText(w).string_("modes"), *modebuts = mf.modes.keys(Array).sort.collect { |modeName| Button(w).states_([[ modeName ], [modeName, Color.white, Color.red]]) .action_({ |b ...
-
... ut(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse position ( w = UserView().minWidth_(500).minHeight_(500).acceptsMouseOver_(true).front; ENdef ...
-
... e); } whichFile {arg file, class, thisPath; var dir, existFiles, fileName, classString, modPath, dash; dash = "/"; Platform.case(\windows, {dash = "\\"; }); case {file == \synth} { modPath = dash ++ "Files" ++ dash ++ "SynthFiles" ++ dash} ...
-
... { postSettings { this.as ("<pxPresetNameHere>.addSettings(" + settings.asCompileString + ")") .newTextWindow(proxy.key ++ ".pxpreset.scd"); } storeDialog { |name, loc| // check before overwriting a setting? var w; loc = loc ?? {400@300}; if ...