Commit Graph

379 Commits

Author SHA1 Message Date
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 758bbce11d gengrid/genlist: removed relcount leftovers from commit 3f4c3e03c600c87782543cf08de886016f2c192e. 2013-04-02 12:44:27 +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
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Juyung Seo 8d1effeb20 elm elm_gengrid.c: Optimize item count calculation when an item is appended. Patch by Junki Cho <jk0811.cho@samsung.com>
Do not need to calculate the list count when a gengrid item is appended.
Just use item_count which was already calculated.
2013-03-04 20:32:04 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
ChunEon Park 35c5f65051 elementary/gengrid - support language,changed smart callback
SVN revision: 83846
2013-02-12 07:29:16 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +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
Shinwoo Kim 44363b8f19 [access] export some APIs which would improve application side flexibility.
+ elm_access_object_item_register();
  + elm_access_object_item_unregister();
  + elm_access_object_item_access_get();



SVN revision: 82561
2013-01-10 12:00:05 +00:00
DUBEYPRINCE KUMAR ac8e33ea76 From: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
Subject: [E-devel] [BUG] [ELM] [PATCH] Bug fixes for APIs
elm_gengrid_region_show/bring_in

Please review the attached patches.

Attached patch "elm_gengrid.patch" which fix the bug related to
elm_gengrid_region_show/bring_in APIs.

And patch "test_gengrid.patch" in order to test the fix.



 Change Description:
 
      1. An internal function _item_show_region() is created which does
      the
      calculation for item position.
      
          2. This function is called in _calc_job() as soon as pan
object
gets its
size.

    3. Test_gengrid code enhancement for testing the fix.



SVN revision: 82063
2013-01-03 12:03:55 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Gustavo Lima Chaves 4643908f4f [elm] Fix some copy and paste failures.
Thanks Cedric for reporting.



SVN revision: 80149
2012-12-04 12:52:06 +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 383eab67b9 elm gengrid: Refactoring. Use simpler code.
SVN revision: 79396
2012-11-16 14:26:10 +00:00
Daniel Juyung Seo 939e024fb4 elm gengrid/genlist: Refactoring. Now genlist/gengrid item new functions look similar.
SVN revision: 79395
2012-11-16 14:26:07 +00:00
Daniel Juyung Seo ea644c1552 elm genlist/gengrid: Refactoring.
SVN revision: 79394
2012-11-16 14:26:04 +00:00
Daniel Juyung Seo 7c3b90dc72 elm gengrid: Removed unnecessary duplicated calls.
SVN revision: 79392
2012-11-16 14:25:46 +00:00
Michael BOUCHAUD 2a4c76ddeb elmentary: add elm_gengrid_nth_item_get
SVN revision: 79296
2012-11-14 16:34:33 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Daniel Juyung Seo 4e49a5f52e elm gengrid: Fixed wrong _calc_job parameter. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Oct 19, 2012 at 12:30 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear all,
>
> There is a bug, invalid data assign into ecore_job.
> Trivial whilte space removal is included also.  it's automated in my editor :D.
>
> Please review this patch.
>
> --
> BRs,
> Kim.

SVN revision: 78221
2012-10-19 04:06:42 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Gustavo Lima Chaves 58c743a90e [elm] Gengrid inheritable.
SVN revision: 74694
2012-07-31 22:07:07 +00:00
Daniel Juyung Seo be4d9166f4 elm gengrid: Fixed item_show bug.
SVN revision: 74643
2012-07-31 11:02:27 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Gustavo Lima Chaves 40c3ef3b46 [elm] Fix bad gengrid porting on a function.
SVN revision: 74149
2012-07-18 21:03:46 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 18a193ad22 [elm] Init code placement fix -- gengrid.
SVN revision: 74002
2012-07-17 16:42:20 +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
Tom Hacohen db4635cfc1 Elm gengrid: (void *) and substraction don't play nicely together.
SVN revision: 72594
2012-06-21 11:55:19 +00:00
Mike Blumenkrantz e2d63d4c40 massive, massive, MASSIVE spankies to the person that wrote gengrid's sorted insert functions. cannot overstate the size of the spankies that await you if I decide to look through the svn logs.
also fixes ticket #984
--This line
\
, and those below, will be ignored--

M    lib/elm_gengrid.c


SVN revision: 72139
2012-06-14 14:11:04 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Jihoon Kim b7c213af86 elementary: ignore key event of keypad when NumLock is turned on in calendar, diskselector, gengrid, genlist, and player
SVN revision: 69939
2012-04-06 00:56:06 +00:00
Daniel Juyung Seo 76990d020e elm gengrid: Changed internal function and variable names.
item_moving_effect_timer -> item_reorder_move_animator
_reorder_item_moving_effect_timer_cb -> _reorder_item_move_animator_cb

SVN revision: 69795
2012-03-30 12:31:01 +00:00
Jiyoun Park 8e689efa47 remove deprecated code related with
elm_gengrid_always_select_mode_get/set
elm_gengrid_no_select_mode_get/set
function.


SVN revision: 69285
2012-03-13 07:39:31 +00:00
ChunEon Park f82f22855b elementary/gengrid - fixed incorrect item count reducing
SVN revision: 69248
2012-03-12 11:42:40 +00:00
Jiyoun Park bb9b4b34c8 remove code related with
elm_gengrid_item_gengrid_get
elm_gengrid_item_data_
elm_gengrid_item_disabled
elm_gengrid_item_del
elm_gengrid_item_item_class_set
elm_gengrid_item_direct_sorted_insert
which was deprecated


SVN revision: 69168
2012-03-10 10:35:56 +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
Daniel Juyung Seo bea13e990e elm gen*: Changed local variable 'no_highlight' -> 'highlight' correctly.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69050
2012-03-08 10:58:32 +00:00
Daniel Juyung Seo f935b1eabd elm gen*: Fixed formatting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69049
2012-03-08 10:58:29 +00:00
Hyoyoung Chang d8322c51d1 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - fix typos and remove
display_only variable

I found a mistake in example. and display_only value is remained.
It's fixed some trivial errors.



SVN revision: 69000
2012-03-07 16:40:39 +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
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 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +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
ChunEon Park b5c7288f05 elementary/genlist, gengrid - reverted item_class version checking.
The version field is not for preventing ABI break but just for checking allocator (to not free the item class created by user)



SVN revision: 68670
2012-03-05 02:46:29 +00:00
Daniel Juyung Seo bc793f5880 elm gengrid: Fixed freezing bug. Closed trac #980
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68651
2012-03-04 05:03:25 +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 0759538f5e elementary/genlist, gengrid - added itc version checking.
SVN revision: 68539
2012-02-29 07:51:23 +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
Mike Blumenkrantz 0497ef0cda same commit, but for gengrid
SVN revision: 68444
2012-02-25 11:54:50 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +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
Mike Blumenkrantz 8fb0f58c98 add elm_genlist_item_count(), change (int)wd->count to (uint)wd->item_count, fix a shadow var
SVN revision: 68240
2012-02-21 23:59:25 +00:00
Christopher Michael 15d1c06a20 Elm: Fix 'variable may be used uninitialized' warnings.
SVN revision: 67675
2012-02-01 12:29:14 +00:00
ChunEon Park 40e51b5fea elementary/gengrid - deprecated elm_gengrid_item_del()
please use elm_object_item_del() instead



SVN revision: 67621
2012-01-31 03:03:17 +00:00
ChunEon Park f12f55ea5a elementary/gengrid - deprecated APIs
elm_gengrid_item_disabled_set/get

please use elm_object_item_disabled_set/get instead



SVN revision: 67620
2012-01-31 02:40:08 +00:00
ChunEon Park cc7f2a51a9 elementary/genlist, gengrid - modified internal variable type to clean up the unnecessary casting
SVN revision: 67600
2012-01-30 10:39:32 +00:00
ChunEon Park 7c0738c762 elementary/gengrid - Elm_Gengrid_Item -> Elm_Object_Item
Be happy! now all widgets are using the Elm_Object_Item interface.



SVN revision: 67599
2012-01-30 10:29:51 +00:00
ChunEon Park 4ee72ae553 elementary/genlsit, gengrid - removed duplicated disabled field.
deprecated elm_genlist_item_disabled_set/get, 
please use elm_object_item_disabled_set/get instead.



SVN revision: 67562
2012-01-27 07:36:36 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
Michael BOUCHAUD 772d3daba0 elementary: add a filled state to gengrid. auto fill the first line if not
SVN revision: 66869
2012-01-04 14:33:39 +00:00
Carsten Haitzler 39f63f3bf6 split up all elm headers. not perfect, but a big start
SVN revision: 66662
2011-12-30 06:49:28 +00:00
Daniel Juyung Seo 5c57fb3438 elm gengrid: Fixed crashed on Enter event with no selected item. Patch by
Jeonghyun Yoon <jh0506.yun@samsung.com>

2011/12/23 윤정현 <jh0506.yun@samsung.com>:
> Dear All.
>
> I found a bug in elm_gengrid.c
>
> Gengrid will be crashed if input “Enter” key when selected is null.
>
> I fixed code, please review this small patch.
>
> Thanks.



SVN revision: 66471
2011-12-23 06:52:05 +00:00
Daniel Juyung Seo 2f3a338139 elm genlist/gengrid: Changed 'labels' to 'texts' in edc.
SVN revision: 66205
2011-12-14 16:36:09 +00:00
Daniel Juyung Seo 8d0301505a elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931
2011-12-06 01:23:55 +00:00
Daniel Juyung Seo 95f6ebae61 elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930
2011-12-06 01:19:12 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +00:00
Mike Blumenkrantz 890a378db7 API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()


SVN revision: 65909
2011-12-05 15:25:09 +00:00
Daniel Juyung Seo d22eb91185 elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.
SVN revision: 65815
2011-12-02 14:09:24 +00:00
Cedric BAIL 926e801b59 elementary: now elm_gen*_clear only destroy the item created before calling it.
NOTE: As side fix, both genlist and gengrid now share their Widget_Data. Need
a lot more work to be clean and match our quality standard.

NOTE2: Genclear is now faster as it doesn't require to mark all item that need
to be removed, but just increase one int.



SVN revision: 65811
2011-12-02 13:43:02 +00:00
Daniel Juyung Seo 9266096bdf elm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
recent elementary api corrections.

I changed item class's 'label_get' to 'text_get'. But 'label_get' is still
supported by union structure. So 'label_get' will just give you
deprecated warnings while compiling but it's recommended to fix your
apps to 'text_get'. Sometimes when you initialize item class using
braces, you will get 'missing braces around initializer' but ignore
this. That warning will be gone after I remove 'label_get' backport. I
will remove this 'label_get' backport after I finish below
jobs.

[TODO]
1. Fix all apps in trunk.
2. Change edc "labels" to "texts" as well. I haven't done this yet.


SVN revision: 65751
2011-12-01 06:15:08 +00:00
Daniel Juyung Seo 35fc57e252 elm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs were moved to genlist as of now. This is for elementary 1.0 release.
SVN revision: 65722
2011-11-30 17:31:01 +00:00
Daniel Juyung Seo 0cabbec4e1 elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)
SVN revision: 65721
2011-11-30 17:13:57 +00:00
Daniel Juyung Seo 462f1dc43d elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
SVN revision: 65718
2011-11-30 16:03:03 +00:00
Daniel Juyung Seo d397598ab1 elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
SVN revision: 65717
2011-11-30 14:40:22 +00:00
Michael BOUCHAUD 76285554aa elementary: fix wrong calculation for gengrid group items
SVN revision: 65714
2011-11-30 11:03:22 +00:00
Daniel Juyung Seo 6f1dd8c84d elm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
deprecate all elm_gen APIs.

We will merge gengrid into genlist later and remove elm_gen.
I updated http://trac.enlightenment.org/e/wiki/ElementaryChanges
I will fix other libraries/programs in trunk soon.


SVN revision: 65700
2011-11-30 00:59:19 +00:00
Daniel Juyung Seo 6a8740dad7 elm gengrid: Removed remaining deprecated signals.
SVN revision: 65475
2011-11-21 08:08:58 +00:00
Daniel Juyung Seo 2a477fe8af elm gengrid/genlist: Remove deprecated signals.
This was already announced a month ago.
http://trac.enlightenment.org/e/changeset/64200


SVN revision: 65474
2011-11-21 08:06:40 +00:00
Cedric BAIL a48828b85f elementary: kinetic is back in elm_gengrid.
SVN revision: 64866
2011-11-07 11:26:09 +00:00
Bruno Dilly cee4098e1f Elementary: remove vars set but not used
Remove almost all of them. Remaining:
  - device on _event_history_clear, elm_gesture_layer
  - config has a hand of these cases.
  - ctxpopup var inside macro
  - segment control edje external (it's unfinished)



SVN revision: 64365
2011-10-24 23:43:34 +00:00
Daniel Juyung Seo 23de0435b9 elm genlist/gengrid: Applied genlist/gengrid icons -> contents changes
to themes. Changed detour-elm and darkness theme as well.
Tips) Change genlist/gengrid's "icons" to "contents" in edc.


SVN revision: 64345
2011-10-24 02:27:04 +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 9a12b8f12b check for value before strcmp
SVN revision: 64291
2011-10-22 06:30:14 +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 9cffa1a766 add bounce settings to genlist wd
SVN revision: 64280
2011-10-21 23:51:26 +00:00
Mike Blumenkrantz e22f36e214 deprecate elm_genlist/grid_item_selected_get -> elm_gen_item_selected_get
SVN revision: 64279
2011-10-21 23:22:26 +00:00
Mike Blumenkrantz b148562870 deprecate elm_genlist_item_selected_set and elm_gengrid_item_selected_set: use elm_gen_item_selected_set instead
SVN revision: 64277
2011-10-21 23:10:56 +00:00
Mike Blumenkrantz 82cfec36d5 deprecate elm_genlist_clear and elm_gengrid_clear: use elm_gen_clear instead
SVN revision: 64276
2011-10-21 23:05:02 +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
Daniel Juyung Seo f596776217 elm genlist/gengrid: No need to call elm_widget_data_get() if we know it. it->wd is a widget data.
SVN revision: 64263
2011-10-21 17:06:46 +00:00
Daniel Juyung Seo c0001ca741 elm gengrid: Changed widget data member 'self' to 'obj'. Sync with genlist.
SVN revision: 64262
2011-10-21 16:53:01 +00:00
Daniel Juyung Seo da56018192 elm gengrid: Refactorying. Moved some codes and removed unnecessary line.
SVN revision: 64261
2011-10-21 16:36:20 +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
Mike Blumenkrantz 7c34a44fb3 cnp error!
SVN revision: 64242
2011-10-21 07:22:43 +00:00
Mike Blumenkrantz 3f4a9b7092 call item unrealized callback more reliably
SVN revision: 64235
2011-10-21 05:35:36 +00:00
Mike Blumenkrantz 5f5dd5f9e1 fix breakage #1 of the night
SVN revision: 64227
2011-10-21 03:23:42 +00:00
Mike Blumenkrantz f163b10a05 _item_create -> _item_new
SVN revision: 64221
2011-10-21 01:39:14 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz 52ed887687 more internal renames
SVN revision: 64215
2011-10-20 22:45:38 +00:00
Mike Blumenkrantz f0bbab78b8 more internal renames
SVN revision: 64214
2011-10-20 22:23:48 +00:00
Mike Blumenkrantz 4607b50c5e more unnoticeable internal movements
SVN revision: 64211
2011-10-20 21:49:54 +00:00
Mike Blumenkrantz 3bd72bfe23 rename some internal variables for consistency
SVN revision: 64210
2011-10-20 21:41:24 +00:00
Daniel Juyung Seo a9e92c7bc3 elm genlist/list/gengrid: Changed edge smart callback name. 'edge' callback is not scrolling. So "scroll,edge,up" -> "edge,up". elm_scroller already used this name.
SVN revision: 64200
2011-10-20 16:42:42 +00:00
Michael BOUCHAUD 1381cd24e2 elementary: fix typo that causes incorrect horizontal item positioning on horizontal gengrids. From Benjamin Drucker
SVN revision: 63912
2011-10-07 08:25:18 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Daniel Juyung Seo 4206dddfff elm gengrid: Propagate Gengrid signals to the internal edje view. Patch by Benjamin Drucker <benjamin.t.drucker@alum.mit.edu>
On Tue, Oct 4, 2011 at 7:54 AM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Right now, signals coming from the gengrid's internal edje object are
> propagated up to the gengrid object.
> This patch enables the other direction as well: you can use the
functions
>
>  elm_object_signal_callback_add(grid, ...)
>  elm_object_signal_callback_del(grid, ...)
>
> to signal the gengrid's internal edje object.
>
> Please review, thanks.
> -Ben


SVN revision: 63784
2011-10-04 01:24:08 +00:00
Jeonghyun Yun 628eab467c From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: Re: [E-devel] [Patch] elm_gengrid reorder bug patch

I found a gengrid bug about reordering.

It sometimes happens that some gengrid item disappear when reorder item.



SVN revision: 63783
2011-10-04 00:59:18 +00:00
Daniel Juyung Seo 52da836d78 elm gengrid: Added "scroll,edge,top/bottom/left/right" smart callbacks.
SVN revision: 63625
2011-09-27 15:04:57 +00:00
Daniel Juyung Seo 45372847f9 elm gengrid: Added page feature to gengrid. Patch by Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu>. Thanks a lot!

On Wed, Aug 31, 2011 at 1:52 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Earlier this month, there was a svn commit
> (http://trac.enlightenment.org/e/changeset/62496) which added a few
> page-related APIs to the elm scroller.  These should probably also be
> added to gengrid, genlist and maybe even grid and list.  Right now,
> though, I need them for gengrid.  So I propose this patch, based
> entirely on the change that went in before.  I've built it and I'm
> using these new gengrid APIs in my code now.

On Fri, Sep 9, 2011 at 4:45 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Slowly but surely....
>
> This version of the gengrid page APIs patch has the following changes:
> 1. fixed spacing issues
> 2. add const where needed
> 3. submitted a gengrid longpressed change in a separate patch
>
> I really want to try to squeak this in the upcoming release if at all
> possible. If I have an extra space in some file, I promise I'll not do
> it again for the next patch!
>
> Thanks!!
> Ben


SVN revision: 63403
2011-09-15 02:16:37 +00:00
Daniel Juyung Seo 821ad97778 elm gengrid: Gengrid longpress documentation. Patch by Benjamin Drucker <benjamin.t.drucker@alum.mit.edu>
On Fri, Sep 9, 2011 at 4:18 PM, Benjamin Drucker <benjamin.t.drucker@alum.mit.edu> wrote:
> gengrid already emits "longpressed" signals, but it is not currently
> documented nor demonstrated in the examples.  See the attached patch,
> please.


SVN revision: 63323
2011-09-11 12:24:40 +00:00
Michael BOUCHAUD 17748b5a0f elementary: welcome to group in gengrid. Still need some work with reorder...
SVN revision: 63306
2011-09-09 12:43:34 +00:00
Cedric BAIL 8cd01e8068 elementary: use sorted state to improve gengrid and genlist.
SVN revision: 63217
2011-09-05 20:31:51 +00:00
Daniel Juyung Seo 9692d6d2d4 elm list/gengrid: Fixed typo in internal functions and variables. hilight -> highlight.
Hilight is a common mis-spelling of highlight. http://en.wiktionary.org/wiki/hilight 


SVN revision: 62830
2011-08-25 17:19:22 +00:00
Daniel Juyung Seo f8cddb17e6 elm gengrid: Oops, I added more changes to the previous commit.
SVN revision: 62711
2011-08-23 04:04:44 +00:00
Daniel Juyung Seo f899277816 elm genlist: Added "scroll,anim,start", "scroll,anim,stop",
"scroll,drag,start", "scroll,drag,stop" smart callbacks to genlist.
elm gengrid: Added "scroll,anim,start", "scroll,anim,stop" smart
callbacks to genlist.


SVN revision: 62710
2011-08-23 04:02:26 +00:00
Mike Blumenkrantz 5bde9e619c fix elm_object_item_text_part_get for genlist and gengrid
SVN revision: 62323
2011-08-10 23:51:20 +00:00
Mike Blumenkrantz 5d9cc6c464 properly set tooltip freesizing when object has not been realized in genlist/gengrid
SVN revision: 61834
2011-07-28 02:22:37 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Daniel Juyung Seo 3b486bd56c elm gengrid: Fixed indentation for signal description.
SVN revision: 61729
2011-07-26 07:00:19 +00:00
Mike Blumenkrantz 47574fccbf add new signal for list/genlist/gengrid: "activated"
this signal is called whenever an item receives either a double click or selection+(enter/spacebar/return)

this commit also unifies the click/enter/spacebar/etc event api for these widgets, including removing the double click signal from keypress events and removing the 'clicked' signal from double click events


SVN revision: 61720
2011-07-26 01:49:24 +00:00
Gustavo Lima Chaves 64a31f0f47 [elementary] Documenting the following:
- elm_gengrid_item_cursor_engine_only_get
 - elm_gengrid_item_cursor_engine_only_set
 - elm_gengrid_item_cursor_get
 - elm_gengrid_item_cursor_set
 - elm_gengrid_item_cursor_style_get
 - elm_gengrid_item_cursor_style_set
 - elm_gengrid_item_cursor_unset
 - elm_gengrid_item_data_get
 - elm_gengrid_item_data_set
 - elm_gengrid_item_del
 - elm_gengrid_item_disabled_get
 - elm_gengrid_item_disabled_set
 - elm_gengrid_item_gengrid_get
 - elm_gengrid_item_next_get
 - elm_gengrid_item_object_get
 - elm_gengrid_item_pos_get
 - elm_gengrid_item_prev_get
 - elm_gengrid_item_selected_get
 - elm_gengrid_item_selected_set
 - elm_gengrid_item_tooltip_content_cb_set
 - elm_gengrid_item_tooltip_style_get
 - elm_gengrid_item_tooltip_style_set
 - elm_gengrid_item_tooltip_text_set
 - elm_gengrid_item_tooltip_unset
 - elm_gengrid_item_update



SVN revision: 61706
2011-07-25 19:52:31 +00:00
Gustavo Lima Chaves ddc04e41b4 [elm] Documenting/exemplifying the following:
- elm_gengrid_add
 - elm_gengrid_align_get
 - elm_gengrid_align_set
 - elm_gengrid_always_select_mode_get
 - elm_gengrid_always_select_mode_set
 - elm_gengrid_bounce_get
 - elm_gengrid_bounce_set
 - elm_gengrid_clear
 - elm_gengrid_horizontal_get
 - elm_gengrid_horizontal_set
 - elm_gengrid_multi_select_get
 - elm_gengrid_multi_select_set
 - elm_gengrid_no_select_mode_get
 - elm_gengrid_no_select_mode_set
 - elm_gengrid_page_relative_get
 - elm_gengrid_page_relative_set
 - elm_gengrid_page_size_set



SVN revision: 61704
2011-07-25 19:51:57 +00:00
Gustavo Lima Chaves e86e02b9f9 [elementary] Missing calc. on a gengrid's call.
SVN revision: 61703
2011-07-25 19:51:40 +00:00
Daniel Juyung Seo aa0bd38522 elm gengrid: Removed elm_gengrid_item_update() from elm_gengrid_item_data_set(). So please call elm_gengrid_item_update() when you need it.
This change is same as a genlist change in the following link.
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg33855.html


SVN revision: 61674
2011-07-25 09:02:41 +00:00
Daniel Juyung Seo 053b225250 elm: Fixed document typo.
SVN revision: 61664
2011-07-25 06:36:59 +00:00
Daniel Juyung Seo bc07b91b0e elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
"clicked,double" instead.

The name was wrong and I added a proper signals few months ago. Not I
removed wrong signals.


SVN revision: 61115
2011-07-07 12:49:39 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Cedric BAIL 74dd82cf60 elementary: add some usefull function around sorted insert.
SVN revision: 60691
2011-06-25 23:20:22 +00:00
Cedric BAIL 6f4ff6e812 elementary: add elm_gengrid_item_sorted_insert.
Original patch from Thiery.



SVN revision: 60686
2011-06-25 15:39:05 +00:00
Cedric BAIL 099bcb9a9f elementary: elm_gengrid_clear should be the last called.
SVN revision: 60640
2011-06-23 16:05:42 +00:00
Jeonghyun Yun 908cb7e56f From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel]  [Patch] elm_gengrid reorder mode moving effect added

Dear All.

I made a patch for elm_gengrid moving effect on reorder mode.

You can see reorder moving effect when you reorder item.

Please review this patch.

... I like! in svn! :)



SVN revision: 60301
2011-06-14 08:36:03 +00:00
Daniel Juyung Seo dcd3c7da42 Elementary gengrid: Use Evas_Smart_Cb_Description for smart callbacks.
SVN revision: 60014
2011-06-07 01:01:29 +00:00
Daniel Juyung Seo b1185c152c Elementary gengrid,genlist: Sync genlist/gengrid signal name for
reorder.


SVN revision: 60013
2011-06-07 00:46:22 +00:00
Jeonghyun Yun 732f99f2b7 From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel] [Patch] elm_gengrid - added new feature : gengrid
reorder mode

I added a new feature "reorder mode" of gengrid refer to genlist
reorder mode.

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 reordered in gengrid.



SVN revision: 59892
2011-06-02 07:09:17 +00:00
Daniel Juyung Seo 4f6017e25e Elementary gengrid: Fixed bug. Patch by Jeonghyun Yun
<hj0506.yun@smasung.com>

From Jeonghyun Yun.
Hello.

I attached the patch file for calc_job bug.

I found ecore_magic_fail problem when ecore_job_del(wd->calc_job).
wd->calc_job should also to be NULL when pan_smart's cvw and cvh is 0 in
calc_job().

Please check about this patch.

Thanks.


SVN revision: 59034
2011-04-29 10:50:55 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +00:00
ChunEon Park 628d558cde elementary/gengrid - made to use signal callback descriptions table.
SVN revision: 58817
2011-04-22 00:57:15 +00:00
Daniel Juyung Seo 415b221632 Elementary gengrid: Fixed a warning.
SVN revision: 58721
2011-04-19 00:58:39 +00:00
Michael BOUCHAUD 0642a6c1cc elementary: add page_relative and horizontal getters to gengrid
SVN revision: 58705
2011-04-18 10:54:25 +00:00
Daniel Juyung Seo de8ecd6ff8 Elementary gengrid: Fixed doxygen typo.
SVN revision: 58597
2011-04-12 17:32:36 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park 3761fc17f5 elementary / menu, gengrid, slider, separator, photocam, index, toggle
updated signal callback list in the doxygen



SVN revision: 58347
2011-04-05 07:04:09 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
Daniel Juyung Seo 6dc86966fd Elementary elm_gengrid.c: Fixed doxygen.
SVN revision: 58303
2011-04-03 16:06:06 +00:00
Daniel Juyung Seo 16848f903d Elementary: Fixed wrong smart callback signal name. clicked -> clicked,double
Unified double-click smart callback signal name to "clicked,double".
Wrong signal name "clicked" is still there.
But this will be removed soon after fixing all codes in trunk.


SVN revision: 58293
2011-04-03 09:36:47 +00:00
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Jihoon Kim 9f7eb24f39 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_gengrid selection key patch

Unlike other widget, gengrid processes only the "Return" key for
selecting item.
This patch makes gengrid be able to process KP_Enter and space key for
selecting item.



SVN revision: 57662
2011-03-10 09:24:49 +00:00
ChunEon Park f522b7385c elementary/gengrid - fixed a bug by jh0506.yun@samsung.com
Hello.

I attached the modified patch about calc_job problem.

When I tested gengrid, sometimes gengrid renderd two times in different
shape in a moment.
So I checked gengrid code, I found cause in calc_job function.

calc_job added to ecore job after elm_gengrid_item_size_set and
elm_gengrid_item_append(,prepend,insert_before,insert_after) and etc.
Sometimes pan_smart's cvw and cvh is 0 at this time.

I think, No need to calc_job when pan_smart's cvw and cvh is 0.

Please check about this patch.

Thanks.



SVN revision: 57491
2011-03-03 13:01:39 +00:00
titan 0050463206 Elementary gengrid: Pressing the enter(return) key on the selected item now fires the "clicked" callback the same way double clicking does.
SVN revision: 57135
2011-02-17 20:12:43 +00:00
Daniel Juyung Seo b658e5d4c6 Elementary: Fixed some NULL pointer reference bug in elementary.
SVN revision: 56985
2011-02-13 13:16:59 +00:00
ChunEon Park 402ad63d3a elementary/gengrid - removed a line unuseful exception handling
this is patched by JungHyun Yoon.



SVN revision: 56889
2011-02-10 04:24:57 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Jeonghyun Yun dda2eae31a From: Jeonghyun Yun <jh0506.yun@samsung.com>
I found one small bug in elm_gengrid.c

"item" is used after "free(item)" in elm_gengrid_item_del() function.

Can anybody check about this ? 



SVN revision: 55841
2011-01-04 10:05:27 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
Gustavo Lima Chaves a08056e9dd Indenting one more beast.
SVN revision: 55447
2010-12-10 13:01:43 +00:00
WooHyun Jung 34a3ad17b9 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().

 I made a patch for adapting elm_longpress_timeout_get() function to all
 winsets, using long press event. 
 
 And I checked one warning in elm_entry.c , so I modified it. 
 


SVN revision: 55339
2010-12-07 05:04:45 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Gustavo Lima Chaves d93f1754b7 Elm style on disabled/enabled setter/getters has been this one.
Sorry for the incovenience, man at work.



SVN revision: 55058
2010-11-29 13:15:09 +00:00
Rafael Fonseca 7e70efd730 Fix showing specific items in Gengrid.
We need to account for min[xy] when calculating the position of an item.



SVN revision: 54981
2010-11-25 14:00:37 +00:00
Rafael Fonseca 8fb7daa582 Fix item alignment in Gengrid.
When the item was bigger than the grid it was not being correctly positioned.



SVN revision: 54906
2010-11-23 20:30:48 +00:00
Carsten Haitzler 4d9ef710d2 protect gengrid from div by 0
SVN revision: 54447
2010-11-10 23:59:59 +00:00
Bruno Dilly cdbd1bae85 Fix Gengrid keyboard navigation on horizontal mode
SVN revision: 54410
2010-11-10 18:04:28 +00:00
Bruno Dilly 8e67572fad Fixing comments in gengrid.
By: Otavio Pontes <otavio@profusion.mobi



SVN revision: 54191
2010-11-05 18:25:04 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00
Otavio Pontes eff9c70829 Calling callback when grid has changed.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54130
2010-11-03 18:31:31 +00:00
Otavio Pontes aec1fcd220 Calling callback 'unrealized' when an item is unrealized.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54129
2010-11-03 18:30:48 +00:00
Tiago Rezende Campos Falcao 1d4a864966 Add checkers to gengrid items
SVN revision: 54090
2010-11-02 11:26:47 +00:00
Tiago Rezende Campos Falcao ba89544efc list, genlist and gengrid, if no item is selected
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

If no item is selected, pressing up it will select the first and down
will select the last item

SVN revision: 53924
2010-10-27 14:38:57 +00:00
Tiago Rezende Campos Falcao bc44338213 Deselect all items when press Esc
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

list, genlist, gengrid: Using _deselect_all_item

SVN revision: 53923
2010-10-27 14:38:54 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Rafael Fonseca a7790e9dd7 Better way of setting bounce from profile.
Change pointed out by k-s.



SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca 3eaa37aa3b Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.



SVN revision: 53730
2010-10-21 18:54:47 +00:00
Carsten Haitzler 4de21dcc19 lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?



SVN revision: 53325
2010-10-13 00:41:00 +00:00
Gustavo Sverzut Barbieri bf43a6d53c oops, important typo, thanks tiagofalcao
SVN revision: 53267
2010-10-11 17:55:28 +00:00
Rafael Fonseca fdcf18e462 Add safety checks to genlist and gengrid.
The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.



SVN revision: 53253
2010-10-11 02:09:36 +00:00
Rafael Fonseca 105aeb5967 Fix items alignment in Gengrid.
Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.



SVN revision: 53252
2010-10-11 01:55:07 +00:00
Gustavo Sverzut Barbieri 77b6c7a816 bugs--
SVN revision: 53249
2010-10-11 01:03:37 +00:00
Gustavo Sverzut Barbieri ada8ac0f82 gengrid more genlist-like.
use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.



SVN revision: 53248
2010-10-10 23:54:11 +00:00
Rafael Fonseca 0090ce210c Add more insertion types to Gengrid.
Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.



SVN revision: 53242
2010-10-10 21:05:23 +00:00