VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.10.0/panoramiX.h@ 68495

Last change on this file since 68495 was 36308, checked in by vboxsync, 14 years ago

fix OSE

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1/*****************************************************************
2
3Copyright (c) 1991, 1997 Digital Equipment Corporation, Maynard, Massachusetts.
4
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9copies of the Software.
10
11The above copyright notice and this permission notice shall be included in
12all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
18BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
19WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
20IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of Digital Equipment Corporation
23shall not be used in advertising or otherwise to promote the sale, use or other
24dealings in this Software without prior written authorization from Digital
25Equipment Corporation.
26
27******************************************************************/
28
29
30/* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */
31
32/*
33 * PanoramiX definitions
34 */
35
36#ifdef HAVE_DIX_CONFIG_H
37#include <dix-config.h>
38#endif
39
40#ifndef _PANORAMIX_H_
41#define _PANORAMIX_H_
42
43#define _PANORAMIX_SERVER
44#include <X11/extensions/panoramiXproto.h>
45#undef _PANORAMIX_SERVER
46#include "gcstruct.h"
47
48
49typedef struct _PanoramiXInfo {
50 XID id ;
51} PanoramiXInfo;
52
53typedef struct {
54 PanoramiXInfo info[MAXSCREENS];
55 RESTYPE type;
56 union {
57 struct {
58 char visibility;
59 char class;
60 char root;
61 } win;
62 struct {
63 Bool shared;
64 } pix;
65 struct {
66 Bool root;
67 } pict;
68 char raw_data[4];
69 } u;
70} PanoramiXRes;
71
72#define FOR_NSCREENS_FORWARD(j) for(j = 0; j < PanoramiXNumScreens; j++)
73#define FOR_NSCREENS_BACKWARD(j) for(j = PanoramiXNumScreens - 1; j >= 0; j--)
74#define FOR_NSCREENS(j) FOR_NSCREENS_FORWARD(j)
75
76#define IS_SHARED_PIXMAP(r) (((r)->type == XRT_PIXMAP) && (r)->u.pix.shared)
77
78#endif /* _PANORAMIX_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette