summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-05-07 17:53:42 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-05-08 16:50:15 -0300
commitcf9d3c90f5a20a9183140edc9dd9000be1d6ab62 (patch)
tree93610423cdd9db3eb320d4e0e411fd13c4c8e9f6 /src/lib/ecore_evas/ecore_evas.c
parentc18e76eb2c653bd8545e7dc3527a395bc3481b69 (diff)
Ecore/Evas: Add evas_event_input_multi_down/up().
These events (from multi-touch) also have information about the mouse pointer position, so they must be translated by the framespace too.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 0b8b03a007..eaccf72f74 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2660,7 +2660,7 @@ _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device,
2660 unsigned int timestamp) 2660 unsigned int timestamp)
2661{ 2661{
2662 if (ee->rotation == 0) 2662 if (ee->rotation == 0)
2663 evas_event_feed_multi_down(ee->evas, device, 2663 evas_event_input_multi_down(ee->evas, device,
2664 x, y, 2664 x, y,
2665 radius, 2665 radius,
2666 radius_x, radius_y, 2666 radius_x, radius_y,
@@ -2669,7 +2669,7 @@ _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device,
2669 mx, my, 2669 mx, my,
2670 flags, timestamp, NULL); 2670 flags, timestamp, NULL);
2671 else if (ee->rotation == 90) 2671 else if (ee->rotation == 90)
2672 evas_event_feed_multi_down(ee->evas, device, 2672 evas_event_input_multi_down(ee->evas, device,
2673 ee->h - y - 1, x, 2673 ee->h - y - 1, x,
2674 radius, 2674 radius,
2675 radius_y, radius_x, 2675 radius_y, radius_x,
@@ -2678,7 +2678,7 @@ _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device,
2678 ee->h - my - 1, mx, 2678 ee->h - my - 1, mx,
2679 flags, timestamp, NULL); 2679 flags, timestamp, NULL);
2680 else if (ee->rotation == 180) 2680 else if (ee->rotation == 180)
2681 evas_event_feed_multi_down(ee->evas, device, 2681 evas_event_input_multi_down(ee->evas, device,
2682 ee->w - x - 1, ee->h - y - 1, 2682 ee->w - x - 1, ee->h - y - 1,
2683 radius, 2683 radius,
2684 radius_x, radius_y, 2684 radius_x, radius_y,
@@ -2687,7 +2687,7 @@ _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device,
2687 ee->w - mx - 1, ee->h - my - 1, 2687 ee->w - mx - 1, ee->h - my - 1,
2688 flags, timestamp, NULL); 2688 flags, timestamp, NULL);
2689 else if (ee->rotation == 270) 2689 else if (ee->rotation == 270)
2690 evas_event_feed_multi_down(ee->evas, device, 2690 evas_event_input_multi_down(ee->evas, device,
2691 y, ee->w - x - 1, 2691 y, ee->w - x - 1,
2692 radius, 2692 radius,
2693 radius_y, radius_x, 2693 radius_y, radius_x,
@@ -2709,7 +2709,7 @@ _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device,
2709 unsigned int timestamp) 2709 unsigned int timestamp)
2710{ 2710{
2711 if (ee->rotation == 0) 2711 if (ee->rotation == 0)
2712 evas_event_feed_multi_up(ee->evas, device, 2712 evas_event_input_multi_up(ee->evas, device,
2713 x, y, 2713 x, y,
2714 radius, 2714 radius,
2715 radius_x, radius_y, 2715 radius_x, radius_y,
@@ -2718,7 +2718,7 @@ _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device,
2718 mx, my, 2718 mx, my,
2719 flags, timestamp, NULL); 2719 flags, timestamp, NULL);
2720 else if (ee->rotation == 90) 2720 else if (ee->rotation == 90)
2721 evas_event_feed_multi_up(ee->evas, device, 2721 evas_event_input_multi_up(ee->evas, device,
2722 ee->h - y - 1, x, 2722 ee->h - y - 1, x,
2723 radius, 2723 radius,
2724 radius_y, radius_x, 2724 radius_y, radius_x,
@@ -2727,7 +2727,7 @@ _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device,
2727 ee->h - my - 1, mx, 2727 ee->h - my - 1, mx,
2728 flags, timestamp, NULL); 2728 flags, timestamp, NULL);
2729 else if (ee->rotation == 180) 2729 else if (ee->rotation == 180)
2730 evas_event_feed_multi_up(ee->evas, device, 2730 evas_event_input_multi_up(ee->evas, device,
2731 ee->w - x - 1, ee->h - y - 1, 2731 ee->w - x - 1, ee->h - y - 1,
2732 radius, 2732 radius,
2733 radius_x, radius_y, 2733 radius_x, radius_y,
@@ -2736,7 +2736,7 @@ _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device,
2736 ee->w - mx - 1, ee->h - my - 1, 2736 ee->w - mx - 1, ee->h - my - 1,
2737 flags, timestamp, NULL); 2737 flags, timestamp, NULL);
2738 else if (ee->rotation == 270) 2738 else if (ee->rotation == 270)
2739 evas_event_feed_multi_up(ee->evas, device, 2739 evas_event_input_multi_up(ee->evas, device,
2740 y, ee->w - x - 1, 2740 y, ee->w - x - 1,
2741 radius, 2741 radius,
2742 radius_y, radius_x, 2742 radius_y, radius_x,