summaryrefslogtreecommitdiff
path: root/unsorted/elementary/efl_ui_list_example_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'unsorted/elementary/efl_ui_list_example_1.c')
-rw-r--r--unsorted/elementary/efl_ui_list_example_1.c14
1 files changed, 7 insertions, 7 deletions
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");