Commit Graph

60 Commits

Author SHA1 Message Date
nirajkr fcfeba5097 gengrid : Implementation for gengrid item focus support
Summary:
Implemented the following API to support gengrid item_focus
          1. _elm_gengrid_focus_highlight_geometry_get
          2. _elm_gengrid_focused_item_get
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_right
          6. _item_focus_down
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _item_focused
          10. _item_unfocused
          11. Changes in the smart_event, pan_calculation, smart_on_focus to support item focus

Reviewers: seoz, woohyun, singh.amitesh, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D550
2014-03-21 17:00:46 +09:00
Daniel Juyung Seo d0fa4594e8 elm headers: fixed documentation about elm_object_item supports. 2013-09-18 01:56:16 +09:00
Daniel Juyung Seo 37822734cc elm: fixed focused and unfocused documentation.
1. ctxpopup, fileselector_entry, naviframe, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2. since 1.8
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 8cf2c8a422 calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid: added "focused" and "unfocused" documentations. 2013-06-09 18:55:42 +09:00
Daniel Juyung Seo cc77713da3 gengrid/genlist: added index,update smartcallback documentation. 2013-06-05 14:50:34 +09:00
Daniel Juyung Seo 94894ad8ec elm_gengrid/genlist.h: flourish documentation for 'moved' smart callback. 2013-05-31 14:53:55 +09:00
Flavio Ceolin d53cc519ff Welcome a new smart callback for scrollables -- page,changed. 2013-05-15 18:57:15 -03:00
Daniel Zaoui f03db69f8f Elementary: Split headers for Gengrid, genlist, grid, image and index 2013-04-28 15:25:28 +03:00
Daniel Juyung Seo 1a0e1fcbe4 gengrid/genlist/list.h: added more documentation for highlighted and unhighlighted smart callbacks. 2013-03-27 02:41:34 +09:00
Flavio Ceolin 9ea9e13c26 Genlist, gengrid: two new smart callbacks
Adding ones for mouse pressed and mouse released on items. The event
info for both callbacks are the items being pressed/released.
2013-03-20 13:39:51 -03:00
Daniel Juyung Seo 7d0dcd5c12 elm gengrid,list,menu,segment_control,toolbar.h: updated documentation with regarding to elm_xxx_item_object_get().
More informative documentation about the returned actual object by elm_xxx_item_object_get().
2013-03-11 20:52:57 +09:00
ChunEon Park 35c5f65051 elementary/gengrid - support language,changed smart callback
SVN revision: 83846
2013-02-12 07:29:16 +00:00
Daniel Juyung Seo 84d251acc8 elm list, genlist, gengrid: Added highlighted and unhighlighted signal callbacks.
SVN revision: 82750
2013-01-14 10:12:50 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo a96f0f2a13 elm elm_gengrid.h: Added more description to gengrid documentation.
SVN revision: 79501
2012-11-21 07:16:48 +00:00
Michael BOUCHAUD 2a4c76ddeb elmentary: add elm_gengrid_nth_item_get
SVN revision: 79296
2012-11-14 16:34:33 +00:00
Gustavo Lima Chaves 9199e0d974 [elm] Forgotten cleanups and comments on gengrid.
SVN revision: 73940
2012-07-16 21:56:18 +00:00
Gustavo Lima Chaves 363cdf94c3 [elm] Gengrid now a scrollable layout.
SVN revision: 73541
2012-07-10 21:40:38 +00:00
Cedric BAIL de165727bb elementary: improve doc.
Patch by Jérôme Pinot <ngc891@gmail.com>.

- #link on the beginning of a new line does give ugly output:
http://ngc891.blogdns.net/pub/projects/debug/doxygen-formating-eww.png
- some typos
- some missing @c
- in elm_web, convert remaining @li parameter lists to @param
- minor random fixes


SVN revision: 71486
2012-05-29 03:09:06 +00:00
Thiago Thamada 97429ed053 Cleanup Doxygen Warnings - elementary 1
Warning resolved:
explicit link request to <name> could not be resolved

Files modified:
elm_clock.h
elm_gengrid.h
elm_index.h
elm_slideshow.h
elm_web.h

Patch by: Thiago Thamada <tiba@profusion.mobi>

SVN revision: 70523
2012-04-27 12:55:08 +00:00
Daniel Juyung Seo 7bfa482247 elm elm_gengrid.h elm_genlist.h: Fixed documentation typo.
SVN revision: 70254
2012-04-17 06:31:10 +00:00
ChunEon Park 855b8d2709 elementary - +ingroup, fixed indentations.
SVN revision: 70249
2012-04-17 01:35:46 +00:00
Bruno Dilly 84584b0a47 Elementary: small fix on gen.* scroller policy documentation
--This line,yand those below, will be ignored--

M    elm_genlist.h
M    elm_gengrid.h


SVN revision: 69298
2012-03-13 14:47:10 +00:00
Hyoyoung Chang ec5b4619cb From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item_select_mode_set/get
apis

I made a item_select_mode_set/get in elm_gengrid.
It works like genlist_item_select_mode apis.

+EAPI void
+elm_gengrid_item_select_mode_set(Elm_Object_Item *it,
+                                 Elm_Object_Select_Mode mode)
+EAPI Elm_Object_Select_Mode
+elm_gengrid_item_select_mode_get(const Elm_Object_Item *it)

from this morning - left over from last night.



SVN revision: 69056
2012-03-08 13:47:09 +00:00
Hyoyoung Chang 7f0ece59ac From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] Elm_Object_Select_Mode comment update

After updated  Elm_Object_Select_Mode naming, some comments are
outdated. I changed it.



SVN revision: 69014
2012-03-07 18:32:00 +00:00
Hyoyoung Chang dff33d0aa4 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_select_mode_set/get

I added two apis for item selecting mode.
It almost same with elm_genlist_select_mode.


+EAPI void
+elm_genlist_item_select_mode_set(Elm_Object_Item *it,
+                                 Elm_Object_Select_Mode_Type mode)
+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_item_select_mode_get(const Elm_Object_Item *it)

And display_only apis is unfied with item_select_mode.

+EINA_DEPRECATED EAPI void
elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool
display_only);
+EINA_DEPRECATED EAPI Eina_Bool
elm_genlist_item_display_only_get(const Elm_Object_Item *it);



SVN revision: 68993
2012-03-07 16:22:58 +00:00
Sanjeev BA feb7bfe3df Filled_get/set works fine.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68984
2012-03-07 16:05:32 +00:00
Mike Blumenkrantz aa78786616 rename elm object select mode values: whoever wrote this deserves spankies
SVN revision: 68982
2012-03-07 16:01:37 +00:00
Carsten Haitzler 8054ade720 xxx-- -> we need these as genlist/grid items hold data for these due
to realize/unrealize.



SVN revision: 68981
2012-03-07 16:01:15 +00:00
Carsten Haitzler a021f775fb xxx -- - i'm happy with this now.
SVN revision: 68980
2012-03-07 15:58:40 +00:00
ChunEon Park 04cca27789 elementary/gengrid - fixed formatting
SVN revision: 68970
2012-03-07 15:15:54 +00:00
Daniel Juyung Seo 9f5a98dd60 elm genlist/gengrid: Fixed hilight -> highlight.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68967
2012-03-07 15:02:01 +00:00
Hyoyoung Chang dbdd6294c5 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item_index_get func

I made a patch that's adding elm_gengrid_item_index_get function.

+EAPI int
+elm_gengrid_item_index_get(const Elm_Object_Item *it)

It works like elm_genlist_item_index_get()




SVN revision: 68951
2012-03-07 13:58:30 +00:00
Hyoyoung Chang 2df31b2926 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] gengrid - Some missing APIs is added

After api reivew, some api is missed in gengrid.
So I add this apis to gengrid.

patch file - 0001
+EAPI Eina_List
*elm_gengrid_realized_items_get(const Evas_Object *obj);
+EAPI void
elm_gengrid_realized_items_update(Evas_Object *obj);

patch file - 0002
+EAPI void
elm_gengrid_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy
policy_h, Elm_Scroller_Policy policy_v);
+EAPI void
elm_gengrid_scroller_policy_get(const Evas_Object *obj,
Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);

patch file - 0003
+EAPI unsigned int elm_gengrid_items_count(const Evas_Object *obj);



SVN revision: 68948
2012-03-07 13:46:35 +00:00
Hyoyoung Chang 248f878f0d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gen{list, grid} - add
no_highlight_mode_set/get

actually change it to hilight_mode/set/get with the inverse.



SVN revision: 68947
2012-03-07 13:37:18 +00:00
Sanjeev BA 0e50d5d966 Add top,middle bring_in and show support to gengrid. Implementation to be done later.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68943
2012-03-07 12:57:17 +00:00
Hyoyoung Chang d1ab1c10e3 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gen{list, grid} - add elm_genlist_select_mode_set

As discussed in irc, I made a patch about unifying
always_select_mode_set and no_select_mode_set.

I'm introducing two apis in genlist (also in gengrid)

+EAPI void
+elm_genlist_select_mode_set(Evas_Object *obj,
Elm_Object_Select_Mode_Type mode)

+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_select_mode_get(const Evas_Object *obj);

And added a enum in elm_general.h


+typedef enum
+{
+   ELM_OBJECT_NORMAL_SELECT = 0, /**< default select mode */
+   ELM_OBJECT_ALWAYS_SELECT, /**< always select mode */
+   ELM_OBJECT_NO_SELECT, /**< no select mode */
+
+   ELM_OBJECT_SELECT_MODE_MAX
+} Elm_Object_Select_Mode_Type;

After this is commited, i'll send a patch about examples and
edje_external.




SVN revision: 68937
2012-03-07 12:43:19 +00:00
Daniel Juyung Seo 6f413545c7 elm: Use lower case for xxx documentation to distinguish this from XXX(fixme)
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68877
2012-03-07 06:14:25 +00:00
Carsten Haitzler bb0f97b520 and lets actually merge the gnelist/grid item class goop so when it
all just become sgenlsit we are all happen. elm_gen.h is just there as
a temporary common header until it all beocmes genlist (or genlist
under another name - gnengrid)



SVN revision: 68773
2012-03-06 06:09:20 +00:00
Carsten Haitzler c233923591 use version as an actual version and bring back macros for setting up
class header for those using const item class structs.



SVN revision: 68770
2012-03-06 05:02:36 +00:00
Sanjeev BA 19bfb03a57 Fix some typos and documentation.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68667
2012-03-05 01:57:17 +00:00
ChunEon Park 8b7e99754d elementary/genlist,gengrid - reorder the EAPIs in their headers to compare each other.
SVN revision: 68552
2012-02-29 12:13:40 +00:00
ChunEon Park 2b3dad09a2 elementary/gengrid - removed elm_gengrid_item_sorted_insert
and rename elm_gengrid_item_direct_sorted_insert to elm_gengrid_item_sorted_insert



SVN revision: 68545
2012-02-29 10:30:51 +00:00
ChunEon Park 67d14d50ed elementary/gengrid - elm_gengrid_item_item_class_set -> elm_gengrid_item_item_class_update
SVN revision: 68542
2012-02-29 09:01:24 +00:00
ChunEon Park c5a473f0cc elementary/gengrid - deprecated elm_gengrid_item_object_get()
SVN revision: 68537
2012-02-29 06:44:35 +00:00
ChunEon Park ebd409c78a elementary/genlist, gengrid - more reviews
SVN revision: 68534
2012-02-29 06:22:59 +00:00
Hyoyoung Chang 7ab200383d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item class management api
(1/3)

As like genlist item class management api, I added 4 apis to
elm_gengrid.

+EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void);
+EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_ref(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_unref(Elm_Gengrid_Item_Class *itc);

gengrid item class is maintained by gengrid in automatic manner.
it maintains its reference count. and item_class_free api marks
"delete_me".
Unless item_class_free, item class will not be freed.



SVN revision: 68308
2012-02-23 07:36:12 +00:00
Hyoyoung Chang 068985b187 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_class management
functions

I make controversial apis for item class management.
As raster and other guys suggest, I simplify APIs and its behaviors.

First, Two public apis and two internal apis are introduced

+EAPI Elm_Genlist_Item_Class *
+elm_genlist_item_class_new(void)

+EAPI void
+elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc)

genlist item class is maintained by genlist in automatic manner.

And three fields are introduced in genlist item class.
+   int version;
+   unsigned int refcount;
+   Eina_Bool delete_me;

Normally a user add a elm_genlist_item_class by
elm_genlist_item_class_new().
Then its reference counter is automatic maintained.
If the user wanna to remove the elm_genlist_item_class, then call
elm_genlist_item_class_free()
After refcount reaches to 0, it will be removed.



SVN revision: 68147
2012-02-20 08:26:17 +00:00
Jihoon Kim 1e34a3e568 elementary: fix some doxygen warnings
SVN revision: 68112
2012-02-18 15:40:39 +00:00
Sanjeev BA a1309b1a9e Fix typos in documentation #5
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 67908
2012-02-14 08:50:33 +00:00