summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_pager_scroll.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/bin/elementary/test_ui_pager_scroll.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/bin/elementary/test_ui_pager_scroll.c')
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index 604bd7b..740a8fc 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -531,7 +531,7 @@ static void side_page_num_cb(void *data,
531 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 531 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
532 efl_ui_range_min_max_set(efl_added, 0, 3), 532 efl_ui_range_min_max_set(efl_added, 0, 3),
533 efl_ui_range_value_set(efl_added, params->side_page_num), 533 efl_ui_range_value_set(efl_added, params->side_page_num),
534 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL), 534 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
535 efl_gfx_hint_weight_set(efl_added, 1, 1), 535 efl_gfx_hint_weight_set(efl_added, 1, 1),
536 efl_gfx_hint_align_set(efl_added, -1, -1), 536 efl_gfx_hint_align_set(efl_added, -1, -1),
537 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 537 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED,
@@ -561,7 +561,7 @@ static void pack_cb(void *data,
561 561
562 in_box1 = efl_add(EFL_UI_BOX_CLASS, box, 562 in_box1 = efl_add(EFL_UI_BOX_CLASS, box,
563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE),
564 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL)); 564 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
565 565
566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
567 efl_ui_range_min_max_set(efl_added, 0, 567 efl_ui_range_min_max_set(efl_added, 0,
@@ -571,7 +571,7 @@ static void pack_cb(void *data,
571 571
572 in_box2 = efl_add(EFL_UI_BOX_CLASS, box, 572 in_box2 = efl_add(EFL_UI_BOX_CLASS, box,
573 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 573 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE),
574 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL)); 574 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
575 575
576 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2); 576 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2);
577 577