1 #ifndef __beos_x11_h__ 2 #define __beos_x11_h__ 3 4 /* Copyright (c) Nate Robins, 1997. */ 5 6 /* This program is freely distributable without licensing fees 7 and is provided without guarantee or warrantee expressed or 8 implied. This program is -not- in the public domain. */ 9 10 /* 11 * Bitmask returned by XParseGeometry(). Each bit tells if the corresponding 12 * value (x, y, width, height) was found in the parsed string. 13 */ 14 #define NoValue 0x0000 15 #define XValue 0x0001 16 #define YValue 0x0002 17 #define WidthValue 0x0004 18 #define HeightValue 0x0008 19 #define AllValues 0x000F 20 #define XNegative 0x0010 21 #define YNegative 0x0020 22 23 /* Function prototypes. */ 24 25 extern int DisplayWidth(); 26 extern int DisplayHeight(); 27 28 extern int XParseGeometry( 29 char* string, 30 int* x, int* y, 31 unsigned int* width, unsigned int* height); 32 33 #endif /* __beos_x11_h__ */ 34