Commit Graph

11 Commits

Author SHA1 Message Date
Mike Blumenkrantz cc0ffb102c properly set content hooks in genlist/gengrid...
SVN revision: 64825
2011-11-06 15:19:12 +00:00
Cedric BAIL 042de93b3d elementary: correctly unref before clearing the list and prevent infinite loop.
SVN revision: 64773
2011-11-05 17:01:55 +00:00
Daniel Juyung Seo 2bb2b1f0ee elm gen/gengrid/genlist: Changed item class's icon_get to content_get.
Do not limit the swallowed objects to icon. This had to be done before
elm 1.0 and now it's time to break. This will break all applications
which are using gengrid/genlist. Please fix it icon_get -> content_get.

TODO
1. fix theme as well.
2. fix documents.


SVN revision: 64344
2011-10-24 02:10:35 +00:00
Mike Blumenkrantz 81fb2abd7e deprecate all genlist/gengrid functions related to 64281
SVN revision: 64282
2011-10-22 00:26:21 +00:00
Mike Blumenkrantz 9987b1034f implement the following:
EAPI void elm_gen_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
EAPI Eina_Bool elm_gen_always_select_mode_get(const Evas_Object *obj);
EAPI void elm_gen_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
EAPI Eina_Bool elm_gen_no_select_mode_get(const Evas_Object *obj);
EAPI void elm_gen_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
EAPI void elm_gen_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
EAPI void elm_gen_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
EAPI void elm_gen_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
EAPI void elm_gen_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
EAPI void elm_gen_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
EAPI void elm_gen_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
EAPI void elm_gen_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
EAPI void elm_gen_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
EAPI Elm_Gen_Item *elm_gen_first_item_get(const Evas_Object *obj);
EAPI Elm_Gen_Item *elm_gen_last_item_get(const Evas_Object *obj);
EAPI Elm_Gen_Item *elm_gen_item_next_get(const Elm_Gen_Item *it);
EAPI Elm_Gen_Item *elm_gen_item_prev_get(const Elm_Gen_Item *it);
EAPI Evas_Object *elm_gen_item_gen_get(const Elm_Gen_Item *it);



SVN revision: 64281
2011-10-21 23:53:41 +00:00
Mike Blumenkrantz 4ce2a15b77 implement elm_gen_item_selected_get
SVN revision: 64278
2011-10-21 23:18:48 +00:00
Mike Blumenkrantz 5852948858 more genlist/gengrid merging: select+clear are now abstracted
SVN revision: 64275
2011-10-21 22:55:45 +00:00
Mike Blumenkrantz ffed36961e even more reordering, also convert some evas coords to int
SVN revision: 64269
2011-10-21 21:04:06 +00:00
Mike Blumenkrantz 72700795f2 more reordering
SVN revision: 64268
2011-10-21 21:00:07 +00:00
Mike Blumenkrantz c8d41c70e3 reorder gen* wd bools
SVN revision: 64265
2011-10-21 20:45:14 +00:00
Mike Blumenkrantz 35c8f40547 this commit marks step one of The Gengrid & Genlist Unification Project. these poor widget brothers were separated at birth, never knowing that they were almost exactly the same.
from here, it should be trivial to continually move more and more code into elm_gen.c and reduce duplication.
ideally we should be aiming for an elm_gen_* api where you differentiate between list/grid with style or something since the apis are almost identical


SVN revision: 64245
2011-10-21 08:52:03 +00:00