Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xnest / Display.h
CommitLineData
a09e091a
JB
1/*
2
3Copyright 1993 by Davor Matic
4
5Permission to use, copy, modify, distribute, and sell this software
6and its documentation for any purpose is hereby granted without fee,
7provided that the above copyright notice appear in all copies and that
8both that copyright notice and this permission notice appear in
9supporting documentation. Davor Matic makes no representations about
10the suitability of this software for any purpose. It is provided "as
11is" without express or implied warranty.
12
13*/
14
15#ifndef XNESTCOMMON_H
16#define XNESTCOMMON_H
17
18#define UNDEFINED -1
19
20#define MAXDEPTH 32
21#define MAXVISUALSPERDEPTH 256
22
23extern Display *xnestDisplay;
24extern XVisualInfo *xnestVisuals;
25extern int xnestNumVisuals;
26extern int xnestDefaultVisualIndex;
27extern Colormap *xnestDefaultColormaps;
28extern int xnestNumDefaultClormaps;
29extern int *xnestDepths;
30extern int xnestNumDepths;
31extern XPixmapFormatValues *xnestPixmapFormats;
32extern int xnestNumPixmapFormats;
33extern Pixel xnestBlackPixel;
34extern Pixel xnestWhitePixel;
35extern Drawable xnestDefaultDrawables[MAXDEPTH + 1];
36extern Pixmap xnestIconBitmap;
37extern Pixmap xnestScreenSaverPixmap;
38extern XlibGC xnestBitmapGC;
39extern unsigned long xnestEventMask;
40
41void xnestOpenDisplay(int argc, char *argv[]);
42void xnestCloseDisplay(void);
43
44#endif /* XNESTCOMMON_H */