devilhorns pushed a commit to branch master.

commit 5c223328d4b75c6c9025e515d3bbc3c6c4e63eef
Author: Chris Michael <[email protected]>
Date:   Mon Jul 8 10:51:23 2013 +0100

    Add ecore_evas_pointer_xy_get and ecore_evas_pointer_warp API functions
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_evas/Ecore_Evas.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index 9985f6a..d1fd0d7 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -2381,6 +2381,30 @@ EAPI Evas_Object *ecore_evas_extn_plug_new(Ecore_Evas 
*ee_target);
 EAPI Eina_Bool ecore_evas_extn_plug_connect(Evas_Object *obj, const char 
*svcname, int svcnum, Eina_Bool svcsys);
 
 /**
+ * @brief Retrieve the coordinates of the mouse pointer
+ * 
+ * @param ee The Ecore_Evas containing the pointer
+ * @param x Pointer to integer to store horizontal coordinate. May be @c NULL.
+ * @param y Pointer to integer to store vertical coordinate. May be @c NULL.
+ * 
+ * @since 1.8
+ */
+EAPI void ecore_evas_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, 
Evas_Coord *y);
+
+/**
+ * @brief Retrieve the coordinates of the mouse pointer
+ * 
+ * @param ee The Ecore_Evas containing the pointer
+ * @param x The horizontal coordinate to move the pointer to
+ * @param y The vertical coordinate to move the pointer to
+ * 
+ * @return @c EINA_TRUE on success, EINA_FALSE on failure.
+ * 
+ * @since 1.8
+ */
+EAPI Eina_Bool ecore_evas_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, 
Evas_Coord y);
+
+/**
  * @}
  */
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to