Hi all,

I'm busy porting a piece of code over to FLTK. One of the things that
the original code does is respond to mouse events: mouse down, up,
move, enter, leave, drag, click and doubleclick.

So far so good; many of these are available as regular FLTK events.
The problem is in detecting clicks vs. double-clicks from their
partial events (mouse down+up and yet again with a given timeout,
without having moved too much, ...).

Has anyone written an event handler that already does
proper click/doubleclick detection?

Thanks in advance,
Marc

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to