- winWindow window; /**< The main window where event happened */\r
- winWindow root_window; /**< The root window where event happened */\r
- winWindow event_window; /**< The child window where event happened */\r
-\r
- unsigned int timestamp; /**< Time when the event occurred */\r
- unsigned int modifiers; /**< The combination of modifiers key (SHIFT,CTRL,ALT,..)*/\r
-\r
- int direction; /**< Orientation of the wheel (horizontal/vertical) */\r
- int z; /**< Value of the wheel event (+1/-1) */\r
-\r
- int x; /**< x coordinate relative to window where event happened */\r
- int y; /**< y coordinate relative to window where event happened */\r
- struct\r
- {\r
- int x;\r
- int y;\r
- } root; /**< Coordinates relative to root window */\r
-};\r
-\r
-/**\r
-* @struct _Event_Mouse_Move\r
-* Contains information about an Ecore mouse move event.\r
-*/\r
-struct _Event_Mouse_Move\r
-{\r
- winWindow window; /**< The main window where event happened */\r
- winWindow root_window; /**< The root window where event happened */\r
- winWindow event_window; /**< The child window where event happened */\r
-\r
- unsigned int timestamp; /**< Time when the event occurred */\r
- unsigned int modifiers; /**< The combination of modifiers key (SHIFT,CTRL,ALT,..)*/\r
-\r
- int x; /**< x coordinate relative to window where event happened */\r
- int y; /**< y coordinate relative to window where event happened */\r
- struct\r
- {\r
- int x;\r
- int y;\r
- } root; /**< Coordinates relative to root window */\r
-\r
- struct\r
- {\r
- int device; /**< 0 if normal mouse, 1+ for other mouse-devices (eg multi-touch - other fingers) */\r
- double radius, radius_x, radius_y; /**< radius of press point - radius_x and y if its an ellipse (radius is the average of the 2) */\r
- double pressure; /**< pressure - 1.0 == normal, > 1.0 == more, 0.0 == none */\r
- double angle; /**< angle relative to perpendicular (0.0 == perpendicular), in degrees */\r
- double x, y; /**< same as x, y root.x, root.y, but with sub-pixel precision, if available */\r
- struct\r
- {\r
- double x, y;\r
- } root;\r
- } multi;\r
-};\r
-\r
-typedef enum _Win_Event_Mode\r
-{\r
- WIN_EVENT_MODE_NORMAL,\r
- WIN_EVENT_MODE_WHILE_GRABBED,\r
- WIN_EVENT_MODE_GRAB,\r
- WIN_EVENT_MODE_UNGRAB\r
-} Win_Event_Mode;\r
-\r
-typedef enum _Win_Event_Detail\r
-{\r
- WIN_EVENT_DETAIL_ANCESTOR,\r
- WIN_EVENT_DETAIL_VIRTUAL,\r
- WIN_EVENT_DETAIL_INFERIOR,\r
- WIN_EVENT_DETAIL_NON_LINEAR,\r
- WIN_EVENT_DETAIL_NON_LINEAR_VIRTUAL,\r
- WIN_EVENT_DETAIL_POINTER,\r
- WIN_EVENT_DETAIL_POINTER_ROOT,\r
- WIN_EVENT_DETAIL_DETAIL_NONE\r
-} Win_Event_Detail;\r
-\r
-typedef unsigned int Win_Time;\r
-\r
-struct _Win_Event_Mouse_In\r
-{\r
- int modifiers;\r
- int x, y;\r
-\r
- struct\r
- {\r
- int x, y;\r
- } root;\r
- winWindow win;\r
- winWindow event_win;\r
- winWindow root_win;\r
- Win_Event_Mode mode;\r
- Win_Event_Detail detail;\r
- Win_Time time;\r
-};\r
-\r
-struct _Win_Event_Mouse_Out\r
-{\r
- int modifiers;\r
- int x, y;\r
-\r
- struct\r
- {\r
- int x, y;\r
- } root;\r
- winWindow win;\r
- winWindow event_win;\r
- winWindow root_win;\r
- Win_Event_Mode mode;\r
- Win_Event_Detail detail;\r
- Win_Time time;\r
+ WinWindowHandle window; /**< The main window where event happened */\r
+ WinWindowHandle root_window; /**< The root window where event happened */\r
+ WinWindowHandle event_window; /**< The child window where event happened */\r
+\r
+ uint32_t timestamp; /**< Time when the event occurred */\r
+ uint32_t modifiers; /**< The combination of modifiers key (SHIFT,CTRL,ALT,..)*/\r
+\r
+ int32_t direction; /**< Orientation of the wheel (horizontal/vertical) */\r
+ int32_t z; /**< Value of the wheel event (+1/-1) */\r
+\r
+ int32_t x; /**< x coordinate relative to window where event happened */\r
+ int32_t y; /**< y coordinate relative to window where event happened */\r
+ struct\r
+ {\r
+ int32_t x;\r
+ int32_t y;\r
+ } root; /**< Coordinates relative to root window */\r