PDA

View Full Version : RE: Overlay idea



Moser, Robert L. II
2003-12-05, 14:59
> That's fine for the return from lines(), but how would you
> extend that to
> allow for other modules, like animation or block to add in
> their 2 cents?
> How would you do the bouncing ball for Karaoke (which could
> be an overlay on
> the top line which moves across at a given rate)?

To answer my own question, I guess you could have a place for modules to
register their intent to modify the screen, then, before the final
rendering, pass the output of lines() through all the modules wanting to
modify it (in a priority order set when registering).