diff options
author | Xavi Artigas <xavierartigas@yahoo.es> | 2018-04-05 10:47:26 +0200 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2018-04-24 09:03:32 -0700 |
commit | 55bd097a3d5c0201c28bc0bd045cbe77aa76f5af (patch) | |
tree | 6929ab1b8bddee873305e58aed933d7039488fcf /src/bin/elementary/test_ui_textpath.c | |
parent | 7934d152dd5c185df1b89f50239d27f25c6f2b88 (diff) | |
download | efl-55bd097a3d5c0201c28bc0bd045cbe77aa76f5af.tar.gz |
Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847
Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/elementary/test_ui_textpath.c')
-rw-r--r-- | src/bin/elementary/test_ui_textpath.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/bin/elementary/test_ui_textpath.c b/src/bin/elementary/test_ui_textpath.c index 094c7970fb..7cf1c37ae5 100644 --- a/src/bin/elementary/test_ui_textpath.c +++ b/src/bin/elementary/test_ui_textpath.c @@ -108,7 +108,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve elm_box_horizontal_set(box, EINA_FALSE); efl_gfx_size_hint_weight_set(box, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); efl_gfx_size_hint_align_set(box, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL); - efl_gfx_visible_set(box, EINA_TRUE); + efl_gfx_entity_visible_set(box, EINA_TRUE); txtpath = efl_add(EFL_UI_TEXTPATH_CLASS, win); elm_box_pack_end(box, txtpath); @@ -117,14 +117,14 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve efl_text_set(txtpath, TEST_UI_TEXTPATH_LONG_TEXT); efl_ui_textpath_circle_set(txtpath, CX, CY, CR, 0, EFL_UI_TEXTPATH_DIRECTION_CCW); - efl_gfx_visible_set(txtpath, EINA_TRUE); + efl_gfx_entity_visible_set(txtpath, EINA_TRUE); path_type = 0; hbox = elm_box_add(win); elm_box_horizontal_set(hbox, EINA_TRUE); efl_gfx_size_hint_weight_set(hbox, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); efl_gfx_size_hint_align_set(hbox, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL); - efl_gfx_visible_set(hbox, EINA_TRUE); + efl_gfx_entity_visible_set(hbox, EINA_TRUE); elm_box_pack_end(box, hbox); chk = elm_check_add(win); @@ -132,33 +132,33 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve elm_check_state_set(chk, efl_ui_textpath_autofit_get(txtpath)); efl_event_callback_add(chk, EFL_UI_CHECK_EVENT_CHANGED, _autofit_changed_cb, txtpath); elm_box_pack_end(hbox, chk); - efl_gfx_visible_set(chk, EINA_TRUE); + efl_gfx_entity_visible_set(chk, EINA_TRUE); chk = elm_check_add(win); elm_object_text_set(chk, "Ellipsis"); elm_check_state_set(chk, efl_ui_textpath_ellipsis_get(txtpath)); efl_event_callback_add(chk, EFL_UI_CHECK_EVENT_CHANGED, _ellipsis_changed_cb, txtpath); elm_box_pack_end(hbox, chk); - efl_gfx_visible_set(chk, EINA_TRUE); + efl_gfx_entity_visible_set(chk, EINA_TRUE); chk = elm_check_add(win); elm_object_text_set(chk, "Clockwise"); efl_event_callback_add(chk, EFL_UI_CHECK_EVENT_CHANGED, _direction_changed_cb, txtpath); elm_box_pack_end(hbox, chk); - efl_gfx_visible_set(chk, EINA_TRUE); + efl_gfx_entity_visible_set(chk, EINA_TRUE); dir_chk = chk; chk = elm_check_add(win); elm_object_text_set(chk, "Short text"); efl_event_callback_add(chk, EFL_UI_CHECK_EVENT_CHANGED, _short_text_changed_cb, txtpath); elm_box_pack_end(hbox, chk); - efl_gfx_visible_set(chk, EINA_TRUE); + efl_gfx_entity_visible_set(chk, EINA_TRUE); hbox = elm_box_add(win); elm_box_horizontal_set(hbox, EINA_TRUE); efl_gfx_size_hint_weight_set(hbox, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); efl_gfx_size_hint_align_set(hbox, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL); - efl_gfx_visible_set(hbox, EINA_TRUE); + efl_gfx_entity_visible_set(hbox, EINA_TRUE); elm_box_pack_end(box, hbox); sld = elm_slider_add(win); @@ -170,7 +170,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve efl_gfx_size_hint_min_set(sld, EINA_SIZE2D(150, 0)); efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _angle_changed_cb, txtpath); elm_box_pack_end(hbox, sld); - efl_gfx_visible_set(sld, EINA_TRUE); + efl_gfx_entity_visible_set(sld, EINA_TRUE); angle_sld = sld; sld = elm_slider_add(win); @@ -182,23 +182,23 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve efl_gfx_size_hint_min_set(sld, EINA_SIZE2D(150, 0)); efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _slice_no_changed_cb, txtpath); elm_box_pack_end(hbox, sld); - efl_gfx_visible_set(sld, EINA_TRUE); + efl_gfx_entity_visible_set(sld, EINA_TRUE); slice_sld = sld; hbox = elm_box_add(win); elm_box_horizontal_set(hbox, EINA_TRUE); efl_gfx_size_hint_weight_set(hbox, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); efl_gfx_size_hint_align_set(hbox, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL); - efl_gfx_visible_set(hbox, EINA_TRUE); + efl_gfx_entity_visible_set(hbox, EINA_TRUE); elm_box_pack_end(box, hbox); btn = elm_button_add(win); elm_object_text_set(btn, "Change Path"); evas_object_smart_callback_add(btn, "clicked", _change_shape_cb, txtpath); elm_box_pack_end(hbox, btn); - efl_gfx_visible_set(btn, EINA_TRUE); + efl_gfx_entity_visible_set(btn, EINA_TRUE); elm_win_resize_object_add(win, box); - efl_gfx_size_set(win, EINA_SIZE2D(400, 400)); - efl_gfx_visible_set(win, 1); + efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 400)); + efl_gfx_entity_visible_set(win, 1); } |