~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xnest/Display.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

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