aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_ui_slider.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_ui_slider.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_ui_slider.c')
-rw-r--r--src/bin/elementary/test_ui_slider.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/elementary/test_ui_slider.c b/src/bin/elementary/test_ui_slider.c
index 9f54a9d365..66bfe0f2f8 100644
--- a/src/bin/elementary/test_ui_slider.c
+++ b/src/bin/elementary/test_ui_slider.c
@@ -46,8 +46,8 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(bx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, bx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(160, 0)),
- efl_gfx_size_hint_weight_set(efl_added, EVAS_HINT_EXPAND, 0.0),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(160, 0)),
+ efl_gfx_hint_weight_set(efl_added, EVAS_HINT_EXPAND, 0.0),
efl_pack(bx, efl_added));
efl_add(EFL_UI_TEXT_CLASS, bx,
@@ -56,8 +56,8 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(bx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, bx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(160, 0)),
- efl_gfx_size_hint_weight_set(efl_added, EVAS_HINT_EXPAND, 0.0),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(160, 0)),
+ efl_gfx_hint_weight_set(efl_added, EVAS_HINT_EXPAND, 0.0),
efl_ui_direction_set(efl_added, EFL_UI_DIR_LEFT),
efl_pack(bx, efl_added));
@@ -68,8 +68,8 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
step = _step_size_calculate(0, 9);
efl_add(EFL_UI_SLIDER_CLASS, bx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)),
- efl_gfx_size_hint_align_set(efl_added, 0.5, 0.5),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)),
+ efl_gfx_hint_align_set(efl_added, 0.5, 0.5),
efl_ui_range_step_set(efl_added, step),
efl_pack(bx, efl_added));
@@ -79,7 +79,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(bx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, bx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)),
efl_ui_range_min_max_set(efl_added, 10, 145),
efl_ui_range_step_set(efl_added, step),
elm_object_disabled_set(efl_added, EINA_TRUE),
@@ -95,7 +95,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(bx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, hbx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
efl_ui_range_min_max_set(efl_added, 10, 145),
efl_ui_range_step_set(efl_added, step),
efl_ui_range_value_set(efl_added, 70),
@@ -103,7 +103,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(hbx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, hbx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
efl_ui_range_min_max_set(efl_added, 10, 145),
efl_ui_range_step_set(efl_added, step),
efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL),
@@ -111,7 +111,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(hbx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, hbx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
efl_ui_range_min_max_set(efl_added, 10, 145),
efl_ui_range_value_set(efl_added, 35),
efl_ui_range_step_set(efl_added, step),
@@ -124,7 +124,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_pack(bx, efl_added));
efl_add(EFL_UI_SLIDER_CLASS, bx,
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(260, 0)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)),
efl_ui_range_min_max_set(efl_added, 0, 150),
efl_ui_range_step_set(efl_added, step),
efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_cb, NULL),