Canvas layout: port part_text to efl_part
authorDaniel Hirt <hirt.danny@gmail.com>
Tue, 30 May 2017 07:31:19 +0000 (10:31 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Sun, 11 Jun 2017 21:10:04 +0000 (00:10 +0300)
commit6e1b5fdd1065d0a0f3b04cd07ea069f05ec4077e
tree429b8f7167a4fe23440861630171b227e5678d31
parent4a1b42aee86b505b511ac7326176a4e7aa190c80
Canvas layout: port part_text to efl_part

You now use the following:

  efl_text_set(efl_part(edje_obj, "part"), "text");
  const char *text = efl_text_get(efl_part(edje_obj, "part"));

The former method of edje_object_part_text_set/get is now legacy.

Also, adjusted 'tests/emotion/emotion_test_main-eo.c' with
this change.
src/Makefile_Edje.am
src/lib/edje/Edje_Eo.h
src/lib/edje/Edje_Legacy.h
src/lib/edje/edje_object.eo
src/lib/edje/edje_part.c
src/lib/edje/edje_part_text.c [new file with mode: 0644]
src/lib/edje/edje_private.h
src/lib/edje/edje_util.c
src/lib/edje/efl_canvas_layout_internal_text.eo [new file with mode: 0644]
src/tests/emotion/emotion_test_main-eo.c