1706f2543Smrg/* 2706f2543Smrg 3706f2543SmrgCopyright 1993 by Davor Matic 4706f2543Smrg 5706f2543SmrgPermission to use, copy, modify, distribute, and sell this software 6706f2543Smrgand its documentation for any purpose is hereby granted without fee, 7706f2543Smrgprovided that the above copyright notice appear in all copies and that 8706f2543Smrgboth that copyright notice and this permission notice appear in 9706f2543Smrgsupporting documentation. Davor Matic makes no representations about 10706f2543Smrgthe suitability of this software for any purpose. It is provided "as 11706f2543Smrgis" without express or implied warranty. 12706f2543Smrg 13706f2543Smrg*/ 14706f2543Smrg 15706f2543Smrg#ifndef XNESTCOMMON_H 16706f2543Smrg#define XNESTCOMMON_H 17706f2543Smrg 18706f2543Smrg#define UNDEFINED -1 19706f2543Smrg 20706f2543Smrg#define MAXDEPTH 32 21706f2543Smrg#define MAXVISUALSPERDEPTH 256 22706f2543Smrg 23706f2543Smrgextern Display *xnestDisplay; 24706f2543Smrgextern XVisualInfo *xnestVisuals; 25706f2543Smrgextern int xnestNumVisuals; 26706f2543Smrgextern int xnestDefaultVisualIndex; 27706f2543Smrgextern Colormap *xnestDefaultColormaps; 28706f2543Smrgextern int xnestNumDefaultClormaps; 29706f2543Smrgextern int *xnestDepths; 30706f2543Smrgextern int xnestNumDepths; 31706f2543Smrgextern XPixmapFormatValues *xnestPixmapFormats; 32706f2543Smrgextern int xnestNumPixmapFormats; 33706f2543Smrgextern Pixel xnestBlackPixel; 34706f2543Smrgextern Pixel xnestWhitePixel; 35706f2543Smrgextern Drawable xnestDefaultDrawables[MAXDEPTH + 1]; 36706f2543Smrgextern Pixmap xnestIconBitmap; 37706f2543Smrgextern Pixmap xnestScreenSaverPixmap; 38706f2543Smrgextern XlibGC xnestBitmapGC; 39706f2543Smrgextern unsigned long xnestEventMask; 40706f2543Smrg 41706f2543Smrgvoid xnestOpenDisplay(int argc, char *argv[]); 42706f2543Smrgvoid xnestCloseDisplay(void); 43706f2543Smrg 44706f2543Smrg#endif /* XNESTCOMMON_H */ 45