-
var getTextProperties = { var result = IdentityDictionary.with(\textProperties -> ~textProperties); ~textProperties.do { |key| result.put(key, key.envirGet); }; result }; /** Chucklib-livecode: A framework for live-coding improvisation of e ...
-
... }"); }) ; parent ?? { window.front }; all.add(this); } result { var res; res = IdentityDictionary.new; tmpShortcuts.do({ |it| res.put(it.key, it.value) }); // "res: %\n".postf(res.cs); ^res; } setShortcuts { |view| var thisMod, thisArrMod; ...
-
... ize); this.keysValuesDo({ |k, v| new.put(k, v.shallowCopyItems); }); ^new } } + IdentityDictionary { shallowCopyItems { ^super.shallowCopyItems .proto_(proto) // child object should not be modifying parent/proto .parent_(parent) // so we do ...
-
... eaders, papers; score = []; layoutOverrides = []; includeMIDI = false; lyVars = IdentityDictionary.new; paper = Dictionary.new; header = Dictionary.new; baseMeasurementUnit = "cm"; // set an initial value this.paperSize_("letter", false); } ...
-
... }); ^f.valueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n,spec; if(spec.class === ControlSpec,{ KrNumberEditor(n,spec) },{ NumberEditor(n,spec) }) }, Env ...
-
... }); ^f.valueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, ...
-
... Button = {}; // Build button states map and seed initial values. buttonStates = IdentityDictionary.new; buttonStates.put(\dPadLeft, false); buttonStates.put(\dPadRight, false); buttonStates.put(\dPadDown, false); buttonStates.put(\dPadUp, f ...
-
... oder spreadE { |beamShape = \basic, dim = 3| var rE = this.rE(beamShape, dim); ^IdentityDictionary.with(*[ \cos->rE.acos, // Zotter & Frank: ~-3dB \hvc->((2 * rE) - 1).acos // Carpentier, Politis: ~-6dB ]).know_(true) } // 'l’énergie réduit ...
-
... } */ // these are some of the guts... and the SynthDefs *initClass { formats = IdentityDictionary[ \straight -> 0, \stereo -> 1, \uhj ->2, \quad -> 3, \hex -> 4, \eight -> 5 ]; numouts = IdentityDictionary[ \straight -> 0, \stereo -> 2, \u ...
-
... ok, argOSCPath| addrBook = argAddrBook.asAddrBook; oscPath = argOSCPath; dict = IdentityDictionary.new; this.makeSyncRequestOSCFunc; this.makeOSCFunc; this.sync; } put {|key, value| dict[key] = value; this.changed(\val, key, value); this.up ...