summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:33:09 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:33:09 +0200
commitafc2b3b17aa178a937ed757b6bbc50f2334b2bcc (patch)
treecf9e80bdd63d772cff47f747ad53e8b8f017a7a8 /src/examples
parent5613ca50ae8c674a3965ff01bb193cbce1cd0b2b (diff)
evas: fix example with new namespace.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-parallax-occlusion.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/examples/evas/evas-3d-parallax-occlusion.c b/src/examples/evas/evas-3d-parallax-occlusion.c
index ca08c55..60af0d1 100644
--- a/src/examples/evas/evas-3d-parallax-occlusion.c
+++ b/src/examples/evas/evas-3d-parallax-occlusion.c
@@ -80,8 +80,8 @@ _on_canvas_resize(Ecore_Evas *ee)
80 int w, h; 80 int w, h;
81 81
82 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 82 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
83 eo_do(background, evas_obj_size_set(w, h)); 83 eo_do(background, efl_gfx_size_set(w, h));
84 eo_do(image, evas_obj_size_set(w, h)); 84 eo_do(image, efl_gfx_size_set(w, h));
85} 85}
86 86
87static Eina_Bool 87static Eina_Bool
@@ -259,15 +259,15 @@ main(void)
259 /* Add a background rectangle objects. */ 259 /* Add a background rectangle objects. */
260 background = eo_add(EVAS_RECTANGLE_CLASS, evas); 260 background = eo_add(EVAS_RECTANGLE_CLASS, evas);
261 eo_do(background, 261 eo_do(background,
262 evas_obj_color_set(0, 0, 0, 255), 262 efl_gfx_color_set(0, 0, 0, 255),
263 evas_obj_size_set(WIDTH, HEIGHT), 263 efl_gfx_size_set(WIDTH, HEIGHT),
264 evas_obj_visibility_set(EINA_TRUE)); 264 efl_gfx_visible_set(EINA_TRUE));
265 265
266 /* Add an image object for 3D scene rendering. */ 266 /* Add an image object for 3D scene rendering. */
267 image = evas_object_image_filled_add(evas); 267 image = evas_object_image_filled_add(evas);
268 eo_do(image, 268 eo_do(image,
269 evas_obj_size_set(WIDTH, HEIGHT), 269 efl_gfx_size_set(WIDTH, HEIGHT),
270 evas_obj_visibility_set(EINA_TRUE), 270 efl_gfx_visible_set(EINA_TRUE),
271 evas_object_focus_set(image, EINA_TRUE)); 271 evas_object_focus_set(image, EINA_TRUE));
272 272
273 /* Set the image object as render target for 3D scene. */ 273 /* Set the image object as render target for 3D scene. */