summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:30:47 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:30:47 +0200
commit3b97e3d9cd13b16d269b18df6d0b24f7b4d5e667 (patch)
tree4189bebdf0e93be4c051fd815b4c442b2bc32212 /src/examples/evas/evas-3d-aabb.c
parent09be34b82501fea8835299de72938cdf9c21c55a (diff)
evas: fix example to follow new Efl.Gfx interface.
Diffstat (limited to 'src/examples/evas/evas-3d-aabb.c')
-rw-r--r--src/examples/evas/evas-3d-aabb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index 8791b75..9f9488a 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -112,8 +112,8 @@ _on_canvas_resize(Ecore_Evas *ee)
112 int w, h; 112 int w, h;
113 113
114 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 114 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
115 eo_do(background, evas_obj_size_set(w, h)); 115 eo_do(background, efl_gfx_size_set(w, h));
116 eo_do(image, evas_obj_size_set(w, h)); 116 eo_do(image, efl_gfx_size_set(w, h));
117} 117}
118 118
119static Eina_Bool 119static Eina_Bool
@@ -243,14 +243,14 @@ main(void)
243 243
244 background = eo_add(EVAS_RECTANGLE_CLASS, evas); 244 background = eo_add(EVAS_RECTANGLE_CLASS, evas);
245 eo_do(background, 245 eo_do(background,
246 evas_obj_color_set(0, 0, 0, 255), 246 efl_gfx_color_set(0, 0, 0, 255),
247 evas_obj_size_set(WIDTH, HEIGHT), 247 efl_gfx_size_set(WIDTH, HEIGHT),
248 evas_obj_visibility_set(EINA_TRUE)); 248 efl_gfx_visible_set(EINA_TRUE));
249 249
250 image = evas_object_image_filled_add(evas); 250 image = evas_object_image_filled_add(evas);
251 eo_do(image, 251 eo_do(image,
252 evas_obj_size_set(WIDTH, HEIGHT), 252 efl_gfx_size_set(WIDTH, HEIGHT),
253 evas_obj_visibility_set(EINA_TRUE)); 253 efl_gfx_visible_set(EINA_TRUE));
254 evas_object_focus_set(image, EINA_TRUE); 254 evas_object_focus_set(image, EINA_TRUE);
255 eo_do(image, evas_obj_image_scene_set(scene)); 255 eo_do(image, evas_obj_image_scene_set(scene));
256 256