From 9b7d97d5034de22cf8090f5f598eeceab5aa1165 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 9 Apr 2015 13:31:59 +0200 Subject: move to EFL 1.14 interfaces. --- src/bin/widgets_list_2_grouped.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/bin/widgets_list_2_grouped.c') diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index 08de68d..3ddb9fa 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c @@ -67,23 +67,23 @@ static void _setup(void) eo_do(o, evas_obj_image_filled_set(1), evas_obj_image_border_set(2, 2, 2, 2), efl_file_set(build_path("pan.png"), NULL), - evas_obj_size_set(win_w, ICON_SIZE), - evas_obj_visibility_set(EINA_TRUE)); + efl_gfx_size_set(win_w, ICON_SIZE), + efl_gfx_visible_set(EINA_TRUE)); o = eo_add(EVAS_TEXT_CLASS, evas); o_texts[i] = o; eo_do(o, efl_text_properties_font_set("Vera-Bold", 10), efl_text_set(labels[i % 26]), - evas_obj_color_set(0, 0, 0, 255), - evas_obj_visibility_set(EINA_TRUE)); + efl_gfx_color_set(0, 0, 0, 255), + efl_gfx_visible_set(EINA_TRUE)); } for (i = 0; i < NUM; i++) { - eo_do(o_images[i], evas_obj_raise()); + eo_do(o_images[i], efl_gfx_stack_raise()); } for (i = 0; i < NUM; i++) { - eo_do(o_texts[i], evas_obj_raise()); + eo_do(o_texts[i], efl_gfx_stack_raise()); } done = 0; } @@ -108,10 +108,10 @@ static void _loop(double t, int f) y = 0 - f; for (i = 0; i < NUM; i++) { - eo_do(o_images[i], evas_obj_position_set(x, y)); - eo_do(o_texts[i], evas_obj_size_get(&tw, &th)); + eo_do(o_images[i], efl_gfx_position_set(x, y)); + eo_do(o_texts[i], efl_gfx_size_get(&tw, &th)); cent = (ICON_SIZE - th) / 2; - eo_do(o_texts[i], evas_obj_position_set(x + 8, y + cent)); + eo_do(o_texts[i], efl_gfx_position_set(x + 8, y + cent)); y += ICON_SIZE; } FPS_STD(NAME); -- cgit v1.2.1