-
... w is created by me, take all space // in the window. bounds = nil; }; // simple hack. If the window class' name starts with a // J as in JSCWindow, we don't need to defer GUI signals. // see automation.defer(). if (("" ++ win.class)[0] == $ ...
-
... ^Pseq(outputs[level], 1).embedInStream(inval) } { // mondo sucko that I have to hack into the List outputs.array = outputs.array.extend(max(level+1, outputs.size)); outputs[level] = List.new; if(level > 0) { r { |inval| this.recurse(inval, ...
-
... etList.items.removeAt(presetList.value); presetList.items = presetList.items; //hack? to .refresh does nothing... } removeFromSurface {|argSurfaceItem| canvasItems.remove(argSurfaceItem); argSurfaceItem.removeSelf; surfaceView.refresh; } no ...
-
... ts. // Then users can do "p.document2" and get a working code string. // It's a hack, but I'm under some logistical constraints. + AbstractPlayControl { storeOn2 { | stream | source.storeOn2(stream) } } + Symbol { isBasicOperator { ^#['+', ...
-
... rParmStreams = ~instrParms.collect(_.asStream); Pchain( // incredibly pointless hack follows Pfunc { |ev| var i = ev[\bufIndex]; if(~instrParms[i] !== ~saveInstrParms[i]) { ~saveInstrParms[i] = ~instrParms[i]; ~instrParmStreams[i] = ~instrP ...
-
... prSave { |p| var file = CollStream.new, handle; var text, getDoc = { |cond| // hacking into Document internals a bit // the backend still exists for this, just "hidden" // in the official Document interface // Windows sometimes loses Docum ...
-
... , time, addr, recvPort| if(~rdepth < 50) { ~rdepth = ~rdepth + 1; // pretty bad hack: this is the best way I can think of // for the GUI slider manager to reach this link object if(msg.isKindOf(Dictionary)) { switch(msg[\what]) { \getCtlVal ...
-
... g/255, b/255, a/255); if(a==0, {cnt= cnt+1}); }; }; if(cnt==(width*height), { //hack. do not know why some images have alpha 0 (this.class.name++": all alpha was 0. flipping.").warn; data= data.collect{|c| c.alpha= 1}; }); }, {(this.class.n ...
-
... .collect{|p| p.highestPower(this, pitchRange)} } // this is like asFraction but hacked in order to handle rounding errors for // harmonic interpretation of periodic decimals (0.333 will be 1/3 and not 333/1000) asRatio {|denominator = 100, ...
-
... patString is the abstract generator's only argument ], name: "" )); // moderate hack: I should wrap the string in a patstring -> divider -> generator // but I'm lazy wrapArray = true; }; parsed.patStringNode.setTime(0, bpb); // write the co ...