105b261ecSmrg/*
205b261ecSmrg
305b261ecSmrgCopyright 1993 by Davor Matic
405b261ecSmrg
505b261ecSmrgPermission to use, copy, modify, distribute, and sell this software
605b261ecSmrgand its documentation for any purpose is hereby granted without fee,
705b261ecSmrgprovided that the above copyright notice appear in all copies and that
805b261ecSmrgboth that copyright notice and this permission notice appear in
905b261ecSmrgsupporting documentation.  Davor Matic makes no representations about
1005b261ecSmrgthe suitability of this software for any purpose.  It is provided "as
1105b261ecSmrgis" without express or implied warranty.
1205b261ecSmrg
1305b261ecSmrg*/
1405b261ecSmrg
1505b261ecSmrg#ifndef XNESTCOMMON_H
1605b261ecSmrg#define XNESTCOMMON_H
1705b261ecSmrg
1805b261ecSmrg#define UNDEFINED -1
1905b261ecSmrg
2005b261ecSmrg#define MAXDEPTH 32
2105b261ecSmrg#define MAXVISUALSPERDEPTH 256
2205b261ecSmrg
2305b261ecSmrgextern Display *xnestDisplay;
2435c4bbdfSmrgextern XVisualInfo *xnestVisuals;
2505b261ecSmrgextern int xnestNumVisuals;
2605b261ecSmrgextern int xnestDefaultVisualIndex;
2705b261ecSmrgextern Colormap *xnestDefaultColormaps;
2805b261ecSmrgextern int xnestNumDefaultClormaps;
2905b261ecSmrgextern int *xnestDepths;
3005b261ecSmrgextern int xnestNumDepths;
3105b261ecSmrgextern XPixmapFormatValues *xnestPixmapFormats;
3205b261ecSmrgextern int xnestNumPixmapFormats;
3335c4bbdfSmrgextern Pixel xnestBlackPixel;
3435c4bbdfSmrgextern Pixel xnestWhitePixel;
3505b261ecSmrgextern Drawable xnestDefaultDrawables[MAXDEPTH + 1];
3605b261ecSmrgextern Pixmap xnestIconBitmap;
3705b261ecSmrgextern Pixmap xnestScreenSaverPixmap;
3805b261ecSmrgextern XlibGC xnestBitmapGC;
3905b261ecSmrgextern unsigned long xnestEventMask;
4005b261ecSmrg
4105b261ecSmrgvoid xnestOpenDisplay(int argc, char *argv[]);
4205b261ecSmrgvoid xnestCloseDisplay(void);
4305b261ecSmrg
4435c4bbdfSmrg#endif                          /* XNESTCOMMON_H */
45