aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_photocam.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
commit55bd097a3d5c0201c28bc0bd045cbe77aa76f5af (patch)
tree6929ab1b8bddee873305e58aed933d7039488fcf /src/bin/elementary/test_photocam.c
parentEfl.Config_Global (from Efl.Config.Global) (diff)
downloadefl-55bd097a3d5c0201c28bc0bd045cbe77aa76f5af.tar.gz
Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/elementary/test_photocam.c')
-rw-r--r--src/bin/elementary/test_photocam.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index cb31d31e01..a7d1629e81 100644
--- a/src/bin/elementary/test_photocam.c
+++ b/src/bin/elementary/test_photocam.c
@@ -765,9 +765,9 @@ _zoomable_move_resize_cb(void *data, const Efl_Event *ev)
{
Eina_Rect r;
- r = efl_gfx_geometry_get(ev->object);
- efl_gfx_size_set(data, EINA_SIZE2D(r.w, r.h));
- efl_gfx_position_set(data, r.pos);
+ r = efl_gfx_entity_geometry_get(ev->object);
+ efl_gfx_entity_size_set(data, EINA_SIZE2D(r.w, r.h));
+ efl_gfx_entity_position_set(data, r.pos);
}
static void
@@ -842,8 +842,8 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
);
// add move/resize callbacks to resize rect manually
- efl_event_callback_add(zoomable, EFL_GFX_EVENT_RESIZE, _zoomable_move_resize_cb, rect);
- efl_event_callback_add(zoomable, EFL_GFX_EVENT_MOVE, _zoomable_move_resize_cb, rect);
+ efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_RESIZE, _zoomable_move_resize_cb, rect);
+ efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_MOVE, _zoomable_move_resize_cb, rect);
- efl_gfx_size_set(win, EINA_SIZE2D(300, 320));
+ efl_gfx_entity_size_set(win, EINA_SIZE2D(300, 320));
}