summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-10-31 16:36:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-01 11:22:33 +0900
commit9cec14918c089d94a742cb067872181dd452b7ef (patch)
tree59fd6ae40189a1c9e500d795ae09bc88076b3096 /src/tests/emotion
parentb8ca1272aee00314ca2cfb10214f36590084f6f0 (diff)
evas: Move evas_canvas.eo to legacy-only
This isn't meant to be installed. The canvas API in EO is based around the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is not EO (eg: ecore_evas, evas, ...) Note: evas_canvas3d is the last remaining thing that is installed along EO files, but those are all beta APIs.
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/emotion_test_main-eo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c
index fae86ccaed..66bcfa922f 100644
--- a/src/tests/emotion/emotion_test_main-eo.c
+++ b/src/tests/emotion/emotion_test_main-eo.c
@@ -503,7 +503,7 @@ video_obj_signal_frame_move_start_cb(void *data EINA_UNUSED, Evas_Object *o, con
503 fd = efl_key_data_get(o, "frame_data"); 503 fd = efl_key_data_get(o, "frame_data");
504 if (!fd) return; 504 if (!fd) return;
505 fd->moving = 1; 505 fd->moving = 1;
506 evas_canvas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); 506 evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y);
507 fd->x = x; 507 fd->x = x;
508 fd->y = y; 508 fd->y = y;
509 efl_gfx_stack_raise(o); 509 efl_gfx_stack_raise(o);
@@ -528,7 +528,7 @@ video_obj_signal_frame_resize_start_cb(void *data EINA_UNUSED, Evas_Object *o, c
528 fd = efl_key_data_get(o, "frame_data"); 528 fd = efl_key_data_get(o, "frame_data");
529 if (!fd) return; 529 if (!fd) return;
530 fd->resizing = 1; 530 fd->resizing = 1;
531 evas_canvas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); 531 evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y);
532 fd->x = x; 532 fd->x = x;
533 fd->y = y; 533 fd->y = y;
534 efl_gfx_stack_raise(o); 534 efl_gfx_stack_raise(o);
@@ -556,7 +556,7 @@ video_obj_signal_frame_move_cb(void *data EINA_UNUSED, Evas_Object *o, const cha
556 Evas_Coord x, y; 556 Evas_Coord x, y;
557 Eina_Position2D pos; 557 Eina_Position2D pos;
558 558
559 evas_canvas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); 559 evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y);
560 pos = efl_gfx_position_get(o); 560 pos = efl_gfx_position_get(o);
561 pos.x += (x - fd->x); 561 pos.x += (x - fd->x);
562 pos.y += (y - fd->y); 562 pos.y += (y - fd->y);
@@ -569,7 +569,7 @@ video_obj_signal_frame_move_cb(void *data EINA_UNUSED, Evas_Object *o, const cha
569 Evas_Coord x, y; 569 Evas_Coord x, y;
570 Eina_Size2D sz; 570 Eina_Size2D sz;
571 571
572 evas_canvas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); 572 evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y);
573 sz = efl_gfx_size_get(o); 573 sz = efl_gfx_size_get(o);
574 evas_object_resize(o, sz.w + (x - fd->x), sz.h + (y - fd->y)); 574 evas_object_resize(o, sz.w + (x - fd->x), sz.h + (y - fd->y));
575 fd->x = x; 575 fd->x = x;