summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-06-14 11:18:23 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-06-14 11:18:23 +0200
commit21567fcccfbac99282c5cd90d30ddf843c7d2031 (patch)
treebb0427a02836513034275b7cff0073f3282493be
parentaf73959386d622d57718f118f02fd17559be36ee (diff)
Efl.Ui.Dir -> Efl.Ui.Layout_Orientation
-rw-r--r--apps/c/texteditor/src/texteditor_main.c2
-rw-r--r--reference/c/ui/src/focus_main.c2
-rw-r--r--reference/c/ui/src/ui_container.c4
-rw-r--r--unsorted/elementary/efl_ui_list_example_1.c14
4 files changed, 11 insertions, 11 deletions
diff --git a/apps/c/texteditor/src/texteditor_main.c b/apps/c/texteditor/src/texteditor_main.c
index 1ef1fe4..68fd40c 100644
--- a/apps/c/texteditor/src/texteditor_main.c
+++ b/apps/c/texteditor/src/texteditor_main.c
@@ -60,7 +60,7 @@ _gui_toolbar_setup(Efl_Ui_Box *parent)
60 bar = efl_add(EFL_UI_BOX_CLASS, parent, 60 bar = efl_add(EFL_UI_BOX_CLASS, parent,
61 efl_pack(parent, efl_added), 61 efl_pack(parent, efl_added),
62 efl_gfx_hint_weight_set(efl_added, 1, 0), 62 efl_gfx_hint_weight_set(efl_added, 1, 0),
63 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL)); 63 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
64 64
65 _toolbar_new = _gui_toolbar_button_add(bar, "New", "document-new", _gui_new_clicked_cb); 65 _toolbar_new = _gui_toolbar_button_add(bar, "New", "document-new", _gui_new_clicked_cb);
66 66
diff --git a/reference/c/ui/src/focus_main.c b/reference/c/ui/src/focus_main.c
index af7872a..77ea59f 100644
--- a/reference/c/ui/src/focus_main.c
+++ b/reference/c/ui/src/focus_main.c
@@ -50,7 +50,7 @@ _gui_setup()
50 efl_pack(box, efl_added)); 50 efl_pack(box, efl_added));
51 51
52 hbox = efl_add(EFL_UI_BOX_CLASS, box, 52 hbox = efl_add(EFL_UI_BOX_CLASS, box,
53 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL), 53 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
54 efl_gfx_hint_weight_set(efl_added, 1.0, 0.1), 54 efl_gfx_hint_weight_set(efl_added, 1.0, 0.1),
55 efl_pack(box, efl_added)); 55 efl_pack(box, efl_added));
56 56
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 68a48fa..561e802 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -37,7 +37,7 @@ _ui_table_setup(Efl_Ui_Win *win)
37 table = efl_add(EFL_UI_TABLE_CLASS, win); 37 table = efl_add(EFL_UI_TABLE_CLASS, win);
38 38
39 efl_pack_table_columns_set(table, 2); 39 efl_pack_table_columns_set(table, 2);
40 efl_ui_direction_set(table, EFL_UI_DIR_RIGHT); 40 efl_ui_layout_orientation_set(table, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
41 41
42 efl_add(EFL_UI_BUTTON_CLASS, win, 42 efl_add(EFL_UI_BUTTON_CLASS, win,
43 efl_text_set(efl_added, "Long Button"), 43 efl_text_set(efl_added, "Long Button"),
@@ -90,7 +90,7 @@ _ui_panes_setup(Efl_Ui_Win *win)
90 90
91 horiz_split = efl_add(EFL_UI_PANES_CLASS, win, 91 horiz_split = efl_add(EFL_UI_PANES_CLASS, win,
92 efl_content_set(efl_part(split, "second"), efl_added), 92 efl_content_set(efl_part(split, "second"), efl_added),
93 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL), 93 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
94 efl_ui_panes_split_ratio_set(efl_added, 0.85)); 94 efl_ui_panes_split_ratio_set(efl_added, 0.85));
95 efl_content_set(efl_part(horiz_split, "first"), _ui_table_setup(win)); 95 efl_content_set(efl_part(horiz_split, "first"), _ui_table_setup(win));
96 96
diff --git a/unsorted/elementary/efl_ui_list_example_1.c b/unsorted/elementary/efl_ui_list_example_1.c
index 2afe6ab..33c99d9 100644
--- a/unsorted/elementary/efl_ui_list_example_1.c
+++ b/unsorted/elementary/efl_ui_list_example_1.c
@@ -114,7 +114,7 @@ elm_main(int argc, char **argv)
114 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 800)); 114 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 800));
115 115
116 wbox = efl_add(EFL_UI_BOX_CLASS, win); 116 wbox = efl_add(EFL_UI_BOX_CLASS, win);
117 efl_ui_direction_set(wbox, EFL_UI_DIR_VERTICAL); 117 efl_ui_layout_orientation_set(wbox, EFL_UI_LAYOUT_ORIENTATION_VERTICAL);
118 efl_gfx_hint_weight_set(wbox, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); 118 efl_gfx_hint_weight_set(wbox, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND);
119 efl_gfx_hint_align_set(wbox, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL); 119 efl_gfx_hint_align_set(wbox, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL);
120 120
@@ -142,7 +142,7 @@ elm_main(int argc, char **argv)
142 if (emptystyle) 142 if (emptystyle)
143 { 143 {
144 ibox = efl_add(EFL_UI_BOX_CLASS, item); 144 ibox = efl_add(EFL_UI_BOX_CLASS, item);
145 efl_ui_direction_set(ibox, EFL_UI_DIR_HORIZONTAL); 145 efl_ui_layout_orientation_set(ibox, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
146 146
147 txt = efl_add(EFL_UI_TEXT_CLASS, ibox); 147 txt = efl_add(EFL_UI_TEXT_CLASS, ibox);
148 efl_gfx_hint_weight_set(txt, 0.95, EFL_GFX_SIZE_HINT_EXPAND); 148 efl_gfx_hint_weight_set(txt, 0.95, EFL_GFX_SIZE_HINT_EXPAND);
@@ -230,7 +230,7 @@ elm_main(int argc, char **argv)
230 efl_pack_end(wbox, txt); 230 efl_pack_end(wbox, txt);
231 231
232 bbox = efl_add(EFL_UI_BOX_CLASS, wbox); 232 bbox = efl_add(EFL_UI_BOX_CLASS, wbox);
233 efl_ui_direction_set(bbox, EFL_UI_DIR_HORIZONTAL); 233 efl_ui_layout_orientation_set(bbox, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
234 efl_gfx_hint_weight_set(bbox, EFL_GFX_SIZE_HINT_EXPAND, 0.05); 234 efl_gfx_hint_weight_set(bbox, EFL_GFX_SIZE_HINT_EXPAND, 0.05);
235 235
236 select_radio = radio = efl_add(EFL_UI_RADIO_CLASS, wbox); 236 select_radio = radio = efl_add(EFL_UI_RADIO_CLASS, wbox);
@@ -267,7 +267,7 @@ elm_main(int argc, char **argv)
267 efl_pack_end(wbox, txt); 267 efl_pack_end(wbox, txt);
268 268
269 priv_d.slider = slider = efl_add(EFL_UI_SLIDER_CLASS, wbox); 269 priv_d.slider = slider = efl_add(EFL_UI_SLIDER_CLASS, wbox);
270 efl_ui_direction_set(slider, EFL_UI_DIR_HORIZONTAL); 270 efl_ui_layout_orientation_set(slider, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
271 efl_gfx_hint_weight_set(slider, 0.0, 0.05); 271 efl_gfx_hint_weight_set(slider, 0.0, 0.05);
272 efl_gfx_hint_align_set(slider, 0.5, 0.5); 272 efl_gfx_hint_align_set(slider, 0.5, 0.5);
273 efl_gfx_hint_size_min_set(slider, EINA_SIZE2D(380, 20)); 273 efl_gfx_hint_size_min_set(slider, EINA_SIZE2D(380, 20));
@@ -275,11 +275,11 @@ elm_main(int argc, char **argv)
275 efl_pack_end(wbox, slider); 275 efl_pack_end(wbox, slider);
276 276
277 bbox = efl_add(EFL_UI_BOX_CLASS, wbox); 277 bbox = efl_add(EFL_UI_BOX_CLASS, wbox);
278 efl_ui_direction_set(bbox, EFL_UI_DIR_HORIZONTAL); 278 efl_ui_layout_orientation_set(bbox, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL);
279 efl_gfx_hint_weight_set(bbox, EFL_GFX_SIZE_HINT_EXPAND, 0.05); 279 efl_gfx_hint_weight_set(bbox, EFL_GFX_SIZE_HINT_EXPAND, 0.05);
280 280
281 rbox = efl_add(EFL_UI_BOX_CLASS, bbox); 281 rbox = efl_add(EFL_UI_BOX_CLASS, bbox);
282 efl_ui_direction_set(rbox, EFL_UI_DIR_VERTICAL); 282 efl_ui_layout_orientation_set(rbox, EFL_UI_LAYOUT_ORIENTATION_VERTICAL);
283 283
284 anim_radio = radio = efl_add(EFL_UI_RADIO_CLASS, rbox); 284 anim_radio = radio = efl_add(EFL_UI_RADIO_CLASS, rbox);
285 efl_gfx_hint_align_set(radio, 0.5, 0.5); 285 efl_gfx_hint_align_set(radio, 0.5, 0.5);
@@ -297,7 +297,7 @@ elm_main(int argc, char **argv)
297 efl_pack_end(bbox, rbox); 297 efl_pack_end(bbox, rbox);
298 298
299 rbox = efl_add(EFL_UI_BOX_CLASS, bbox); 299 rbox = efl_add(EFL_UI_BOX_CLASS, bbox);
300 efl_ui_direction_set(rbox, EFL_UI_DIR_VERTICAL); 300 efl_ui_layout_orientation_set(rbox, EFL_UI_LAYOUT_ORIENTATION_VERTICAL);
301 301
302 scrl_btn = efl_add(EFL_UI_BUTTON_CLASS, rbox); 302 scrl_btn = efl_add(EFL_UI_BUTTON_CLASS, rbox);
303 efl_text_set(scrl_btn, "Scroll Item"); 303 efl_text_set(scrl_btn, "Scroll Item");