diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-12-03 18:45:46 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-12-03 18:45:46 +0100 |
| commit | fb276bdc6bf02cc1781da2eaf1b60e824d840b8b (patch) | |
| tree | bebc487e28c45d1977476f11a562cf87bb6024e2 /src/libtools | |
| parent | 1c1a26626ba1ceda224757ccaf8483534885cbe3 (diff) | |
| download | box64-fb276bdc6bf02cc1781da2eaf1b60e824d840b8b.tar.gz box64-fb276bdc6bf02cc1781da2eaf1b60e824d840b8b.zip | |
[BOX32][WRAPER] Fixed Xcursor wrapping
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; |