diff options
Diffstat (limited to 'src/bin/widgets_list_2_grouped.c')
-rw-r--r-- | src/bin/widgets_list_2_grouped.c | 18 |
1 files changed, 9 insertions, 9 deletions
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) | |||
67 | eo_do(o, evas_obj_image_filled_set(1), | 67 | eo_do(o, evas_obj_image_filled_set(1), |
68 | evas_obj_image_border_set(2, 2, 2, 2), | 68 | evas_obj_image_border_set(2, 2, 2, 2), |
69 | efl_file_set(build_path("pan.png"), NULL), | 69 | efl_file_set(build_path("pan.png"), NULL), |
70 | evas_obj_size_set(win_w, ICON_SIZE), | 70 | efl_gfx_size_set(win_w, ICON_SIZE), |
71 | evas_obj_visibility_set(EINA_TRUE)); | 71 | efl_gfx_visible_set(EINA_TRUE)); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | o = eo_add(EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | eo_do(o, efl_text_properties_font_set("Vera-Bold", 10), | 75 | eo_do(o, efl_text_properties_font_set("Vera-Bold", 10), |
76 | efl_text_set(labels[i % 26]), | 76 | efl_text_set(labels[i % 26]), |
77 | evas_obj_color_set(0, 0, 0, 255), | 77 | efl_gfx_color_set(0, 0, 0, 255), |
78 | evas_obj_visibility_set(EINA_TRUE)); | 78 | efl_gfx_visible_set(EINA_TRUE)); |
79 | } | 79 | } |
80 | for (i = 0; i < NUM; i++) | 80 | for (i = 0; i < NUM; i++) |
81 | { | 81 | { |
82 | eo_do(o_images[i], evas_obj_raise()); | 82 | eo_do(o_images[i], efl_gfx_stack_raise()); |
83 | } | 83 | } |
84 | for (i = 0; i < NUM; i++) | 84 | for (i = 0; i < NUM; i++) |
85 | { | 85 | { |
86 | eo_do(o_texts[i], evas_obj_raise()); | 86 | eo_do(o_texts[i], efl_gfx_stack_raise()); |
87 | } | 87 | } |
88 | done = 0; | 88 | done = 0; |
89 | } | 89 | } |
@@ -108,10 +108,10 @@ static void _loop(double t, int f) | |||
108 | y = 0 - f; | 108 | y = 0 - f; |
109 | for (i = 0; i < NUM; i++) | 109 | for (i = 0; i < NUM; i++) |
110 | { | 110 | { |
111 | eo_do(o_images[i], evas_obj_position_set(x, y)); | 111 | eo_do(o_images[i], efl_gfx_position_set(x, y)); |
112 | eo_do(o_texts[i], evas_obj_size_get(&tw, &th)); | 112 | eo_do(o_texts[i], efl_gfx_size_get(&tw, &th)); |
113 | cent = (ICON_SIZE - th) / 2; | 113 | cent = (ICON_SIZE - th) / 2; |
114 | eo_do(o_texts[i], evas_obj_position_set(x + 8, y + cent)); | 114 | eo_do(o_texts[i], efl_gfx_position_set(x + 8, y + cent)); |
115 | y += ICON_SIZE; | 115 | y += ICON_SIZE; |
116 | } | 116 | } |
117 | FPS_STD(NAME); | 117 | FPS_STD(NAME); |