Commit Graph

3832 Commits

Author SHA1 Message Date
Sanjeev BA 5ea99dc87f Minor documentation enhancements for elementary.
SVN revision: 64286
2011-10-22 02:21:16 +00:00
Sanjeev BA 4153b4aa9d Documentation fix for elm_exit().
SVN revision: 64285
2011-10-22 02:21:12 +00:00
Sanjeev BA a593a93550 Improve Hover and Actionslider documentation.
SVN revision: 64284
2011-10-22 01:26:19 +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 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 4ce2a15b77 implement elm_gen_item_selected_get
SVN revision: 64278
2011-10-21 23:18:48 +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
Vincent Torri 136032470c Elementary: do not enter po/ if --disable-nls is passed to configure
SVN revision: 64271
2011-10-21 21:20:12 +00:00
Vincent Torri 51136e3e81 Elementary: define setlocale and bindtextdomain macro if needed
SVN revision: 64270
2011-10-21 21:15:47 +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
Iván Briano 4b911014e5 Webkit changed API, we should dress accordingly.
SVN revision: 64267
2011-10-21 20:56:09 +00:00
Mike Blumenkrantz 132c0994e6 use WIDGET instead of parent for callbacks
SVN revision: 64266
2011-10-21 20:52:29 +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 0766bdaf33 shut up compile warning
SVN revision: 64243
2011-10-21 07:25:02 +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 23032f2ab5 calling memcpy on an uninitialized pointer??? who would do such a thing!
SVN revision: 64232
2011-10-21 04:38:21 +00:00
Carsten Haitzler 6c10a447b1 and really move all toggle stuff over to check.
SVN revision: 64231
2011-10-21 04:36:25 +00:00
Mike Blumenkrantz 1444302c29 strndup??? who would do such a thing!
SVN revision: 64230
2011-10-21 04:32:27 +00:00
Mike Blumenkrantz 82cf8ef9ff add delete button to gengrid test 2
SVN revision: 64229
2011-10-21 04:04:03 +00:00
Mike Blumenkrantz 6026896d03 remove mode_item_style from item class, use genlist_mode_item_style_set() instead
SVN revision: 64228
2011-10-21 03:31:26 +00:00
Mike Blumenkrantz 5f5dd5f9e1 fix breakage #1 of the night
SVN revision: 64227
2011-10-21 03:23:42 +00:00
Mike Blumenkrantz 29f5f480b8 quiet some warnings
SVN revision: 64225
2011-10-21 02:53:13 +00:00
Mike Blumenkrantz e35721c1ba fix compile with latest changes
SVN revision: 64224
2011-10-21 02:43:08 +00:00
Mike Blumenkrantz 81551dd693 remove LOOOONG deprecated gengrid/genlist typedefs
SVN revision: 64223
2011-10-21 01:50:34 +00:00
Mike Blumenkrantz 9744ff9f84 remove gross genlistitemmoved function thingy and implement smart cb
also removed relevant item on TODO


SVN revision: 64222
2011-10-21 01:49:15 +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
Carsten Haitzler d1ff7eb555 and mark new check calls as deprecated already - this is a porting
helper, not somethig intended to be used in the end.



SVN revision: 64219
2011-10-21 00:55:33 +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 474c285562 more elm todo items
SVN revision: 64217
2011-10-21 00:26:09 +00:00
Mike Blumenkrantz 5c081c834d whitespace--
SVN revision: 64216
2011-10-21 00:24:15 +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 baf20fbec8 more reordering
SVN revision: 64213
2011-10-20 22:23:29 +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
Mike Blumenkrantz 82df90462a remove all use of elm_toggle_ api
SVN revision: 64207
2011-10-20 21:27:15 +00:00
Mike Blumenkrantz 18e83d0cef more implicits
SVN revision: 64206
2011-10-20 21:15:16 +00:00
Mike Blumenkrantz 37f91a4280 use correct functions here
SVN revision: 64205
2011-10-20 21:15:06 +00:00
Mike Blumenkrantz fd1aaaa4c0 shut up unused warning
SVN revision: 64204
2011-10-20 21:14:39 +00:00