summaryrefslogtreecommitdiff
path: root/unsorted/elementary/evas3d_object_on_button_example.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
commitfb666f9788c9cb0d86b47a78b58183a6acac013d (patch)
treed931d390b4515025f8c10389b94c54eb5c368fc9 /unsorted/elementary/evas3d_object_on_button_example.c
parentf05ba502b356ef077ad3678909ae3dd808046d86 (diff)
Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'unsorted/elementary/evas3d_object_on_button_example.c')
-rw-r--r--unsorted/elementary/evas3d_object_on_button_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsorted/elementary/evas3d_object_on_button_example.c b/unsorted/elementary/evas3d_object_on_button_example.c
index 7be8f60..e77d74b 100644
--- a/unsorted/elementary/evas3d_object_on_button_example.c
+++ b/unsorted/elementary/evas3d_object_on_button_example.c
@@ -258,8 +258,8 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
258 258
259 /* Add an image object for 3D scene rendering. */ 259 /* Add an image object for 3D scene rendering. */
260 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas); 260 image = efl_add(EFL_CANVAS_SCENE3D_CLASS, evas);
261 efl_gfx_size_set(image, EINA_SIZE2D(WIDTH, HEIGHT)); 261 efl_gfx_entity_size_set(image, EINA_SIZE2D(WIDTH, HEIGHT));
262 efl_gfx_visible_set(image, EINA_TRUE); 262 efl_gfx_entity_visible_set(image, EINA_TRUE);
263 263
264 btn = elm_button_add(win); 264 btn = elm_button_add(win);
265 evas_object_resize(btn, (WIDTH * 2) / 3, (HEIGHT * 2) / 3); 265 evas_object_resize(btn, (WIDTH * 2) / 3, (HEIGHT * 2) / 3);