Thank you for your comment :)

 

I added edc effect showing whether the item is longpressed in reorder mode.

 

You can watch a sample video on youtube.

http://www.youtube.com/watch?v=ij0vAgqucjM

 

and I attached new diff code.

 

Newly added API about reorder mode is like below.

 

 [API]

==================================================================

- EAPI void  elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool
reorder_mode) EINA_ARG_NONNULL(1);

Set genlist reorder mode. This enables the item is moved to another item.

 

- EAPI Eina_Bool  elm_genlist_reorder_mode_get(const Evas_Object *obj)
EINA_ARG_NONNULL(1);

Get the reorder mode state of genlist. 

==================================================================

 

-------------------------------------------------------

From: Nicolas Aguirre [mailto:aguirre.nico...@gmail.com] 

Sent: Saturday, May 21, 2011 12:08 AM

To: Daniel Juyung Seo

Cc: Seunggyun Kim; enlightenment-devel@lists.sourceforge.net

Subject: Re: [E-devel] [Patch] elm_genlist - added new feature : genlist
reorder mode

 

 

2011/5/20 Daniel Juyung Seo <seojuyu...@gmail.com>

Yeah, this is a very good feature!

 

>> when the list is reordered, i think that even/odd background order should
be keeped ?

In genlist, even/odd can be changed dynamically.

Suppose you add/remove items in the middle of genlist.

Genlist redraw items and changes even/odd looks.

even/odd are just for the GUI. They're not genlist items' property.

So I propose that even/odd need to be changed as Kim did.

 

 

Yes I agree with you, you misunderstood what i want to say :). I'm pretty
sure that i had detect a bug with odd/even, but i can't reproduce it :( So
it's ok as is !

 

-- 

Nicolas Aguirre

Mail: aguirre.nico...@gmail.com

Web: http://enna.geexbox.org

Blog: http://dev.enlightenment.fr/~captainigloo/

Attachment: genlist_reorder_mode.diff
Description: Binary data

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to