aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_evas_mask.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-21 18:19:45 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-02-21 18:43:12 +0100
commitf886941b112573664598808ab0493e83126ea2bb (patch)
tree80e9b2f2114101f180207bac4c5c218b0425e10a /src/bin/elementary/test_evas_mask.c
parentefl.gfx.stack: restack -> stack,changed (diff)
downloadefl-f886941b112573664598808ab0493e83126ea2bb.tar.gz
api: efl.gfx.size_hints -> efl.gfx.hints
Summary: these hints are not strictly size-related, so renaming them is more consistent with their actual function ref https://phab.enlightenment.org/T7563 Depends on https://phab.enlightenment.org/D7968 Reviewers: segfaultxavi, cedric, bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7563 Differential Revision: https://phab.enlightenment.org/D7977
Diffstat (limited to 'src/bin/elementary/test_evas_mask.c')
-rw-r--r--src/bin/elementary/test_evas_mask.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_evas_mask.c b/src/bin/elementary/test_evas_mask.c
index 7ce8933806..6c3162feb4 100644
--- a/src/bin/elementary/test_evas_mask.c
+++ b/src/bin/elementary/test_evas_mask.c
@@ -129,8 +129,8 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
// FIXME: No genlist in EO API
o = gl = elm_genlist_add(win);
elm_genlist_homogeneous_set(gl, 1);
- efl_gfx_size_hint_align_set(o, -1, -1);
- efl_gfx_size_hint_weight_set(o, 1, 1);
+ efl_gfx_hint_align_set(o, -1, -1);
+ efl_gfx_hint_weight_set(o, 1, 1);
itc = elm_genlist_item_class_new();
itc->item_style = "default";
@@ -154,26 +154,26 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
box2 = efl_add(EFL_UI_BOX_CLASS, win,
efl_ui_direction_set(efl_added, EFL_UI_DIR_LTR),
- efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
+ efl_gfx_hint_weight_set(efl_added, 1.0, 0.0),
efl_pack(box, efl_added));
// FIXME: button EO API
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Toggle mask"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_mask, ly),
- efl_gfx_size_hint_weight_set(efl_added, 0.0, 0.0),
+ efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
efl_pack(box2, efl_added));
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Toggle map"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, ly),
- efl_gfx_size_hint_weight_set(efl_added, 0.0, 0.0),
+ efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
efl_pack(box2, efl_added));
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Rotate Window"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _rotate_win, win),
- efl_gfx_size_hint_weight_set(efl_added, 0.0, 0.0),
+ efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
efl_pack(box2, efl_added));
efl_gfx_entity_size_set(win, EINA_SIZE2D(500, 600));