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