-#ifndef __layerutil_h__\r
-#define __layerutil_h__\r
-\r
-/* Copyright (c) Mark J. Kilgard, 1993, 1994. */\r
-\r
-/* This program is freely distributable without licensing fees \r
- and is provided without guarantee or warrantee expressed or \r
- implied. This program is -not- in the public domain. */\r
-\r
-/* Based on XLayerUtil.h: Revision: 1.3 */\r
-\r
-#ifdef __VMS\r
-#include <GL/vms_x_fix.h>\r
-#endif\r
-\r
-#if !defined(_WIN32) && !defined(__OS2__)\r
-#include <X11/Xlib.h>\r
-#include <X11/Xutil.h>\r
-#include <X11/Xmd.h>\r
-#endif /* !_WIN32 */\r
-\r
-/* Transparent type values */\r
-/* None 0 */\r
-#define TransparentPixel 1\r
-#define TransparentMask 2\r
-\r
-/* layered visual info template flags */\r
-#define VisualLayerMask 0x200\r
-#define VisualTransparentType 0x400\r
-#define VisualTransparentValue 0x800\r
-#define VisualAllLayerMask 0xFFF\r
-\r
-/* layered visual info structure */\r
-typedef struct _XLayerVisualInfo {\r
- XVisualInfo vinfo;\r
- long layer;\r
- long type;\r
- unsigned long value;\r
-} XLayerVisualInfo;\r
-\r
-/* SERVER_OVERLAY_VISUALS property element */\r
-typedef struct _OverlayInfo {\r
- /* Avoid 64-bit portability problems by being careful to use\r
- longs due to the way XGetWindowProperty is specified. Note\r
- that these parameters are passed as CARD32s over X\r
- protocol. */\r
- long overlay_visual;\r
- long transparent_type;\r
- long value;\r
- long layer;\r
-} OverlayInfo;\r
-\r
-extern int __glutGetTransparentPixel(Display *, XVisualInfo *);\r
-extern XLayerVisualInfo *__glutXGetLayerVisualInfo(Display *,\r
- long, XLayerVisualInfo *, int *);\r
-extern Status __glutXMatchLayerVisualInfo(Display *,\r
- int, int, int, int, XLayerVisualInfo *);\r
-\r
-#endif /* __layerutil_h__ */\r
+#ifndef __layerutil_h__
+#define __layerutil_h__
+
+/* Copyright (c) Mark J. Kilgard, 1993, 1994. */
+
+/* This program is freely distributable without licensing fees
+ and is provided without guarantee or warrantee expressed or
+ implied. This program is -not- in the public domain. */
+
+/* Based on XLayerUtil.h: Revision: 1.3 */
+
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
+#if !defined(_WIN32) && !defined(__OS2__)
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/Xmd.h>
+#endif /* !_WIN32 */
+
+/* Transparent type values */
+/* None 0 */
+#define TransparentPixel 1
+#define TransparentMask 2
+
+/* layered visual info template flags */
+#define VisualLayerMask 0x200
+#define VisualTransparentType 0x400
+#define VisualTransparentValue 0x800
+#define VisualAllLayerMask 0xFFF
+
+/* layered visual info structure */
+typedef struct _XLayerVisualInfo {
+ XVisualInfo vinfo;
+ long layer;
+ long type;
+ unsigned long value;
+} XLayerVisualInfo;
+
+/* SERVER_OVERLAY_VISUALS property element */
+typedef struct _OverlayInfo {
+ /* Avoid 64-bit portability problems by being careful to use
+ longs due to the way XGetWindowProperty is specified. Note
+ that these parameters are passed as CARD32s over X
+ protocol. */
+ long overlay_visual;
+ long transparent_type;
+ long value;
+ long layer;
+} OverlayInfo;
+
+extern int __glutGetTransparentPixel(Display *, XVisualInfo *);
+extern XLayerVisualInfo *__glutXGetLayerVisualInfo(Display *,
+ long, XLayerVisualInfo *, int *);
+extern Status __glutXMatchLayerVisualInfo(Display *,
+ int, int, int, int, XLayerVisualInfo *);
+
+#endif /* __layerutil_h__ */