diff options
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/my_x11_defs.h | 17 | ||||
| -rw-r--r-- | src/libtools/my_x11_defs_32.h | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/libtools/my_x11_defs.h b/src/libtools/my_x11_defs.h index e422f8f3..97b328eb 100644 --- a/src/libtools/my_x11_defs.h +++ b/src/libtools/my_x11_defs.h @@ -1240,6 +1240,23 @@ typedef struct my_XcursorCursors_s { void* cursors; //Cursor* } my_XcursorCursors_t; +typedef struct my_XcursorImage_s { + uint32_t version; + uint32_t size; + uint32_t width; + uint32_t height; + uint32_t xhot; + uint32_t yhot; + uint32_t delay; + void* pixels; +} my_XcursorImage_t; + +typedef struct my_XcursorImages_s { + int nimage; + my_XcursorImage_t** images; + char* name; +} my_XcursorImages_t; + typedef struct my_XExtCodes_s { int extension; int major_opcode; diff --git a/src/libtools/my_x11_defs_32.h b/src/libtools/my_x11_defs_32.h index cbe78f75..8e131848 100644 --- a/src/libtools/my_x11_defs_32.h +++ b/src/libtools/my_x11_defs_32.h @@ -1172,6 +1172,23 @@ typedef struct my_XcursorCursors_32_s { ptr_t cursors; //Cursor* } my_XcursorCursors_32_t; +typedef struct my_XcursorImage_32_s { + uint32_t version; + uint32_t size; + uint32_t width; + uint32_t height; + uint32_t xhot; + uint32_t yhot; + uint32_t delay; + ptr_t pixels; //XcursorPixel* +} my_XcursorImage_32_t; + +typedef struct my_XcursorImages_32_s { + int nimage; + ptr_t images; //my_XcursorImage_t** + ptr_t name; //char* +} my_XcursorImages_32_t; + typedef struct my_XExtCodes_32_s { int extension; int major_opcode; |