Commit Graph

18 Commits

Author SHA1 Message Date
Daniel Juyung Seo a4e8501ed6 examples: refactoring about elm_win_resize_object_add.
1. call evas_object_size_hint_weight_set() before calling elm_win_resize_object_add() as documented.
2. evas_object_size_hint_align_set() is not needed for elm_win_resize_object_add().
2013-06-27 08:27:48 +09:00
Daniel Juyung Seo 1e6f58bd01 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 4.
now it's done :)
2013-06-26 21:26:21 +09:00
Daniel Juyung Seo fc08fd6bc6 src/examples: use delete,request callback only when it's really needed. this can be covered by elm_policy_set and elm_win_autodel_set easily. 2013-06-26 10:54:58 +09:00
Daniel Juyung Seo bba7bd67d8 src/examples: fixed formatting. 2013-04-08 19:29:19 +09:00
Carsten Haitzler 93a34da403 setitng min/max size hint on an elm obj actually should not be done
because elm controls these itself. examples all wrong in thsi regard.
fix!



SVN revision: 74414
2012-07-26 06:41:22 +00:00
Daniel Willmann 1ce5d19b0d Elementary: fix deprecated functions on elm examples
It seems that the elementary examples still use some deprecated functions,
most notably elm_icon_* that has been replaced by elm_image_*.
This patch fixes that.

Patch by: Daniel Willmann <d.willmann@samsung.com>



SVN revision: 72958
2012-06-27 18:09:12 +00:00
Daniel Juyung Seo 5ae791919f elm examples: Removed macro for data dir. Used elm_app_info_set and elm_app_data_dir_get instead.
SVN revision: 69783
2012-03-30 06:34:07 +00:00
Daniel Juyung Seo 9d2fb4b4b5 elm examples: Adjust directory names.
SVN revision: 69699
2012-03-28 08:42:24 +00:00
Daniel Juyung Seo 2b6a854d1b elm examples: I removed __UNUSED__ and config header inclusion. This code is an example for other developers so we don't need that extra macros. But how can I ignore this warning while building elementary?
SVN revision: 69698
2012-03-28 08:42:20 +00:00
Daniel Juyung Seo 7a4ed3f94f elm examples: Use standard way of elementary applications. EAPI_MAIN, elm_shutdown, ELM_MAIN()
SVN revision: 69690
2012-03-28 06:04:36 +00:00
Daniel Juyung Seo 24637aff41 elm examples: Fixed most of shadow variable warnings and unused warnings.
SVN revision: 69682
2012-03-28 00:52:09 +00:00
João Paulo Fernandes Ventura 80a39ad311 Fixing bugs in examples.
Patch by: João Paulo Fernandes Ventura<ventura@profusion.mobi>

SVN revision: 69507
2012-03-19 12:58:07 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
ChunEon Park 8d85b136bf elementary/button -> use elm_object_content_set/get/unset
SVN revision: 64370
2011-10-25 01:23:25 +00:00
Daniel Juyung Seo ee5293278e elm src/examples: Applied elm API changes.
SVN revision: 63382
2011-09-14 11:30:21 +00:00
Daniel Juyung Seo a423aacc07 elm: Refactoring. Use EINA_TRUE instead of 1 for Eina_Bool type parameter.
SVN revision: 62394
2011-08-12 15:26:58 +00:00
Rafael Antognolli eb9c6090b8 elementary/transit: add some examples.
SVN revision: 60551
2011-06-21 14:28:32 +00:00