"kbenson" wrote:
What we did is just track the time between messages. If it has been more than 5 minutes (minimum time for screensaver) since the last message, we trigger a show of all visible canvas objects, in order.
I noticed that KidPaint did that on the second keypress after the screensaver, but I don't like the idea of requiring the user to press a button twice to properly redraw after the screensaver. It makes some sense in KidPaint, since you're actively interacting with the channel, but not really in any of my audio channels. The route I took originally was to write an update to a tmp file every second, and then poll for that in my main app, but that felt too much like a hack (not that anything else being discussed here doesn't also feel like a hack).
Also, did you see my note above about the drawing getting erased in KidPaint after the screensaver? Is that down to the timing between painting canvases, which seems to be completely unpredictable?
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)