| 1 | /***************************************************************** |
| 2 | Copyright (c) 1991, 1997 Digital Equipment Corporation, Maynard, Massachusetts. |
| 3 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 4 | of this software and associated documentation files (the "Software"), to deal |
| 5 | in the Software without restriction, including without limitation the rights |
| 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7 | copies of the Software. |
| 8 | |
| 9 | The above copyright notice and this permission notice shall be included in |
| 10 | all copies or substantial portions of the Software. |
| 11 | |
| 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 15 | DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, |
| 16 | BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, |
| 17 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR |
| 18 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 19 | |
| 20 | Except as contained in this notice, the name of Digital Equipment Corporation |
| 21 | shall not be used in advertising or otherwise to promote the sale, use or other |
| 22 | dealings in this Software without prior written authorization from Digital |
| 23 | Equipment 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 | |
| 36 | typedef struct { |
| 37 | Window window; /* PanoramiX window - may not exist */ |
| 38 | int screen; |
| 39 | int State; /* PanoramiXOff, 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 | |
| 48 | extern Bool XPanoramiXQueryExtension ( |
| 49 | Display * /* dpy */, |
| 50 | int * /* event_base_return */, |
| 51 | int * /* error_base_return */ |
| 52 | ); |
| 53 | |
| 54 | extern Status XPanoramiXQueryVersion( |
| 55 | Display * /* dpy */, |
| 56 | int * /* major_version_return */, |
| 57 | int * /* minor_version_return */ |
| 58 | ); |
| 59 | |
| 60 | extern XPanoramiXInfo *XPanoramiXAllocInfo ( |
| 61 | void |
| 62 | ); |
| 63 | |
| 64 | extern Status XPanoramiXGetState ( |
| 65 | Display * /* dpy */, |
| 66 | Drawable /* drawable */, |
| 67 | XPanoramiXInfo * /* panoramiX_info */ |
| 68 | ); |
| 69 | |
| 70 | extern Status XPanoramiXGetScreenCount ( |
| 71 | Display * /* dpy */, |
| 72 | Drawable /* drawable */, |
| 73 | XPanoramiXInfo * /* panoramiX_info */ |
| 74 | ); |
| 75 | |
| 76 | extern 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 */ |