[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Re: Evas double or triple click

On Sat, 25 Feb 2006 17:47:06 +0100 simon.treny@free.fr babbled:

> Hey,
> Thanks raster for the quick fix of the "bug" on event->flags in Evas :)
> But I think the behavior is still not perfect. First of all, clicking quickly
> on an object then double clicking on another object (which was detected as a
> triple click before the fix) is now not detected as a double click while it
> should. Also, i think the behavior should be a little bit different for smart
> objects. You should be able to do a single click on an object while the the
> parent object should be double clicked. To be clearer: if your smart object
> is an icon, with 2 child objects: the image and the label. If you single click
> quickly on the image and then on the label, each of these object should emit
> an single-click event. But the parent smart object (the icon) should emit a
> double-click event on the second click. To do that, I guess the best way is to
> add last_click_timestamp directly in the structure of an evas_object and when
> its clicked, compared the difference between the two timestamps and emit the
> event with the correct flags.

ok - as i said on irc. i haven't replied as i don't have a solution yet i'm happy with. i am keeping this in mind - and i know it's not perfect. :)

> Regards,
> MoOm
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd_______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
Tokyo, Japan (東京 日本)