summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-08 14:11:07 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commit7ddb73b1777ca6284a0e8a3ab82b16849f27dfcd (patch)
tree9fbbe4bab0976f9b0c7a32e743f10ff09ab18398 /src/examples/evas/evas-3d-aabb.c
parentbd7af3ecfe2257c043368f00ee05fdd1aec4af0b (diff)
Evas: Move 3d to Efl.Canvas.Scene3d
This still seems a bit redondant with the underlying Evas.Canvas3d.Scene class.
Diffstat (limited to 'src/examples/evas/evas-3d-aabb.c')
-rw-r--r--src/examples/evas/evas-3d-aabb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index d02668b..a5ef7b1 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -220,11 +220,11 @@ main(void)
220 efl_gfx_size_set(background, WIDTH, HEIGHT); 220 efl_gfx_size_set(background, WIDTH, HEIGHT);
221 efl_gfx_visible_set(background, EINA_TRUE); 221 efl_gfx_visible_set(background, EINA_TRUE);
222 222
223 image = evas_object_image_filled_add(evas); 223 image = eo_add(EFL_CANVAS_SCENE3D_CLASS, evas);
224 efl_gfx_size_set(image, WIDTH, HEIGHT); 224 efl_gfx_size_set(image, WIDTH, HEIGHT);
225 efl_gfx_visible_set(image, EINA_TRUE); 225 efl_gfx_visible_set(image, EINA_TRUE);
226 evas_object_focus_set(image, EINA_TRUE); 226 evas_object_focus_set(image, EINA_TRUE);
227 evas_obj_image_scene_set(image, scene); 227 efl_canvas_scene3d_set(image, scene);
228 228
229 evas_object_event_callback_add(image, EVAS_CALLBACK_KEY_DOWN, _on_key_down, mesh_node); 229 evas_object_event_callback_add(image, EVAS_CALLBACK_KEY_DOWN, _on_key_down, mesh_node);
230 230