summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-05 10:47:26 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:32 -0700
commit55bd097a3d5c0201c28bc0bd045cbe77aa76f5af (patch)
tree6929ab1b8bddee873305e58aed933d7039488fcf /src/examples/evas/evas-3d-aabb.c
parent7934d152dd5c185df1b89f50239d27f25c6f2b88 (diff)
Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples/evas/evas-3d-aabb.c')
-rw-r--r--src/examples/evas/evas-3d-aabb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index 5278999..dd4c1f0 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -110,8 +110,8 @@ _on_canvas_resize(Ecore_Evas *ee)
110 int w, h; 110 int w, h;
111 111
112 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 112 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
113 efl_gfx_size_set(background, EINA_SIZE2D(w, h)); 113 efl_gfx_entity_size_set(background, EINA_SIZE2D(w, h));
114 efl_gfx_size_set(image, EINA_SIZE2D(w, h)); 114 efl_gfx_entity_size_set(image, EINA_SIZE2D(w, h));
115} 115}
116 116
117static Eina_Bool 117static Eina_Bool
@@ -216,12 +216,12 @@ main(void)
216 216
217 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 217 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
218 efl_gfx_color_set(background, 0, 0, 0, 255); 218 efl_gfx_color_set(background, 0, 0, 0, 255);
219 efl_gfx_size_set(background, EINA_SIZE2D(WIDTH, HEIGHT)); 219 efl_gfx_entity_size_set(background, EINA_SIZE2D(WIDTH, HEIGHT));
220 efl_gfx_visible_set(background, EINA_TRUE); 220 efl_gfx_entity_visible_set(background, EINA_TRUE);
221 221
222 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas); 222 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas);
223 efl_gfx_size_set(image, EINA_SIZE2D(WIDTH, HEIGHT)); 223 efl_gfx_entity_size_set(image, EINA_SIZE2D(WIDTH, HEIGHT));
224 efl_gfx_visible_set(image, EINA_TRUE); 224 efl_gfx_entity_visible_set(image, EINA_TRUE);
225 evas_object_focus_set(image, EINA_TRUE); 225 evas_object_focus_set(image, EINA_TRUE);
226 efl_canvas_scene3d_set(image, scene); 226 efl_canvas_scene3d_set(image, scene);
227 227