diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-10-06 12:14:53 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-10-06 12:14:53 +0200 |
| commit | b395cd7ccc0a3b98b82306a35a2d96a9d42c5d7d (patch) | |
| tree | 366ae945bce1592b0a2e47d995da27e95ef1eca0 /src/libtools | |
| parent | 8ec6b15dc21b11175cf619790c9492f344f5ab64 (diff) | |
| download | box64-b395cd7ccc0a3b98b82306a35a2d96a9d42c5d7d.tar.gz box64-b395cd7ccc0a3b98b82306a35a2d96a9d42c5d7d.zip | |
[BOX32] More work on various wrapper, and some bug fixes
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/my_x11_defs.h | 26 | ||||
| -rw-r--r-- | src/libtools/my_x11_defs_32.h | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/src/libtools/my_x11_defs.h b/src/libtools/my_x11_defs.h index 071b4f82..bb1f719e 100644 --- a/src/libtools/my_x11_defs.h +++ b/src/libtools/my_x11_defs.h @@ -894,4 +894,30 @@ typedef struct my_XF86VidModeModeInfo_s int* tc_private; } my_XF86VidModeModeInfo_t; +typedef struct my_XColor_s { + unsigned long pixel; + unsigned short red, green, blue; + char flags; + char pad; +} my_XColor_t; + +typedef struct my_XRRProviderInfo_s { + unsigned int capabilities; + int ncrtcs; + XID* crtcs; + int noutputs; + XID* outputs; + char* name; + int nassociatedproviders; + XID* associated_providers; + unsigned int* associated_capability; + int nameLen; +} my_XRRProviderInfo_t; + +typedef struct my_XRRProviderResources_t { + unsigned long timestamp; + int nproviders; + XID* providers; +} my_XRRProviderResources_t; + #endif//MY_X11_DEFS \ No newline at end of file diff --git a/src/libtools/my_x11_defs_32.h b/src/libtools/my_x11_defs_32.h index 98f71ee3..e480de36 100644 --- a/src/libtools/my_x11_defs_32.h +++ b/src/libtools/my_x11_defs_32.h @@ -827,4 +827,30 @@ typedef struct my_XF86VidModeModeInfo_32_s ptr_t tc_private; } my_XF86VidModeModeInfo_32_t; +typedef struct my_XColor_32_s { + ulong_t pixel; + unsigned short red, green, blue; + char flags; + char pad; +} my_XColor_32_t; + +typedef struct my_XRRProviderInfo_32_s { + unsigned int capabilities; + int ncrtcs; + ptr_t crtcs; //XID* + int noutputs; + ptr_t outputs; //XID* + ptr_t name; //char* + int nassociatedproviders; + ptr_t associated_providers; //XID* + ptr_t associated_capability; //unsigned int* + int nameLen; +} my_XRRProviderInfo_32_t; + +typedef struct my_XRRProviderResources_32_t { + ulong_t timestamp; + int nproviders; + ptr_t providers; //XID* +} my_XRRProviderResources_32_t; + #endif//MY_X11_DEFS_32 \ No newline at end of file |