summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_Eo.h
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 15:43:31 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 16:45:33 -0300
commitf09e493bc2bb9fed67b2d6e2faa4f19142394191 (patch)
treebf3b142295382a422727c28b15940b27e7d0022e /src/lib/evas/Evas_Eo.h
parentf769128dcad91da002529ee9e2a27f82c828461d (diff)
evas/events: Add evas_event_input_mouse_move().
This function should be used internally by the input system (Ecore_Evas_Input) to feed Evas with move events. The x,y event info is relative to the base of the window/surface, instead of the 0,0 of the canvas. This case only happens for now under Wayland, where the 0,0 of the canvas is translated due to the window decorations that are drawn by the client.
Diffstat (limited to 'src/lib/evas/Evas_Eo.h')
-rw-r--r--src/lib/evas/Evas_Eo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Eo.h b/src/lib/evas/Evas_Eo.h
index bacdbfea0d..e2a6965eed 100644
--- a/src/lib/evas/Evas_Eo.h
+++ b/src/lib/evas/Evas_Eo.h
@@ -185,6 +185,7 @@ enum
185 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_UP, 185 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_UP,
186 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_CANCEL, 186 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_CANCEL,
187 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL, 187 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL,
188 EVAS_CANVAS_SUB_ID_EVENT_INPUT_MOUSE_MOVE,
188 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_MOVE, 189 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_MOVE,
189 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_IN, 190 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_IN,
190 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_OUT, 191 EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_OUT,
@@ -891,6 +892,21 @@ enum
891#define evas_canvas_event_feed_mouse_wheel(direction, z, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL), EO_TYPECHECK(int, direction), EO_TYPECHECK(int, z), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data) 892#define evas_canvas_event_feed_mouse_wheel(direction, z, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_FEED_MOUSE_WHEEL), EO_TYPECHECK(int, direction), EO_TYPECHECK(int, z), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
892 893
893/** 894/**
895 * @def evas_canvas_event_input_mouse_move
896 * @since 1.8
897 *
898 * Mouse move event feed from input.
899 *
900 * @param[in] x
901 * @param[in] y
902 * @param[in] timestamp
903 * @param[in] data
904 *
905 * @see evas_event_input_mouse_move
906 */
907#define evas_canvas_event_input_mouse_move(x, y, timestamp, data) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_EVENT_INPUT_MOUSE_MOVE), EO_TYPECHECK(int, x), EO_TYPECHECK(int, y), EO_TYPECHECK(unsigned int, timestamp), EO_TYPECHECK(const void *, data)
908
909/**
894 * @def evas_canvas_event_feed_mouse_move 910 * @def evas_canvas_event_feed_mouse_move
895 * @since 1.8 911 * @since 1.8
896 * 912 *