Re: [fltk.general] double-click vs. click example

2012-03-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
Cool example; can I steal that for the cheat page ;) Perhaps can be integrated into the docs as well. Of course; though might be worth adding some cautions... - On OSX and X11 I can (fairly reliably) get it to report up to 15 clicks, if I *really try*, but on WinXX (winXP

Re: [fltk.general] double-click vs. click example

2012-03-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
Seems like every possible combo of MM, DD, and is claimed by some country or other: Y/M/D -- ISO 8601 International Date (China, Korea, Japan..) D/M/Y -- India, Spain, much of the EU, AU, M/D/Y -- US Well, actually, not *every*

Re: [fltk.general] double-click vs. click example

2012-03-08 Thread blue146
Great ! I am sure several people were looks for such an example. Thank you. On 7 Mar 2012, at 20:12, blue146 wrote: The thing is that when it's a double click you will first print 1 and = then 2. Could you post an example that prints single when it's a = single click and only prints double

[fltk.general] double-click vs. click example

2012-03-07 Thread blue146
Can someone post an example of a function that handles single-click events and double-click events. It seems to be non-trivial task, and even though many people may need it I could not find an example anywhere. ___ fltk mailing list fltk@easysw.com

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 10:06, blue146 wrote: Can someone post an example of a function that handles single-click events and double-click events. It seems to be non-trivial task, and even though many people may need it I could not find an example anywhere. You'd want to use: Fl::event_clicks(); in

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread blue146
The thing is that when it's a double click you will first print 1 and then 2. Could you post an example that prints single when it's a single click and only prints double (without printing single as well) when it's a double-click ? On 03/07/12 10:06, blue146 wrote: Can someone post an

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 12:12, blue146 wrote: The thing is that when it's a double click you will first print 1 and then 2. Right, it counts the consecutive clicks. Could you post an example that prints single when it's a single click and only prints double (without printing single as well)

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Ian MacArthur
On 7 Mar 2012, at 20:12, blue146 wrote: The thing is that when it's a double click you will first print 1 and then 2. Could you post an example that prints single when it's a single click and only prints double (without printing single as well) when it's a double-click ? Sure, there

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
On 03/07/12 14:14, Ian MacArthur wrote: Sure, there are a couple of ways to go about that, but it turns out it's often not really that useful, so there's no built-in way of doing it. Cool example; can I steal that for the cheat page ;) Perhaps can be integrated into the docs as

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Greg Ercolano
thread-jack [..] Seems like every possible combo of MM, DD, and is claimed by some country or other: Y/M/D -- ISO 8601 International Date (China, Korea, Japan..) D/M/Y -- India, Spain, much of the EU, AU, M/D/Y -- US

Re: [fltk.general] double-click vs. click example

2012-03-07 Thread Edzard Egberts
The thing is that when it's a double click you will first print 1 and then 2. Could you post an example that prints single when it's a single click and only prints double (without printing single as well) when it's a double-click ? The thing is, that a double click really is meant as a two