summaryrefslogtreecommitdiff
path: root/src/glut/beos/beos_x11.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:45:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:45:24 +0000
commit4811b7c7e02c0612975a8526f8ebba49ece0e72b (patch)
treed039cf9b6dd2a9d4fb47b856f1f89adec4ff81f8 /src/glut/beos/beos_x11.h
parentb9e8741c8f0e5d683df4be09a232aa722589645e (diff)
initial check-in
Diffstat (limited to 'src/glut/beos/beos_x11.h')
-rw-r--r--src/glut/beos/beos_x11.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/glut/beos/beos_x11.h b/src/glut/beos/beos_x11.h
new file mode 100644
index 0000000000..966dddd5e0
--- /dev/null
+++ b/src/glut/beos/beos_x11.h
@@ -0,0 +1,33 @@
+#ifndef __beos_x11_h__
+#define __beos_x11_h__
+
+/* Copyright (c) Nate Robins, 1997. */
+
+/* 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. */
+
+/*
+ * Bitmask returned by XParseGeometry(). Each bit tells if the corresponding
+ * value (x, y, width, height) was found in the parsed string.
+*/
+#define NoValue 0x0000
+#define XValue 0x0001
+#define YValue 0x0002
+#define WidthValue 0x0004
+#define HeightValue 0x0008
+#define AllValues 0x000F
+#define XNegative 0x0010
+#define YNegative 0x0020
+
+/* Function prototypes. */
+
+extern int DisplayWidth();
+extern int DisplayHeight();
+
+extern int XParseGeometry(
+ char* string,
+ int* x, int* y,
+ unsigned int* width, unsigned int* height);
+
+#endif /* __beos_x11_h__ */