summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@ddlm.me>2019-03-13 17:21:51 -0700
committerCedric BAIL <cedric@ddlm.me>2019-03-13 17:21:51 -0700
commit0f1d9a77e568bf94b4d502afd898ce0cc31b2a18 (patch)
tree392bb05601781c1137de8e5d468eab962c32da1c
parent00ffe9ca86892124d2110c9f74d1f3b5e0d9bd47 (diff)
efl: migrate to the new efl_gfx_stack_raise_to_top and efl_gfx_stack_lower_to_bottom.
-rw-r--r--src/bin/image_map_3d_1.c2
-rw-r--r--src/bin/image_map_3d_2.c2
-rw-r--r--src/bin/image_map_3d_3.c2
-rw-r--r--src/bin/image_map_3d_4.c2
-rw-r--r--src/bin/image_map_3d_5.c2
-rw-r--r--src/bin/image_map_3d_6.c2
-rw-r--r--src/bin/image_map_3d_flow.c8
-rw-r--r--src/bin/ui.c2
-rw-r--r--src/bin/widgets_file_icons_2_grouped.c2
-rw-r--r--src/bin/widgets_file_icons_2_same_grouped.c2
-rw-r--r--src/bin/widgets_list_1_grouped.c4
-rw-r--r--src/bin/widgets_list_2_grouped.c4
-rw-r--r--src/bin/widgets_list_3_grouped.c6
-rw-r--r--src/bin/widgets_list_4_grouped.c6
14 files changed, 23 insertions, 23 deletions
diff --git a/src/bin/image_map_3d_1.c b/src/bin/image_map_3d_1.c
index 25f96cb..ae44618 100644
--- a/src/bin/image_map_3d_1.c
+++ b/src/bin/image_map_3d_1.c
@@ -161,7 +161,7 @@ _cube_pos(Cube *c,
161 } 161 }
162 while (!sorted); 162 while (!sorted);
163 163
164 efl_gfx_stack_raise(c->side[order[0]].o); 164 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
165 for (i = 1; i < 6; i++) 165 for (i = 1; i < 6; i++)
166 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 166 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
167} 167}
diff --git a/src/bin/image_map_3d_2.c b/src/bin/image_map_3d_2.c
index c1cac6f..c2c7b0a 100644
--- a/src/bin/image_map_3d_2.c
+++ b/src/bin/image_map_3d_2.c
@@ -159,7 +159,7 @@ _cube_pos(Cube *c,
159 } 159 }
160 while (!sorted); 160 while (!sorted);
161 161
162 efl_gfx_stack_raise(c->side[order[0]].o); 162 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
163 for (i = 1; i < 6; i++) 163 for (i = 1; i < 6; i++)
164 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 164 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
165} 165}
diff --git a/src/bin/image_map_3d_3.c b/src/bin/image_map_3d_3.c
index 6147fe2..8f70c41 100644
--- a/src/bin/image_map_3d_3.c
+++ b/src/bin/image_map_3d_3.c
@@ -153,7 +153,7 @@ _cube_pos(Cube *c,
153 } 153 }
154 while (!sorted); 154 while (!sorted);
155 155
156 efl_gfx_stack_raise(c->side[order[0]].o); 156 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
157 for (i = 1; i < 6; i++) 157 for (i = 1; i < 6; i++)
158 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 158 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
159} 159}
diff --git a/src/bin/image_map_3d_4.c b/src/bin/image_map_3d_4.c
index c9a6c09..d12f5b1 100644
--- a/src/bin/image_map_3d_4.c
+++ b/src/bin/image_map_3d_4.c
@@ -151,7 +151,7 @@ _cube_pos(Cube *c,
151 } 151 }
152 while (!sorted); 152 while (!sorted);
153 153
154 efl_gfx_stack_raise(c->side[order[0]].o); 154 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
155 for (i = 1; i < 6; i++) 155 for (i = 1; i < 6; i++)
156 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 156 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
157} 157}
diff --git a/src/bin/image_map_3d_5.c b/src/bin/image_map_3d_5.c
index 16b27f1..c72ce60 100644
--- a/src/bin/image_map_3d_5.c
+++ b/src/bin/image_map_3d_5.c
@@ -161,7 +161,7 @@ _cube_pos(Cube *c,
161 } 161 }
162 while (!sorted); 162 while (!sorted);
163 163
164 efl_gfx_stack_raise(c->side[order[0]].o); 164 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
165 for (i = 1; i < 6; i++) 165 for (i = 1; i < 6; i++)
166 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 166 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
167} 167}
diff --git a/src/bin/image_map_3d_6.c b/src/bin/image_map_3d_6.c
index 3fec3ec..1332213 100644
--- a/src/bin/image_map_3d_6.c
+++ b/src/bin/image_map_3d_6.c
@@ -158,7 +158,7 @@ _cube_pos(Cube *c,
158 } 158 }
159 while (!sorted); 159 while (!sorted);
160 160
161 efl_gfx_stack_raise(c->side[order[0]].o); 161 efl_gfx_stack_raise_to_top(c->side[order[0]].o);
162 for (i = 1; i < 6; i++) 162 for (i = 1; i < 6; i++)
163 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o); 163 efl_gfx_stack_below(c->side[order[i]].o, c->side[order[i - 1]].o);
164} 164}
diff --git a/src/bin/image_map_3d_flow.c b/src/bin/image_map_3d_flow.c
index 94a32c4..18f9aa6 100644
--- a/src/bin/image_map_3d_flow.c
+++ b/src/bin/image_map_3d_flow.c
@@ -128,13 +128,13 @@ static void _loop(double t, int f)
128 128
129 if (c <= 0) 129 if (c <= 0)
130 { 130 {
131 efl_gfx_stack_raise(o_images[i]); 131 efl_gfx_stack_raise_to_top(o_images[i]);
132 efl_gfx_stack_raise(o_reflec[i]); 132 efl_gfx_stack_raise_to_top(o_reflec[i]);
133 } 133 }
134 else 134 else
135 { 135 {
136 efl_gfx_stack_lower(o_images[i]); 136 efl_gfx_stack_lower_to_bottom(o_images[i]);
137 efl_gfx_stack_lower(o_reflec[i]); 137 efl_gfx_stack_lower_to_bottom(o_reflec[i]);
138 } 138 }
139 139
140 evas_map_point_coord_set (m, 0, x, y, -z); 140 evas_map_point_coord_set (m, 0, x, y, -z);
diff --git a/src/bin/ui.c b/src/bin/ui.c
index cb2c67a..d31d4a5 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -371,7 +371,7 @@ _ui_menu_item_full_add(Eina_Bool test,
371 mi->text = strdup(text); 371 mi->text = strdup(text);
372 mi->func = func; 372 mi->func = func;
373 menu = eina_list_append(menu, mi); 373 menu = eina_list_append(menu, mi);
374 efl_gfx_stack_raise(o_menu_icon_sel2); 374 efl_gfx_stack_raise_to_top(o_menu_icon_sel2);
375} 375}
376 376
377#define _ui_menu_item_add(Icon, Text, Func) _ui_menu_item_full_add(EINA_TRUE, Icon, Text, Func) 377#define _ui_menu_item_add(Icon, Text, Func) _ui_menu_item_full_add(EINA_TRUE, Icon, Text, Func)
diff --git a/src/bin/widgets_file_icons_2_grouped.c b/src/bin/widgets_file_icons_2_grouped.c
index e12259a..61112d6 100644
--- a/src/bin/widgets_file_icons_2_grouped.c
+++ b/src/bin/widgets_file_icons_2_grouped.c
@@ -62,7 +62,7 @@ static void _setup(void)
62 } 62 }
63 for (i = 0; i < NUM; i++) 63 for (i = 0; i < NUM; i++)
64 { 64 {
65 efl_gfx_stack_raise(o_images[i]); 65 efl_gfx_stack_raise_to_top(o_images[i]);
66 } 66 }
67 for (i = 0; i < NUM; i++) 67 for (i = 0; i < NUM; i++)
68 { 68 {
diff --git a/src/bin/widgets_file_icons_2_same_grouped.c b/src/bin/widgets_file_icons_2_same_grouped.c
index 9b38366..9caefc5 100644
--- a/src/bin/widgets_file_icons_2_same_grouped.c
+++ b/src/bin/widgets_file_icons_2_same_grouped.c
@@ -47,7 +47,7 @@ static void _setup(void)
47 } 47 }
48 for (i = 0; i < NUM; i++) 48 for (i = 0; i < NUM; i++)
49 { 49 {
50 efl_gfx_stack_raise(o_images[i]); 50 efl_gfx_stack_raise_to_top(o_images[i]);
51 } 51 }
52 done = 0; 52 done = 0;
53} 53}
diff --git a/src/bin/widgets_list_1_grouped.c b/src/bin/widgets_list_1_grouped.c
index 3b4f2c4..0b62bee 100644
--- a/src/bin/widgets_list_1_grouped.c
+++ b/src/bin/widgets_list_1_grouped.c
@@ -78,11 +78,11 @@ static void _setup(void)
78 } 78 }
79 for (i = 0; i < NUM; i++) 79 for (i = 0; i < NUM; i++)
80 { 80 {
81 efl_gfx_stack_raise(o_images[i]); 81 efl_gfx_stack_raise_to_top(o_images[i]);
82 } 82 }
83 for (i = 0; i < NUM; i++) 83 for (i = 0; i < NUM; i++)
84 { 84 {
85 efl_gfx_stack_raise(o_texts[i]); 85 efl_gfx_stack_raise_to_top(o_texts[i]);
86 } 86 }
87 done = 0; 87 done = 0;
88} 88}
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c
index 028321e..fda638a 100644
--- a/src/bin/widgets_list_2_grouped.c
+++ b/src/bin/widgets_list_2_grouped.c
@@ -78,11 +78,11 @@ static void _setup(void)
78 } 78 }
79 for (i = 0; i < NUM; i++) 79 for (i = 0; i < NUM; i++)
80 { 80 {
81 efl_gfx_stack_raise(o_images[i]); 81 efl_gfx_stack_raise_to_top(o_images[i]);
82 } 82 }
83 for (i = 0; i < NUM; i++) 83 for (i = 0; i < NUM; i++)
84 { 84 {
85 efl_gfx_stack_raise(o_texts[i]); 85 efl_gfx_stack_raise_to_top(o_texts[i]);
86 } 86 }
87 done = 0; 87 done = 0;
88} 88}
diff --git a/src/bin/widgets_list_3_grouped.c b/src/bin/widgets_list_3_grouped.c
index 64b7e0d..76c7109 100644
--- a/src/bin/widgets_list_3_grouped.c
+++ b/src/bin/widgets_list_3_grouped.c
@@ -106,11 +106,11 @@ static void _setup(void)
106 } 106 }
107 for (i = 0; i < NUM; i++) 107 for (i = 0; i < NUM; i++)
108 { 108 {
109 efl_gfx_stack_raise(o_images[i]); 109 efl_gfx_stack_raise_to_top(o_images[i]);
110 } 110 }
111 for (i = 0; i < NUM; i++) 111 for (i = 0; i < NUM; i++)
112 { 112 {
113 efl_gfx_stack_raise(o_icons[i]); 113 efl_gfx_stack_raise_to_top(o_icons[i]);
114 } 114 }
115 for (i = 0; i < NUM; i++) 115 for (i = 0; i < NUM; i++)
116 { 116 {
@@ -119,7 +119,7 @@ static void _setup(void)
119 } 119 }
120 for (i = 0; i < NUM; i++) 120 for (i = 0; i < NUM; i++)
121 { 121 {
122 efl_gfx_stack_raise(o_texts[i]); 122 efl_gfx_stack_raise_to_top(o_texts[i]);
123 } 123 }
124 done = 0; 124 done = 0;
125} 125}
diff --git a/src/bin/widgets_list_4_grouped.c b/src/bin/widgets_list_4_grouped.c
index 3827c9e..66a3097 100644
--- a/src/bin/widgets_list_4_grouped.c
+++ b/src/bin/widgets_list_4_grouped.c
@@ -106,11 +106,11 @@ static void _setup(void)
106 } 106 }
107 for (i = 0; i < NUM; i++) 107 for (i = 0; i < NUM; i++)
108 { 108 {
109 efl_gfx_stack_raise(o_images[i]); 109 efl_gfx_stack_raise_to_top(o_images[i]);
110 } 110 }
111 for (i = 0; i < NUM; i++) 111 for (i = 0; i < NUM; i++)
112 { 112 {
113 efl_gfx_stack_raise(o_icons[i]); 113 efl_gfx_stack_raise_to_top(o_icons[i]);
114 } 114 }
115 for (i = 0; i < NUM; i++) 115 for (i = 0; i < NUM; i++)
116 { 116 {
@@ -118,7 +118,7 @@ static void _setup(void)
118 } 118 }
119 for (i = 0; i < NUM; i++) 119 for (i = 0; i < NUM; i++)
120 { 120 {
121 efl_gfx_stack_raise(o_texts[i]); 121 efl_gfx_stack_raise_to_top(o_texts[i]);
122 } 122 }
123 done = 0; 123 done = 0;
124} 124}