From dcb0cc571298be90d0db7ad00fef835fe5fdc46d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 3 Sep 2011 01:41:36 +0200 Subject: NativeWindow/X11: Add XVisualInfo.Visual opaque long access ; Add XRenderFindVisualFormat for translucent window config --- make/stub_includes/x11/X11/extensions/Xrender.h | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 make/stub_includes/x11/X11/extensions/Xrender.h (limited to 'make/stub_includes/x11/X11/extensions') diff --git a/make/stub_includes/x11/X11/extensions/Xrender.h b/make/stub_includes/x11/X11/extensions/Xrender.h new file mode 100644 index 000000000..49cdf69e9 --- /dev/null +++ b/make/stub_includes/x11/X11/extensions/Xrender.h @@ -0,0 +1,42 @@ +#ifndef _XRENDER_H_ +#define _XRENDER_H_ + +#include +#include +#include + +typedef XID PictFormat; + +typedef struct { + short red; + short redMask; + short green; + short greenMask; + short blue; + short blueMask; + short alpha; + short alphaMask; +} XRenderDirectFormat; + +typedef struct { + PictFormat id; + int type; + int depth; + XRenderDirectFormat direct; + Colormap colormap; +} XRenderPictFormat; + +#define PictFormatID (1 << 0) +#define PictFormatType (1 << 1) +#define PictFormatDepth (1 << 2) +#define PictFormatRed (1 << 3) +#define PictFormatRedMask (1 << 4) +#define PictFormatGreen (1 << 5) +#define PictFormatGreenMask (1 << 6) +#define PictFormatBlue (1 << 7) +#define PictFormatBlueMask (1 << 8) +#define PictFormatAlpha (1 << 9) +#define PictFormatAlphaMask (1 << 10) +#define PictFormatColormap (1 << 11) + +#endif /* _XRENDER_H_ */ -- cgit v1.2.3