summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_win.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-03-26 15:21:21 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:23 -0700
commit65ee277a6674dcad9c938b8b0ac9b56520105fc4 (patch)
tree1ed89932d2279c2f237bef50f733adef0fc51a0b /src/tests/elementary/elm_test_win.c
parentf6fc78119b3309fbd22f6a2b115caaf30b98169a (diff)
Efl.Canvas.Scene (from Efl.Canvas)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_win.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 942927ab66..c7ef94a74e 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -5,7 +5,7 @@
5#define EFL_ACCESS_BETA 5#define EFL_ACCESS_BETA
6#define EFL_ACCESS_COMPONENT_BETA 6#define EFL_ACCESS_COMPONENT_BETA
7#define EFL_ACCESS_COMPONENT_PROTECTED 7#define EFL_ACCESS_COMPONENT_PROTECTED
8#define EFL_CANVAS_BETA 8#define EFL_CANVAS_SCENE_BETA
9 9
10#include <Elementary.h> 10#include <Elementary.h>
11#ifdef HAVE_ELEMENTARY_X 11#ifdef HAVE_ELEMENTARY_X
@@ -246,7 +246,7 @@ _inputs_timer2_cb(void *data)
246 size_t cnt = 0; 246 size_t cnt = 0;
247 int i = 0; 247 int i = 0;
248 248
249 it = efl_canvas_pointer_iterate(win, 0); 249 it = efl_canvas_scene_pointer_iterate(win, 0);
250 EINA_ITERATOR_FOREACH(it, ptr) 250 EINA_ITERATOR_FOREACH(it, ptr)
251 { 251 {
252 double x, y; 252 double x, y;
@@ -309,7 +309,7 @@ _inputs_timer3_cb(void *data)
309 size_t cnt = 0; 309 size_t cnt = 0;
310 int i = 0; 310 int i = 0;
311 311
312 it = efl_canvas_pointer_iterate(win, 0); 312 it = efl_canvas_scene_pointer_iterate(win, 0);
313 EINA_ITERATOR_FOREACH(it, ptr) 313 EINA_ITERATOR_FOREACH(it, ptr)
314 { 314 {
315 int tool, ok = 0; 315 int tool, ok = 0;
@@ -340,7 +340,7 @@ _inputs_timer3_cb(void *data)
340 fail_if(cnt != 2); // 2 moves (in the list), 2 ups (gone) 340 fail_if(cnt != 2); // 2 moves (in the list), 2 ups (gone)
341 341
342 fail_if(!efl_canvas_pointer_inside_get(win, NULL)); 342 fail_if(!efl_canvas_pointer_inside_get(win, NULL));
343 pos = efl_canvas_pointer_position_get(win); 343 pos = efl_canvas_scene_pointer_position_get(win);
344 ck_assert_int_eq(pos.x, points[1][0].x); 344 ck_assert_int_eq(pos.x, points[1][0].x);
345 ck_assert_int_eq(pos.y, points[1][0].y); 345 ck_assert_int_eq(pos.y, points[1][0].y);
346 346