summaryrefslogtreecommitdiff
path: root/src/tests/elementary/efl_ui_test_box_flow.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-05-24 12:30:31 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-24 12:30:32 -0400
commit38d7d33354ce4d13d70f707498c267b120bf2e5a (patch)
tree4b6d9ad3f3e3089b3999d5e10a759fe7f5c73206 /src/tests/elementary/efl_ui_test_box_flow.c
parent00851ea53b7d87c2b5be244d4fba0af9253f8039 (diff)
Rename Efl.Ui.Direction -> Efl.Ui.Layout_Orientation
Summary: This clarifies a bit the whole Orientation vs. Direction confusion, at the expense of longer names (Image_Orientation vs. Layout_Orientation). Also, the interfaces are now adjectives (Orientable) and the enums have long names (*_Orientation). Pretty big patch, but no functional changes. Relates to T7863 Test Plan: Everything builds and passes tests. Elementary_tests show same behavior, including the "inverted" widgets, which are the only parts which received a bit of code changes. Proof: https://travis-ci.org/Enlightenment/efl/builds/536277282 Reviewers: zmike, bu5hm4n, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8946
Diffstat (limited to 'src/tests/elementary/efl_ui_test_box_flow.c')
-rw-r--r--src/tests/elementary/efl_ui_test_box_flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_box_flow.c b/src/tests/elementary/efl_ui_test_box_flow.c
index d8ec8b2..299acca 100644
--- a/src/tests/elementary/efl_ui_test_box_flow.c
+++ b/src/tests/elementary/efl_ui_test_box_flow.c
@@ -225,7 +225,7 @@ layout_setup()
225 225
226 layout = efl_add(EFL_UI_BOX_FLOW_CLASS, win, 226 layout = efl_add(EFL_UI_BOX_FLOW_CLASS, win,
227 efl_gfx_arrangement_content_align_set(efl_added, 0.8, 0.2), 227 efl_gfx_arrangement_content_align_set(efl_added, 0.8, 0.2),
228 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL)); 228 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
229} 229}
230 230
231static void 231static void
@@ -313,7 +313,7 @@ EFL_START_TEST (efl_ui_box_flow_layout_update_pack)
313 btn_geom_assert(&hints3[3][1], efl_gfx_entity_geometry_get(btn2)); 313 btn_geom_assert(&hints3[3][1], efl_gfx_entity_geometry_get(btn2));
314 btn_geom_assert(&hints3[3][2], efl_gfx_entity_geometry_get(btn3)); 314 btn_geom_assert(&hints3[3][2], efl_gfx_entity_geometry_get(btn3));
315 315
316 efl_ui_direction_set(layout, EFL_UI_DIR_HORIZONTAL); 316 efl_ui_layout_orientation_set(layout, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
317 hints3[3][0].layout_expected = hints3[3][0].layout_size = EINA_SIZE2D(300, 900); 317 hints3[3][0].layout_expected = hints3[3][0].layout_size = EINA_SIZE2D(300, 900);
318 hints3[3][1].layout_expected = hints3[3][1].layout_size = EINA_SIZE2D(300, 900); 318 hints3[3][1].layout_expected = hints3[3][1].layout_size = EINA_SIZE2D(300, 900);
319 hints3[3][2].layout_expected = hints3[3][2].layout_size = EINA_SIZE2D(300, 900); 319 hints3[3][2].layout_expected = hints3[3][2].layout_size = EINA_SIZE2D(300, 900);