diff options
Diffstat (limited to 'make/stub_includes/x11/X11/Xutil.h')
-rw-r--r-- | make/stub_includes/x11/X11/Xutil.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/make/stub_includes/x11/X11/Xutil.h b/make/stub_includes/x11/X11/Xutil.h new file mode 100644 index 000000000..017f8fb98 --- /dev/null +++ b/make/stub_includes/x11/X11/Xutil.h @@ -0,0 +1,32 @@ +#include <X11/X.h> +#include <X11/Xlib.h> + +/* + * Information used by the visual utility routines to find desired visual + * type from the many visuals a display may support. + */ + +typedef struct { + Visual *visual; + VisualID visualid; + int screen; + int depth; + int c_class; /* C++ */ + unsigned long red_mask; + unsigned long green_mask; + unsigned long blue_mask; + int colormap_size; + int bits_per_rgb; +} XVisualInfo; + +#define VisualNoMask 0x0 +#define VisualIDMask 0x1 +#define VisualScreenMask 0x2 +#define VisualDepthMask 0x4 +#define VisualClassMask 0x8 +#define VisualRedMaskMask 0x10 +#define VisualGreenMaskMask 0x20 +#define VisualBlueMaskMask 0x40 +#define VisualColormapSizeMask 0x80 +#define VisualBitsPerRGBMask 0x100 +#define VisualAllMask 0x1FF |