From: SooChan Lim Date: Thu, 12 Jun 2025 09:05:16 +0000 (+0900) Subject: e_pointer: move the symbols to internal files X-Git-Tag: accepted/tizen/unified/20250614.044607~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F325694%2F1;p=platform%2Fupstream%2Fenlightenment.git e_pointer: move the symbols to internal files Change-Id: I7e1120740a2580cf194c57cc32c586ae5098deeb --- diff --git a/src/bin/windowmgr/e_pointer.c b/src/bin/windowmgr/e_pointer.c index fe9886f86d..7bfd65cbc8 100644 --- a/src/bin/windowmgr/e_pointer.c +++ b/src/bin/windowmgr/e_pointer.c @@ -29,6 +29,16 @@ static Eina_Inlist *_e_pointer_hooks[] = [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) { diff --git a/src/bin/windowmgr/e_pointer_intern.h b/src/bin/windowmgr/e_pointer_intern.h index 06a45a8ed5..524c732aeb 100644 --- a/src/bin/windowmgr/e_pointer_intern.h +++ b/src/bin/windowmgr/e_pointer_intern.h @@ -7,6 +7,28 @@ #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; diff --git a/src/include/e_pointer.h b/src/include/e_pointer.h index b5df0aba05..22c84b4f40 100644 --- a/src/include/e_pointer.h +++ b/src/include/e_pointer.h @@ -6,40 +6,12 @@ extern "C" { #endif #include -#include - -#include -#include -#include -#include 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, @@ -49,15 +21,6 @@ typedef enum _E_Pointer_Hook_Point 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);