[E_POINTER_HOOK_HIDE] = NULL,
};
+struct _E_Pointer_Hook
+{
+ EINA_INLIST;
+ E_Pointer_Hook_Point hookpoint;
+ E_Pointer_Hook_Cb func;
+ void *data;
+ unsigned char delete_me : 1;
+};
+
+
static void
_e_pointer_configured_output_resolution_ratio_get(E_Client *ec, double *ratio)
{
#define E_POINTER_TYPE 0xE0b01013
+typedef enum
+{
+ /* These are compatible with netwm */
+ E_POINTER_RESIZE_TL = 0,
+ E_POINTER_RESIZE_T = 1,
+ E_POINTER_RESIZE_TR = 2,
+ E_POINTER_RESIZE_R = 3,
+ E_POINTER_RESIZE_BR = 4,
+ E_POINTER_RESIZE_B = 5,
+ E_POINTER_RESIZE_BL = 6,
+ E_POINTER_RESIZE_L = 7,
+ E_POINTER_MOVE = 8,
+ E_POINTER_RESIZE_NONE = 11
+} E_Pointer_Mode;
+
+typedef enum
+{
+ E_POINTER_NONE = 0,
+ E_POINTER_MOUSE = 1,
+ E_POINTER_TOUCH = 2
+} E_Pointer_Device;
+
struct _E_Pointer
{
E_Object e_obj_inherit;
#endif
#include <e_types.h>
-#include <e_object.h>
-
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <e_view_client.h>
typedef struct _E_Pointer E_Pointer;
typedef struct _E_Pointer_Hook E_Pointer_Hook;
typedef void (*E_Pointer_Hook_Cb)(void *data, E_Pointer *ptr);
-typedef enum
-{
- /* These are compatible with netwm */
- E_POINTER_RESIZE_TL = 0,
- E_POINTER_RESIZE_T = 1,
- E_POINTER_RESIZE_TR = 2,
- E_POINTER_RESIZE_R = 3,
- E_POINTER_RESIZE_BR = 4,
- E_POINTER_RESIZE_B = 5,
- E_POINTER_RESIZE_BL = 6,
- E_POINTER_RESIZE_L = 7,
- E_POINTER_MOVE = 8,
- E_POINTER_RESIZE_NONE = 11
-} E_Pointer_Mode;
-
-typedef enum
-{
- E_POINTER_NONE = 0,
- E_POINTER_MOUSE = 1,
- E_POINTER_TOUCH = 2
-} E_Pointer_Device;
-
typedef enum _E_Pointer_Hook_Point
{
E_POINTER_HOOK_TOUCH_MOVE,
E_POINTER_HOOK_LAST,
} E_Pointer_Hook_Point;
-struct _E_Pointer_Hook
-{
- EINA_INLIST;
- E_Pointer_Hook_Point hookpoint;
- E_Pointer_Hook_Cb func;
- void *data;
- unsigned char delete_me : 1;
-};
-
E_API void e_pointer_mouse_move(E_Pointer *ptr, int x, int y);
E_API Eina_Bool e_pointer_is_hidden(E_Pointer *ptr);
E_API void e_pointer_rotation_set(E_Pointer *ptr, int rotation);