Hmm. But, as you said, ON_HOLD is set only by scroller. 
It means horizontal flicking can not be checked with vertical scroller.
So I implemented like this ~ 
How do you think about this ? 

-----Original Message-----
From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] 
Sent: Tuesday, April 12, 2011 4:58 PM
To: WooHyun Jung
Cc: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] [Patch] elm_colorselector : mouse_down (on buttons)
is canceled when mouse_move.

On Mon, 11 Apr 2011 15:32:41 +0900 WooHyun Jung <wh0705.j...@samsung.com>
said:

you know.. you should just look at the ON_HOLD flag and/or the ON_HOLD event
callback rather than re-implement the "check if distance moved more than X"
that scroller already does (then sets hold flag - hold flag == cancel what u
were going to do before) :)

> Hello. 
> 
>  
> 
> I made a patch for elm_colorselector. 
> 
> Purpose is "Mouse_down (on buttons) is canceled when mouse_move (i.e.
> flicking)". 
> 
> Can anybody check about this ? 
> 
>  
> 
> Thanks. : )
> 


--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to