panoramiXext.h revision f05b35a2
1/*****************************************************************
2Copyright (c) 1991, 1997 Digital Equipment Corporation, Maynard, Massachusetts.
3Permission is hereby granted, free of charge, to any person obtaining a copy
4of this software and associated documentation files (the "Software"), to deal
5in the Software without restriction, including without limitation the rights
6to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7copies of the Software.
8
9The above copyright notice and this permission notice shall be included in
10all copies or substantial portions of the Software.
11
12THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
15DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
16BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
17WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
18IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
20Except as contained in this notice, the name of Digital Equipment Corporation
21shall not be used in advertising or otherwise to promote the sale, use or other
22dealings in this Software without prior written authorization from Digital
23Equipment Corporation.
24******************************************************************/
25/*
26 *	PanoramiX definitions
27 */
28
29/* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */
30
31#ifndef _panoramiXext_h
32#define _panoramiXext_h
33
34#include <X11/Xfuncproto.h>
35
36typedef struct {
37    Window  window;         /* PanoramiX window - may not exist */
38    int	    screen;
39    int     State;          /* PanroamiXOff, PanoramiXOn */
40    int	    width;	    /* width of this screen */
41    int     height;	    /* height of this screen */
42    int     ScreenCount;    /* real physical number of screens */
43    XID     eventMask;      /* selected events for this client */
44} XPanoramiXInfo;
45
46_XFUNCPROTOBEGIN
47
48extern Bool XPanoramiXQueryExtension (
49    Display *		/* dpy */,
50    int *		/* event_base_return */,
51    int *		/* error_base_return */
52);
53
54extern Status XPanoramiXQueryVersion(
55    Display *		/* dpy */,
56    int *		/* major_version_return */,
57    int *		/* minor_version_return */
58);
59
60extern XPanoramiXInfo *XPanoramiXAllocInfo (
61    void
62);
63
64extern Status XPanoramiXGetState (
65    Display *		/* dpy */,
66    Drawable		/* drawable */,
67    XPanoramiXInfo *	/* panoramiX_info */
68);
69
70extern Status XPanoramiXGetScreenCount (
71    Display *		/* dpy */,
72    Drawable		/* drawable */,
73    XPanoramiXInfo *	/* panoramiX_info */
74);
75
76extern Status XPanoramiXGetScreenSize (
77    Display *		/* dpy */,
78    Drawable		/* drawable */,
79    int			/* screen_num */,
80    XPanoramiXInfo *	/* panoramiX_info */
81);
82
83_XFUNCPROTOEND
84
85#endif /* _panoramiXext_h */
86