VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/X11/extensions/Xag.h@ 17234

最後變更 在這個檔案從17234是 17234,由 vboxsync 提交於 16 年 前

Additions/x11/x11include: blast! Corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.9 KB
 
1/* $XFree86: xc/include/extensions/Xag.h,v 1.5 2001/12/17 20:52:24 dawes Exp $ */
2/*
3Copyright 1996, 1998 The Open Group
4
5Permission to use, copy, modify, distribute, and sell this software and its
6documentation for any purpose is hereby granted without fee, provided that
7the above copyright notice appear in all copies and that both that
8copyright notice and this permission notice appear in supporting
9documentation.
10
11The above copyright notice and this permission notice shall be included
12in all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall
23not be used in advertising or otherwise to promote the sale, use or
24other dealings in this Software without prior written authorization
25from The Open Group.
26*/
27/* $Xorg: Xag.h,v 1.5 2001/02/09 02:03:24 xorgcvs Exp $ */
28
29#ifndef _XAG_H_
30#define _XAG_H_
31
32#include <X11/Xfuncproto.h>
33
34#define X_XagQueryVersion 0
35#define X_XagCreate 1
36#define X_XagDestroy 2
37#define X_XagGetAttr 3
38#define X_XagQuery 4
39#define X_XagCreateAssoc 5
40#define X_XagDestroyAssoc 6
41
42#define XagBadAppGroup 0
43#define XagNumberErrors (XagBadAppGroup + 1)
44
45#define XagNsingleScreen 7
46#define XagNdefaultRoot 1
47#define XagNrootVisual 2
48#define XagNdefaultColormap 3
49#define XagNblackPixel 4
50#define XagNwhitePixel 5
51#define XagNappGroupLeader 6
52
53#ifndef _XAG_SERVER_
54
55#include <stdarg.h>
56
57_XFUNCPROTOBEGIN
58
59typedef XID XAppGroup;
60
61Bool XagQueryVersion(
62 Display* /* dpy */,
63 int* /* major_version */,
64 int* /* minor_version */
65);
66
67Status XagCreateEmbeddedApplicationGroup(
68 Display* /* dpy */,
69 VisualID /* root_visual */,
70 Colormap /* default_colormap */,
71 unsigned long /* black_pixel */,
72 unsigned long /* white_pixel */,
73 XAppGroup* /* app_group_return */
74);
75
76Status XagCreateNonembeddedApplicationGroup(
77 Display* /* dpy */,
78 XAppGroup* /* app_group_return */
79);
80
81Status XagDestroyApplicationGroup(
82 Display* /* dpy */,
83 XAppGroup /* app_group */
84);
85
86Status XagGetApplicationGroupAttributes(
87 Display* /* dpy */,
88 XAppGroup /* app_group */,
89 ...
90);
91
92Status XagQueryApplicationGroup(
93 Display* /* dpy */,
94 XID /* resource_base */,
95 XAppGroup* /* app_group_ret */
96);
97
98Status XagCreateAssociation(
99 Display* /* dpy */,
100 Window* /* window_ret */,
101 void* /* system_window */
102);
103
104Status XagDestroyAssociation(
105 Display* /* dpy */,
106 Window /* window */
107);
108
109_XFUNCPROTOEND
110
111#endif /* _XAG_SERVER_ */
112
113#endif /* _XAG_H_ */
114
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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