Time stamped events, was Re: Detecting Double Clicks

David Olofson wrote:

Timestamped events OTOH, could be very useful, especially in cases where
you cannot reliably sustain a sufficient frame rate to poll and check the
timing in the application main loop.

It also lets you deliver timer events through the main event loop. When
timer expires an event is (logically) inserted into the event queue in
proper order and the action invoked by the timer will take place in its
proper order with all in put events. Like you said, this approach to
events and timers is useful when maintaining the proper order of actions
is important.

	Bob P.-- 


  • Bob Pendleton is seeking contract +
  • and consulting work. Find out more +
  • at http://www.jump.net/~bobp +