From: Cedric BAIL Date: Fri, 3 Apr 2015 14:33:09 +0000 (+0200) Subject: evas: fix example with new namespace. X-Git-Tag: v1.14.0-alpha1~44^2~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afc2b3b17aa178a937ed757b6bbc50f2334b2bcc;p=platform%2Fupstream%2Fefl.git evas: fix example with new namespace. --- 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) int w, h; ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); - eo_do(background, evas_obj_size_set(w, h)); - eo_do(image, evas_obj_size_set(w, h)); + eo_do(background, efl_gfx_size_set(w, h)); + eo_do(image, efl_gfx_size_set(w, h)); } static Eina_Bool @@ -259,15 +259,15 @@ main(void) /* Add a background rectangle objects. */ background = eo_add(EVAS_RECTANGLE_CLASS, evas); eo_do(background, - evas_obj_color_set(0, 0, 0, 255), - evas_obj_size_set(WIDTH, HEIGHT), - evas_obj_visibility_set(EINA_TRUE)); + efl_gfx_color_set(0, 0, 0, 255), + efl_gfx_size_set(WIDTH, HEIGHT), + efl_gfx_visible_set(EINA_TRUE)); /* Add an image object for 3D scene rendering. */ image = evas_object_image_filled_add(evas); eo_do(image, - evas_obj_size_set(WIDTH, HEIGHT), - evas_obj_visibility_set(EINA_TRUE), + efl_gfx_size_set(WIDTH, HEIGHT), + efl_gfx_visible_set(EINA_TRUE), evas_object_focus_set(image, EINA_TRUE)); /* Set the image object as render target for 3D scene. */