-
... thTask; if((nextAbsTime = pq.topPriority).notNil,{ function = nextAbsList = pq.pop; secs = nextAbsTime - this.time; clock.sched(secs,thTask = nextAbsFunc = { if(thTask === nextAbsFunc,{ function.value; this.tschedAbsNext }); nil }); }); } ...
-
... thTask; if((nextAbsTime = pq.topPriority).notNil, { function = nextAbsList = pq.pop; secs = nextAbsTime - this.time; clock.sched(secs, thTask = nextAbsFunc = { if(thTask === nextAbsFunc, { function.value; this.tschedAbsNext }); nil }); }); ...
-
... prevPos[c] = prevPos[c].add(i) }; tokens.do { | c, i | n = n.add([c, prevPos[c].pop, i]) }; prevPos.keysValuesDo{ |k, v | if (v.size >0) {d = d ++ [k,v, nil].flop } }; d ++ n; } } diff3 { diffFunc = {| prevTokens, tokens | var sz, d, n, pre ...
-
... rks: Quarks.updateDirectory; // if you get an error on OSX in the terminal that pops up that says something about the svn version being outdated, use this line to set the svn path: QuarkSVNRepository.svnpath_( "/opt/local/bin/svn" ); // upd ...
-
... .stringCenteredIn(name.asString, zone, Font("Monaco", 24), white, \center); Pen.pop; Pen.translate(0, height); }; Pen.pop; if (NTMI.webMouse.downCount > 0) { // "drawFunc - gets here?".postln; mouseXY = NTMI.webMouse.xy.asPoint; NTMI.webMou ...
-
... ; } *useWithSkin { |skin, function| this.pushSkin( skin ); function.value; this.popSkin; } *pushSkin { |skin| this.skins = this.skins.add( skin ); } *popSkin { this.skins.pop; } *skin_ { |skin| if( skin.isNil ) { skins = [] } // remove all ...
-
... ); vw.action = { action.value( this, key ); }; views[ key ] = vw; }); RoundView.popSkin; } remove { composite.remove; } resize_ { |resize| composite.resize_(resize) } font_ { |font| views.values.do({ |vw| vw.font = font }); } viewHeight_ { ...
-
... ) { convert.( [\push] ); cmd[1..].do({ |item| convert.( item ) }); convert.( [\pop] ); } { // cmd[0].post; " converting now".postln; array = switch ( cmd[0], \push, { [ "gsave" ] }, \pop, { [ "grestore" ] }, \strokeRect, { cmd[1].asArray + ...
-
... <" << tag << ">"; open = open.add(tag); } *closeTag { |tag| var stackTag = open.pop; tag !? { if(stackTag != tag) { Error("XML tags don't close properly.").throw } }; this << "</" << stackTag << ">"; } } HelpDocNode { // editing gui addToGU ...
-
... idth; layout=argLayout; bounds.isNil.if{bounds = 350@20}; // if no parent, then pop up window # view,bounds = this.prMakeView( parentView,bounds); // override layout (sorry if you want otherwise) if( layout != \line2 ) { layout = if( bounds ...