summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_box.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-03 15:55:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-03 16:52:31 +0900
commit31279d2513f02588854c3720aa811be0ea83c0e4 (patch)
treeedc2d68ccc1376430305a44a9e877af03983e581 /src/bin/elementary/test_ui_box.c
parent681ddb2f909d0282f0c0ec04230d89999e90983a (diff)
downloadefl-31279d2513f02588854c3720aa811be0ea83c0e4.tar.gz
Efl.Pack: Replace pack_direction with Efl.Orientation
Since I first made the pack_direction before orientation existed, the names didn't match. This should improve API consistency.
Diffstat (limited to 'src/bin/elementary/test_ui_box.c')
-rw-r--r--src/bin/elementary/test_ui_box.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c
index be7f3b17ca..3ac8b474fc 100644
--- a/src/bin/elementary/test_ui_box.c
+++ b/src/bin/elementary/test_ui_box.c
@@ -121,7 +121,7 @@ static Eina_Bool
horiz_check_cb(void *data, const Eo_Event *event)
{
Eina_Bool chk = elm_check_selected_get(event->object);
- efl_pack_direction_set(data, chk ? EFL_ORIENT_HORIZONTAL : EFL_ORIENT_VERTICAL);
+ efl_orientation_set(data, chk ? EFL_ORIENT_HORIZONTAL : EFL_ORIENT_VERTICAL);
return EO_CALLBACK_CONTINUE;
}
@@ -217,7 +217,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
vbox = eo_add(EFL_UI_BOX_CLASS, win);
efl_pack_padding_set(vbox, 10, 10, EINA_TRUE);
- efl_pack_direction_set(vbox, EFL_ORIENT_DOWN);
+ efl_orientation_set(vbox, EFL_ORIENT_DOWN);
evas_object_size_hint_weight_set(vbox, 1, 1);
evas_object_size_hint_padding_set(vbox, 5, 5, 5, 5);
elm_win_resize_object_add(win, vbox);
@@ -244,7 +244,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* weights radio group */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
efl_pack(hbox, bx);
efl_gfx_visible_set(bx, 1);
@@ -298,7 +298,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* misc */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
evas_object_size_hint_weight_set(bx, 0, 1);
efl_pack(hbox, bx);
@@ -361,7 +361,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* requested size setter */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
evas_object_size_hint_weight_set(bx, 0, 1);
efl_pack(hbox, bx);
@@ -388,7 +388,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* inner box padding */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
evas_object_size_hint_weight_set(bx, 0, 1);
efl_pack(hbox, bx);
@@ -415,7 +415,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* outer margin */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
evas_object_size_hint_weight_set(bx, 0, 1);
efl_pack(hbox, bx);
@@ -442,7 +442,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
/* Box align */
bx = eo_add(EFL_UI_BOX_CLASS, win,
- efl_pack_direction_set(eo_self, EFL_ORIENT_DOWN));
+ efl_orientation_set(eo_self, EFL_ORIENT_DOWN));
evas_object_size_hint_align_set(bx, 0, -1);
evas_object_size_hint_weight_set(bx, 1, 1);
efl_pack(hbox, bx);