2011/5/20 Seunggyun Kim <sgyun....@samsung.com> > Dear all, > > I introduce a new feature "reorder mode" of genlist. > Using this feature, user can reoder genlist items dynamically. > > [API] > ================================================================== > - EAPI Eina_Bool elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it) > Get the rename mode state of an item. This gets the rename mode state of an > item > > - EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool > reorder_mode) > Set genlist reorder mode. This enables the item is moved to another item. > ================================================================== > > After set this reorder api, if user press an item (long press), the item > can > be moved another position. > Then if the user releases the item, the item will be reodered in genlist. > When the user releases the holding item, Elm_Genlist_Item_Class.func.moved > callback is also called. > If needed, the application can add some logic in that callback function. > > Please review this patch. > Thanks. > > > > ------------------------------------------------------------------------------ > 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 > > Hi Kim, This a verry cool feature ! I didn't look at the source code, but i found a problem with the odd/even backgrounds, when the list is reordered, i think that even/odd background order should be keeped ?
Another idea, i find that when you longpress on an item, they should be an event to inform the user that the event is taken into account, and that it can begin to drag the item, i guess it could be a event sent to the edje for flashing or something like that. Regards, Nicolas -- Nicolas Aguirre Mail: aguirre.nico...@gmail.com Web: http://enna.geexbox.org Blog: http://dev.enlightenment.fr/~captainigloo/ ------------------------------------------------------------------------------ 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