Thanks a lot ^_^

Cheers,
Tick

Carsten Haitzler (The Rasterman) 提到:
> On Sat, 05 Apr 2008 01:04:30 +0800 Tick <[EMAIL PROTECTED]> babbled:
>
> since there are no objections - i'll stick this in cvs. :) it's in now.
>
>   
>> Hi All,
>>     Thanks for the feedback of CodeWarrior.  I add extra two function 
>> that make the bouncy also an option.
>> Default is True, but if you turn it to False, it will not bounce when 
>> hit the boundary.
>>
>> Adding two functions:
>> +void        etk_scrolled_view_drag_bouncy_set(Etk_Scrolled_View 
>> *scrolled_view, Etk_Bool bouncy);
>> +Etk_Bool    etk_scrolled_view_drag_bouncy_get(Etk_Scrolled_View 
>> *scrolled_view);
>>
>> Cheers,
>> Tick
>>
>> Tick 提到:
>>     
>>> Hi All,
>>>    The attached patch lets etk_scrolled_view been dragable with 
>>> pressing on the panel directly and drag. If you drag fast, after 
>>> releasing the panel will still scrolling until it stop slowly.
>>>
>>> Adding the following functions.
>>> void            etk_scrolled_view_dragable_set(Etk_Scrolled_View 
>>> *scrolled_view, Etk_Bool dragable);
>>> Etk_Bool   etk_scrolled_view_dragable_get(Etk_Scrolled_View 
>>> *scrolled_view);
>>>
>>> additional functions for detail control. (Most user don't need them)
>>> double        
>>> etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View 
>>> *scrolled_view,double interval);
>>> double        
>>> etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View 
>>> *scrolled_view);
>>> unsigned int 
>>> etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View 
>>> *scrolled_view,unsigned int damping);
>>> unsigned int 
>>> etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View 
>>> *scrolled_view);
>>>
>>> You can test this with etk_test after patching and adding two line in 
>>> etk_test
>>> cvs diff: Diffing .
>>> Index: etk_scrolled_view_test.c
>>> ===================================================================
>>> RCS file: /var/cvs/e/e17/libs/etk/src/bin/etk_scrolled_view_test.c,v
>>> retrieving revision 1.8
>>> diff -r1.8 etk_scrolled_view_test.c
>>> 29a30,31
>>>       
>>>>    
>>>>         
>>> etk_scrolled_view_policy_set(ETK_SCROLLED_VIEW
>>> (scrolled_view),ETK_POLICY_HIDE,ETK_POLICY_HIDE); 
>>>
>>>       
>>>>    
>>>>         
>>> etk_scrolled_view_dragable_set(ETK_SCROLLED_VIEW(scrolled_view),ETK_TRUE); 
>>>
>>>
>>> Cheers,
>>> Tick
>>>       
>>     
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to