assassinlike commited on
Commit
76cc0cc
·
verified ·
1 Parent(s): f771fd5

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/miniconda3/include/X11/Composite.h +100 -0
  2. data/miniconda3/include/X11/CompositeP.h +113 -0
  3. data/miniconda3/include/X11/ConstrainP.h +96 -0
  4. data/miniconda3/include/X11/CreateI.h +42 -0
  5. data/miniconda3/include/X11/DECkeysym.h +65 -0
  6. data/miniconda3/include/X11/EventI.h +134 -0
  7. data/miniconda3/include/X11/HookObjI.h +73 -0
  8. data/miniconda3/include/X11/ImUtil.h +30 -0
  9. data/miniconda3/include/X11/InitialI.h +430 -0
  10. data/miniconda3/include/X11/Intrinsic.h +2629 -0
  11. data/miniconda3/include/X11/IntrinsicP.h +334 -0
  12. data/miniconda3/include/X11/ObjectP.h +141 -0
  13. data/miniconda3/include/X11/PassivGraI.h +185 -0
  14. data/miniconda3/include/X11/RectObj.h +61 -0
  15. data/miniconda3/include/X11/ShellI.h +10 -0
  16. data/miniconda3/include/X11/ShellP.h +434 -0
  17. data/miniconda3/include/X11/StringDefs.h +1085 -0
  18. data/miniconda3/include/X11/Sunkeysym.h +106 -0
  19. data/miniconda3/include/X11/ThreadsI.h +129 -0
  20. data/miniconda3/include/X11/TranslateI.h +606 -0
  21. data/miniconda3/include/X11/VarargsI.h +66 -0
  22. data/miniconda3/include/X11/Vendor.h +70 -0
  23. data/miniconda3/include/X11/VendorP.h +102 -0
  24. data/miniconda3/include/X11/X.h +717 -0
  25. data/miniconda3/include/X11/XF86keysym.h +487 -0
  26. data/miniconda3/include/X11/XWDFile.h +113 -0
  27. data/miniconda3/include/X11/Xalloca.h +121 -0
  28. data/miniconda3/include/X11/Xarch.h +94 -0
  29. data/miniconda3/include/X11/Xatom.h +79 -0
  30. data/miniconda3/include/X11/Xauth.h +181 -0
  31. data/miniconda3/include/X11/Xcms.h +815 -0
  32. data/miniconda3/include/X11/Xdmcp.h +226 -0
  33. data/miniconda3/include/X11/Xfuncproto.h +216 -0
  34. data/miniconda3/include/X11/Xfuncs.h +69 -0
  35. data/miniconda3/include/X11/Xlib-xcb.h +20 -0
  36. data/miniconda3/include/X11/XlibConf.h +38 -0
  37. data/miniconda3/include/X11/Xlocale.h +37 -0
  38. data/miniconda3/include/X11/Xmd.h +146 -0
  39. data/miniconda3/include/X11/Xos.h +148 -0
  40. data/miniconda3/include/X11/Xosdefs.h +116 -0
  41. data/miniconda3/include/X11/Xpoll.h +230 -0
  42. data/miniconda3/include/X11/Xproto.h +2157 -0
  43. data/miniconda3/include/X11/Xprotostr.h +77 -0
  44. data/miniconda3/include/X11/Xregion.h +190 -0
  45. data/miniconda3/include/X11/Xresource.h +358 -0
  46. data/miniconda3/include/X11/Xutil.h +838 -0
  47. data/miniconda3/include/X11/Xwindows.h +117 -0
  48. data/miniconda3/include/X11/Xwinsock.h +80 -0
  49. data/miniconda3/include/X11/keysymdef.h +0 -0
  50. data/miniconda3/include/harfbuzz/hb-aat-layout.h +795 -0
data/miniconda3/include/X11/Composite.h ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtComposite_h
49
+ #define _XtComposite_h
50
+
51
+ typedef struct _CompositeClassRec *CompositeWidgetClass;
52
+
53
+ typedef Cardinal (*XtOrderProc)(
54
+ Widget /* child */
55
+ );
56
+
57
+ _XFUNCPROTOBEGIN
58
+
59
+ extern void XtManageChildren(
60
+ WidgetList /* children */,
61
+ Cardinal /* num_children */
62
+ );
63
+
64
+ extern void XtManageChild(
65
+ Widget /* child */
66
+ );
67
+
68
+ extern void XtUnmanageChildren(
69
+ WidgetList /* children */,
70
+ Cardinal /* num_children */
71
+ );
72
+
73
+ extern void XtUnmanageChild(
74
+ Widget /* child */
75
+ );
76
+
77
+ typedef void (*XtDoChangeProc)(
78
+ Widget /* composite_parent */,
79
+ WidgetList /* unmanage_children */,
80
+ Cardinal * /* num_unmanage_children */,
81
+ WidgetList /* manage_children */,
82
+ Cardinal * /* num_manage_children */,
83
+ XtPointer /* client_data */
84
+ );
85
+
86
+ extern void XtChangeManagedSet(
87
+ WidgetList /* unmanage_children */,
88
+ Cardinal /* num_unmanage_children */,
89
+ XtDoChangeProc /* do_change_proc */,
90
+ XtPointer /* client_data */,
91
+ WidgetList /* manage_children */,
92
+ Cardinal /* num_manage_children */
93
+ );
94
+
95
+ _XFUNCPROTOEND
96
+
97
+ externalref WidgetClass compositeWidgetClass;
98
+
99
+ #endif /* _XtComposite_h */
100
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/CompositeP.h ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtCompositeP_h
49
+ #define _XtCompositeP_h
50
+
51
+ #include <X11/Composite.h>
52
+
53
+ _XFUNCPROTOBEGIN
54
+
55
+ /************************************************************************
56
+ *
57
+ * Additional instance fields for widgets of (sub)class 'Composite'
58
+ *
59
+ ************************************************************************/
60
+
61
+ typedef struct _CompositePart {
62
+ WidgetList children; /* array of ALL widget children */
63
+ Cardinal num_children; /* total number of widget children */
64
+ Cardinal num_slots; /* number of slots in children array */
65
+ XtOrderProc insert_position; /* compute position of new child */
66
+ } CompositePart,*CompositePtr;
67
+
68
+ typedef struct _CompositeRec {
69
+ CorePart core;
70
+ CompositePart composite;
71
+ } CompositeRec;
72
+
73
+ /*********************************************************************
74
+ *
75
+ * Additional class fields for widgets of (sub)class 'Composite'
76
+ *
77
+ ********************************************************************/
78
+
79
+ typedef struct _CompositeClassPart {
80
+ XtGeometryHandler geometry_manager; /* geometry manager for children */
81
+ XtWidgetProc change_managed; /* change managed state of child */
82
+ XtWidgetProc insert_child; /* physically add child to parent */
83
+ XtWidgetProc delete_child; /* physically remove child */
84
+ XtPointer extension; /* pointer to extension record */
85
+ } CompositeClassPart,*CompositePartPtr;
86
+
87
+ typedef struct {
88
+ XtPointer next_extension; /* 1st 4 mandated for all extension records */
89
+ XrmQuark record_type; /* NULLQUARK; on CompositeClassPart */
90
+ long version; /* must be XtCompositeExtensionVersion */
91
+ Cardinal record_size; /* sizeof(CompositeClassExtensionRec) */
92
+ Boolean accepts_objects;
93
+ Boolean allows_change_managed_set;
94
+ } CompositeClassExtensionRec, *CompositeClassExtension;
95
+
96
+
97
+ typedef struct _CompositeClassRec {
98
+ CoreClassPart core_class;
99
+ CompositeClassPart composite_class;
100
+ } CompositeClassRec;
101
+
102
+ externalref CompositeClassRec compositeClassRec;
103
+
104
+ _XFUNCPROTOEND
105
+
106
+ #define XtCompositeExtensionVersion 2L
107
+ #define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit)
108
+ #define XtInheritChangeManaged ((XtWidgetProc) _XtInherit)
109
+ #define XtInheritInsertChild ((XtWidgetProc) _XtInherit)
110
+ #define XtInheritDeleteChild ((XtWidgetProc) _XtInherit)
111
+
112
+ #endif /* _XtCompositeP_h */
113
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/ConstrainP.h ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtConstraintP_h
49
+ #define _XtConstraintP_h
50
+
51
+ #include <X11/Constraint.h>
52
+
53
+ _XFUNCPROTOBEGIN
54
+
55
+ typedef struct _ConstraintPart {
56
+ XtPointer mumble; /* No new fields, keep C compiler happy */
57
+ } ConstraintPart;
58
+
59
+ typedef struct _ConstraintRec {
60
+ CorePart core;
61
+ CompositePart composite;
62
+ ConstraintPart constraint;
63
+ } ConstraintRec, *ConstraintWidget;
64
+
65
+ typedef struct _ConstraintClassPart {
66
+ XtResourceList resources; /* constraint resource list */
67
+ Cardinal num_resources; /* number of constraints in list */
68
+ Cardinal constraint_size; /* size of constraint record */
69
+ XtInitProc initialize; /* constraint initialization */
70
+ XtWidgetProc destroy; /* constraint destroy proc */
71
+ XtSetValuesFunc set_values; /* constraint set_values proc */
72
+ XtPointer extension; /* pointer to extension record */
73
+ } ConstraintClassPart;
74
+
75
+ typedef struct {
76
+ XtPointer next_extension; /* 1st 4 mandated for all extension records */
77
+ XrmQuark record_type; /* NULLQUARK; on ConstraintClassPart */
78
+ long version; /* must be XtConstraintExtensionVersion */
79
+ Cardinal record_size; /* sizeof(ConstraintClassExtensionRec) */
80
+ XtArgsProc get_values_hook;
81
+ } ConstraintClassExtensionRec, *ConstraintClassExtension;
82
+
83
+ typedef struct _ConstraintClassRec {
84
+ CoreClassPart core_class;
85
+ CompositeClassPart composite_class;
86
+ ConstraintClassPart constraint_class;
87
+ } ConstraintClassRec;
88
+
89
+ externalref ConstraintClassRec constraintClassRec;
90
+
91
+ _XFUNCPROTOEND
92
+
93
+ #define XtConstraintExtensionVersion 1L
94
+
95
+ #endif /* _XtConstraintP_h */
96
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/CreateI.h ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef _XtcreateI_h
2
+ #define _XtcreateI_h
3
+
4
+ _XFUNCPROTOBEGIN
5
+
6
+ extern Widget _XtCreateWidget(String name, WidgetClass widget_class,
7
+ Widget parent, ArgList args, Cardinal num_args,
8
+ XtTypedArgList typed_args,
9
+ Cardinal num_typed_args);
10
+ extern Widget _XtCreatePopupShell(String name, WidgetClass widget_class,
11
+ Widget parent, ArgList args,
12
+ Cardinal num_args, XtTypedArgList typed_args,
13
+ Cardinal num_typed_args);
14
+ extern Widget _XtAppCreateShell(String name, String class,
15
+ WidgetClass widget_class, Display *display,
16
+ ArgList args, Cardinal num_args,
17
+ XtTypedArgList typed_args,
18
+ Cardinal num_typed_args);
19
+ extern Widget _XtCreateHookObj(Screen *screen);
20
+
21
+ _XFUNCPROTOEND
22
+
23
+ #include <stdarg.h>
24
+
25
+ _XFUNCPROTOBEGIN
26
+
27
+ /* VarCreate.c */
28
+ extern Widget _XtVaOpenApplication(XtAppContext *app_context_return,
29
+ _Xconst char* application_class,
30
+ XrmOptionDescList options, Cardinal num_options,
31
+ int *argc_in_out, _XtString *argv_in_out,
32
+ String *fallback_resources, WidgetClass widget_class,
33
+ va_list var_args);
34
+ extern Widget _XtVaAppInitialize(XtAppContext *app_context_return,
35
+ _Xconst char* application_class,
36
+ XrmOptionDescList options, Cardinal num_options,
37
+ int *argc_in_out, _XtString *argv_in_out,
38
+ String *fallback_resources, va_list var_args);
39
+
40
+ _XFUNCPROTOEND
41
+
42
+ #endif /* _XtcreateI_h */
data/miniconda3/include/X11/DECkeysym.h ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ /*
49
+ * DEC private keysyms
50
+ * (29th bit set)
51
+ */
52
+
53
+ /* two-key compose sequence initiators, chosen to map to Latin1 characters */
54
+
55
+ #define DXK_ring_accent 0x1000feb0
56
+ #define DXK_circumflex_accent 0x1000fe5e
57
+ #define DXK_cedilla_accent 0x1000fe2c
58
+ #define DXK_acute_accent 0x1000fe27
59
+ #define DXK_grave_accent 0x1000fe60
60
+ #define DXK_tilde 0x1000fe7e
61
+ #define DXK_diaeresis 0x1000fe22
62
+
63
+ /* special keysym for LK2** "Remove" key on editing keypad */
64
+
65
+ #define DXK_Remove 0x1000ff00 /* Remove */
data/miniconda3/include/X11/EventI.h ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ /*
49
+ * Event.h - exported types and functions for toolkit event handler
50
+ *
51
+ * Author: Charles Haynes
52
+ * Digital Equipment Corporation
53
+ * Western Software Laboratory
54
+ * Date: Sun Dec 6 1987
55
+ */
56
+
57
+ #ifndef _Event_h_
58
+ #define _Event_h_
59
+
60
+ typedef struct _XtGrabRec *XtGrabList;
61
+
62
+ #include "PassivGraI.h"
63
+
64
+ _XFUNCPROTOBEGIN
65
+
66
+ extern void _XtEventInitialize(
67
+ void
68
+ );
69
+
70
+ typedef struct _XtEventRec {
71
+ XtEventTable next;
72
+ EventMask mask; /* also select_data count for RecExt */
73
+ XtEventHandler proc;
74
+ XtPointer closure;
75
+ unsigned int select:1;
76
+ unsigned int has_type_specifier:1;
77
+ unsigned int async:1; /* not used, here for Digital extension? */
78
+ } XtEventRec;
79
+
80
+ typedef struct _XtGrabRec {
81
+ XtGrabList next;
82
+ Widget widget;
83
+ unsigned int exclusive:1;
84
+ unsigned int spring_loaded:1;
85
+ }XtGrabRec;
86
+
87
+ typedef struct _BlockHookRec {
88
+ struct _BlockHookRec* next;
89
+ XtAppContext app;
90
+ XtBlockHookProc proc;
91
+ XtPointer closure;
92
+ } BlockHookRec, *BlockHook;
93
+
94
+ extern void _XtFreeEventTable(
95
+ XtEventTable* /* event_table */
96
+ );
97
+
98
+ extern Boolean _XtOnGrabList(
99
+ Widget /* widget */,
100
+ XtGrabRec* /* grabList */
101
+ );
102
+
103
+ extern void _XtRemoveAllInputs(
104
+ XtAppContext /* app */
105
+ );
106
+
107
+ extern void _XtRefreshMapping(
108
+ XEvent* /* event */,
109
+ _XtBoolean /* dispatch */
110
+ );
111
+
112
+ extern void _XtSendFocusEvent(
113
+ Widget /* child */,
114
+ int /* type */);
115
+
116
+ extern EventMask _XtConvertTypeToMask(
117
+ int /* eventType */
118
+ );
119
+
120
+ /* EventUtil.c */
121
+ extern Widget _XtFindRemapWidget(XEvent *event, Widget widget,
122
+ EventMask mask, XtPerDisplayInput pdi);
123
+ extern void _XtUngrabBadGrabs(XEvent *event, Widget widget,
124
+ EventMask mask, XtPerDisplayInput pdi);
125
+ extern void _XtFillAncestorList(Widget **listPtr, int *maxElemsPtr,
126
+ int *numElemsPtr, Widget start,
127
+ Widget breakWidget);
128
+
129
+ /* NextEvent.c */
130
+ extern Boolean XtAppPeekEvent_SkipTimer;
131
+
132
+ _XFUNCPROTOEND
133
+
134
+ #endif /* _Event_h_ */
data/miniconda3/include/X11/HookObjI.h ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+ */
26
+
27
+ #ifndef _XtHookObjI_h
28
+ #define _XtHookObjI_h
29
+
30
+ _XFUNCPROTOBEGIN
31
+
32
+ /* This object is implementation-dependent and private to the library. */
33
+
34
+ typedef struct _HookObjRec *HookObject;
35
+ typedef struct _HookObjClassRec *HookObjectClass;
36
+
37
+ externalref WidgetClass hookObjectClass;
38
+
39
+ typedef struct _HookObjPart {
40
+ /* resources */
41
+ XtCallbackList createhook_callbacks;
42
+ XtCallbackList changehook_callbacks;
43
+ XtCallbackList confighook_callbacks;
44
+ XtCallbackList geometryhook_callbacks;
45
+ XtCallbackList destroyhook_callbacks;
46
+ WidgetList shells;
47
+ Cardinal num_shells;
48
+ /* private data */
49
+ Cardinal max_shells;
50
+ Screen* screen;
51
+ }HookObjPart;
52
+
53
+ typedef struct _HookObjRec {
54
+ ObjectPart object;
55
+ HookObjPart hooks;
56
+ } HookObjRec;
57
+
58
+ typedef struct _HookObjClassPart {
59
+ int unused;
60
+ } HookObjClassPart;
61
+
62
+ typedef struct _HookObjClassRec {
63
+ ObjectClassPart object_class;
64
+ HookObjClassPart hook_class;
65
+ } HookObjClassRec;
66
+
67
+ externalref HookObjClassRec hookObjClassRec;
68
+
69
+ _XFUNCPROTOEND
70
+
71
+ #endif /* ifndef _Xt_HookObjI_h */
72
+
73
+
data/miniconda3/include/X11/ImUtil.h ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ #ifndef _X11_IMUTIL_H_
3
+ #define _X11_IMUTIL_H_
4
+
5
+ extern int
6
+ _XGetScanlinePad(
7
+ Display *dpy,
8
+ int depth);
9
+
10
+ extern int
11
+ _XGetBitsPerPixel(
12
+ Display *dpy,
13
+ int depth);
14
+
15
+ extern int
16
+ _XSetImage(
17
+ XImage *srcimg,
18
+ XImage *dstimg,
19
+ int x,
20
+ int y);
21
+
22
+ extern int
23
+ _XReverse_Bytes(
24
+ unsigned char *bpt,
25
+ int nb);
26
+ extern void
27
+ _XInitImageFuncPtrs(
28
+ XImage *image);
29
+
30
+ #endif /* _X11_IMUTIL_H_ */
data/miniconda3/include/X11/InitialI.h ADDED
@@ -0,0 +1,430 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtinitialI_h
49
+ #define _XtinitialI_h
50
+
51
+ /****************************************************************
52
+ *
53
+ * Displays
54
+ *
55
+ ****************************************************************/
56
+
57
+ #ifndef X_NOT_POSIX
58
+ #ifdef _POSIX_SOURCE
59
+ #include <limits.h>
60
+ #else
61
+ #define _POSIX_SOURCE
62
+ #include <limits.h>
63
+ #undef _POSIX_SOURCE
64
+ #endif
65
+ #endif
66
+ #ifndef PATH_MAX
67
+ #ifdef WIN32
68
+ #define PATH_MAX 512
69
+ #else
70
+ #include <sys/param.h>
71
+ #endif
72
+ #ifndef PATH_MAX
73
+ #ifdef MAXPATHLEN
74
+ #define PATH_MAX MAXPATHLEN
75
+ #else
76
+ #define PATH_MAX 1024
77
+ #endif
78
+ #endif
79
+ #endif
80
+
81
+ #include <X11/Xos.h>
82
+ #include <X11/Xpoll.h>
83
+
84
+ _XFUNCPROTOBEGIN
85
+
86
+ typedef struct _TimerEventRec {
87
+ struct timeval te_timer_value;
88
+ struct _TimerEventRec *te_next;
89
+ XtTimerCallbackProc te_proc;
90
+ XtAppContext app;
91
+ XtPointer te_closure;
92
+ } TimerEventRec;
93
+
94
+ typedef struct _InputEvent {
95
+ XtInputCallbackProc ie_proc;
96
+ XtPointer ie_closure;
97
+ struct _InputEvent *ie_next;
98
+ struct _InputEvent *ie_oq;
99
+ XtAppContext app;
100
+ int ie_source;
101
+ XtInputMask ie_condition;
102
+ } InputEvent;
103
+
104
+ typedef struct _SignalEventRec {
105
+ XtSignalCallbackProc se_proc;
106
+ XtPointer se_closure;
107
+ struct _SignalEventRec *se_next;
108
+ XtAppContext app;
109
+ Boolean se_notice;
110
+ } SignalEventRec;
111
+
112
+ typedef struct _WorkProcRec {
113
+ XtWorkProc proc;
114
+ XtPointer closure;
115
+ struct _WorkProcRec *next;
116
+ XtAppContext app;
117
+ } WorkProcRec;
118
+
119
+
120
+ typedef struct
121
+ {
122
+ #ifndef USE_POLL
123
+ fd_set rmask;
124
+ fd_set wmask;
125
+ fd_set emask;
126
+ #endif
127
+ int nfds;
128
+ } FdStruct;
129
+
130
+ typedef struct _LangProcRec {
131
+ XtLanguageProc proc;
132
+ XtPointer closure;
133
+ } LangProcRec;
134
+
135
+ typedef struct _ProcessContextRec {
136
+ XtAppContext defaultAppContext;
137
+ XtAppContext appContextList;
138
+ ConverterTable globalConverterTable;
139
+ LangProcRec globalLangProcRec;
140
+ } ProcessContextRec, *ProcessContext;
141
+
142
+ typedef struct {
143
+ char* start;
144
+ char* current;
145
+ int bytes_remaining;
146
+ } Heap;
147
+
148
+ typedef struct _DestroyRec DestroyRec;
149
+
150
+
151
+ typedef struct _XtAppStruct {
152
+ XtAppContext next; /* link to next app in process context */
153
+ ProcessContext process; /* back pointer to our process context */
154
+ InternalCallbackList destroy_callbacks;
155
+ Display **list;
156
+ TimerEventRec *timerQueue;
157
+ WorkProcRec *workQueue;
158
+ InputEvent **input_list;
159
+ InputEvent *outstandingQueue;
160
+ SignalEventRec *signalQueue;
161
+ XrmDatabase errorDB;
162
+ XtErrorMsgHandler errorMsgHandler, warningMsgHandler;
163
+ XtErrorHandler errorHandler, warningHandler;
164
+ struct _ActionListRec *action_table;
165
+ ConverterTable converterTable;
166
+ unsigned long selectionTimeout;
167
+ FdStruct fds;
168
+ short count; /* num of assigned entries in list */
169
+ short max; /* allocate size of list */
170
+ short last;
171
+ short input_count;
172
+ short input_max; /* elts input_list init'd with */
173
+ Boolean sync, being_destroyed, error_inited;
174
+ #ifndef NO_IDENTIFY_WINDOWS
175
+ Boolean identify_windows; /* debugging hack */
176
+ #endif
177
+ Heap heap;
178
+ String * fallback_resources; /* Set by XtAppSetFallbackResources. */
179
+ struct _ActionHookRec* action_hook_list;
180
+ struct _BlockHookRec* block_hook_list;
181
+ int destroy_list_size; /* state data for 2-phase destroy */
182
+ int destroy_count;
183
+ int dispatch_level;
184
+ DestroyRec* destroy_list;
185
+ Widget in_phase2_destroy;
186
+ LangProcRec langProcRec;
187
+ struct _TMBindCacheRec * free_bindings;
188
+ _XtString display_name_tried;
189
+ Display **dpy_destroy_list;
190
+ int dpy_destroy_count;
191
+ Boolean exit_flag;
192
+ Boolean rebuild_fdlist;
193
+ #ifdef XTHREADS
194
+ LockPtr lock_info;
195
+ ThreadAppProc lock;
196
+ ThreadAppProc unlock;
197
+ ThreadAppYieldLockProc yield_lock;
198
+ ThreadAppRestoreLockProc restore_lock;
199
+ ThreadAppProc free_lock;
200
+ #endif
201
+ } XtAppStruct;
202
+
203
+ extern void _XtHeapInit(Heap* heap);
204
+ extern void _XtHeapFree(Heap* heap);
205
+
206
+ #ifdef XTTRACEMEMORY
207
+
208
+
209
+ extern char *_XtHeapMalloc(
210
+ Heap* /* heap */,
211
+ Cardinal /* size */,
212
+ const char */* file */,
213
+ int /* line */
214
+ );
215
+
216
+ #define _XtHeapAlloc(heap,bytes) _XtHeapMalloc(heap, bytes, __FILE__, __LINE__)
217
+
218
+ #else /* XTTRACEMEMORY */
219
+
220
+ extern char* _XtHeapAlloc(
221
+ Heap* /* heap */,
222
+ Cardinal /* size */
223
+ );
224
+
225
+ #endif /* XTTRACEMEMORY */
226
+
227
+ extern void _XtSetDefaultErrorHandlers(
228
+ XtErrorMsgHandler* /* errMsg */,
229
+ XtErrorMsgHandler* /* warnMsg */,
230
+ XtErrorHandler* /* err */,
231
+ XtErrorHandler* /* warn */
232
+ );
233
+
234
+ extern void _XtSetDefaultSelectionTimeout(
235
+ unsigned long* /* timeout */
236
+ );
237
+
238
+ extern XtAppContext _XtDefaultAppContext(
239
+ void
240
+ );
241
+
242
+ extern ProcessContext _XtGetProcessContext(
243
+ void
244
+ );
245
+
246
+ Display *
247
+ _XtAppInit(
248
+ XtAppContext* /* app_context_return */,
249
+ String /* application_class */,
250
+ XrmOptionDescRec* /* options */,
251
+ Cardinal /* num_options */,
252
+ int* /* argc_in_out */,
253
+ _XtString** /* argv_in_out */,
254
+ String* /* fallback_resources */
255
+ );
256
+
257
+ extern void _XtDestroyAppContexts(
258
+ void
259
+ );
260
+
261
+ extern void _XtCloseDisplays(
262
+ XtAppContext /* app */
263
+ );
264
+
265
+ extern int _XtAppDestroyCount;
266
+
267
+ extern int _XtWaitForSomething(
268
+ XtAppContext /* app */,
269
+ _XtBoolean /* ignoreEvents */,
270
+ _XtBoolean /* ignoreTimers */,
271
+ _XtBoolean /* ignoreInputs */,
272
+ _XtBoolean /* ignoreSignals */,
273
+ _XtBoolean /* block */,
274
+ #ifdef XTHREADS
275
+ _XtBoolean /* drop_lock */,
276
+ #endif
277
+ unsigned long* /* howlong */
278
+ );
279
+
280
+ typedef struct _CaseConverterRec *CaseConverterPtr;
281
+ typedef struct _CaseConverterRec {
282
+ KeySym start; /* first KeySym valid in converter */
283
+ KeySym stop; /* last KeySym valid in converter */
284
+ XtCaseProc proc; /* case converter function */
285
+ CaseConverterPtr next; /* next converter record */
286
+ } CaseConverterRec;
287
+
288
+ typedef struct _ExtensionSelectorRec {
289
+ XtExtensionSelectProc proc;
290
+ int min, max;
291
+ XtPointer client_data;
292
+ } ExtSelectRec;
293
+
294
+ typedef struct _XtPerDisplayStruct {
295
+ InternalCallbackList destroy_callbacks;
296
+ Region region;
297
+ CaseConverterPtr case_cvt; /* user-registered case converters */
298
+ XtKeyProc defaultKeycodeTranslator;
299
+ XtAppContext appContext;
300
+ unsigned long keysyms_serial; /* for tracking MappingNotify events */
301
+ KeySym *keysyms; /* keycode to keysym table */
302
+ int keysyms_per_keycode; /* number of keysyms for each keycode*/
303
+ int min_keycode, max_keycode; /* range of keycodes */
304
+ KeySym *modKeysyms; /* keysym values for modToKeysysm */
305
+ ModToKeysymTable *modsToKeysyms; /* modifiers to Keysysms index table*/
306
+ unsigned char isModifier[32]; /* key-is-modifier-p bit table */
307
+ KeySym lock_meaning; /* Lock modifier meaning */
308
+ Modifiers mode_switch; /* keyboard group modifiers */
309
+ Modifiers num_lock; /* keyboard numlock modifiers */
310
+ Boolean being_destroyed;
311
+ Boolean rv; /* reverse_video resource */
312
+ XrmName name; /* resolved app name */
313
+ XrmClass class; /* application class */
314
+ Heap heap;
315
+ struct _GCrec *GClist; /* support for XtGetGC */
316
+ Drawable **pixmap_tab; /* ditto for XtGetGC */
317
+ String language; /* XPG language string */
318
+ XEvent last_event; /* last event dispatched */
319
+ Time last_timestamp; /* from last event dispatched */
320
+ int multi_click_time; /* for XtSetMultiClickTime */
321
+ struct _TMKeyContextRec* tm_context; /* for XtGetActionKeysym */
322
+ InternalCallbackList mapping_callbacks; /* special case for TM */
323
+ XtPerDisplayInputRec pdi; /* state for modal grabs & kbd focus */
324
+ struct _WWTable *WWtable; /* window to widget table */
325
+ XrmDatabase *per_screen_db; /* per screen resource databases */
326
+ XrmDatabase cmd_db; /* db from command line, if needed */
327
+ XrmDatabase server_db; /* resource property else .Xdefaults */
328
+ XtEventDispatchProc* dispatcher_list;
329
+ ExtSelectRec* ext_select_list;
330
+ int ext_select_count;
331
+ Widget hook_object;
332
+ #ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
333
+ Atom rcm_init; /* ResConfig - initialize */
334
+ Atom rcm_data; /* ResConfig - data atom */
335
+ #endif
336
+ } XtPerDisplayStruct, *XtPerDisplay;
337
+
338
+ typedef struct _PerDisplayTable {
339
+ Display *dpy;
340
+ XtPerDisplayStruct perDpy;
341
+ struct _PerDisplayTable *next;
342
+ } PerDisplayTable, *PerDisplayTablePtr;
343
+
344
+ extern PerDisplayTablePtr _XtperDisplayList;
345
+
346
+ extern XtPerDisplay _XtSortPerDisplayList(
347
+ Display* /* dpy */
348
+ );
349
+
350
+ extern XtPerDisplay _XtGetPerDisplay(
351
+ Display* /* dpy */
352
+ );
353
+
354
+ extern XtPerDisplayInputRec* _XtGetPerDisplayInput(
355
+ Display* /* dpy */
356
+ );
357
+
358
+ #if 0
359
+ #ifdef DEBUG
360
+ #define _XtGetPerDisplay(display) \
361
+ ((_XtperDisplayList != NULL && (_XtperDisplayList->dpy == (display))) \
362
+ ? &_XtperDisplayList->perDpy \
363
+ : _XtSortPerDisplayList(display))
364
+ #define _XtGetPerDisplayInput(display) \
365
+ ((_XtperDisplayList != NULL && (_XtperDisplayList->dpy == (display))) \
366
+ ? &_XtperDisplayList->perDpy.pdi \
367
+ : &_XtSortPerDisplayList(display)->pdi)
368
+ #else
369
+ #define _XtGetPerDisplay(display) \
370
+ ((_XtperDisplayList->dpy == (display)) \
371
+ ? &_XtperDisplayList->perDpy \
372
+ : _XtSortPerDisplayList(display))
373
+ #define _XtGetPerDisplayInput(display) \
374
+ ((_XtperDisplayList->dpy == (display)) \
375
+ ? &_XtperDisplayList->perDpy.pdi \
376
+ : &_XtSortPerDisplayList(display)->pdi)
377
+ #endif /*DEBUG*/
378
+ #endif
379
+
380
+ extern void _XtDisplayInitialize(
381
+ Display* /* dpy */,
382
+ XtPerDisplay /* pd */,
383
+ _Xconst char* /* name */,
384
+ XrmOptionDescRec* /* urlist */,
385
+ Cardinal /* num_urs */,
386
+ int* /* argc */,
387
+ _XtString* /* argv */
388
+ );
389
+
390
+ extern void _XtCacheFlushTag(
391
+ XtAppContext /* app */,
392
+ XtPointer /* tag */
393
+ );
394
+
395
+ extern void _XtFreeActions(
396
+ struct _ActionListRec* /* action_table */
397
+ );
398
+
399
+ extern void _XtDoPhase2Destroy(
400
+ XtAppContext /* app */,
401
+ int /* dispatch_level */
402
+ );
403
+
404
+ extern void _XtDoFreeBindings(
405
+ XtAppContext /* app */
406
+ );
407
+
408
+ extern void _XtExtensionSelect(
409
+ Widget /* widget */
410
+ );
411
+
412
+ #define _XtSafeToDestroy(app) ((app)->dispatch_level == 0)
413
+
414
+ extern void _XtAllocWWTable(
415
+ XtPerDisplay pd
416
+ );
417
+
418
+ extern void _XtFreeWWTable(
419
+ XtPerDisplay pd
420
+ );
421
+
422
+ extern String _XtGetUserName(_XtString dest, int len);
423
+ extern XrmDatabase _XtPreparseCommandLine(XrmOptionDescRec *urlist,
424
+ Cardinal num_urs, int argc, _XtString *argv,
425
+ String *applName, String *displayName,
426
+ String *language);
427
+
428
+ _XFUNCPROTOEND
429
+
430
+ #endif /* _XtinitialI_h */
data/miniconda3/include/X11/Intrinsic.h ADDED
@@ -0,0 +1,2629 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
3
+
4
+ All Rights Reserved
5
+
6
+ Permission to use, copy, modify, and distribute this software and its
7
+ documentation for any purpose and without fee is hereby granted,
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, and that the name Digital not be
11
+ used in advertising or publicity pertaining to distribution of the
12
+ software without specific, written prior permission.
13
+
14
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20
+ SOFTWARE.
21
+
22
+ ******************************************************************/
23
+
24
+ /*
25
+
26
+ Copyright 1987, 1988, 1994, 1998 The Open Group
27
+
28
+ Permission to use, copy, modify, distribute, and sell this software and its
29
+ documentation for any purpose is hereby granted without fee, provided that
30
+ the above copyright notice appear in all copies and that both that
31
+ copyright notice and this permission notice appear in supporting
32
+ documentation.
33
+
34
+ The above copyright notice and this permission notice shall be included in
35
+ all copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
41
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
42
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43
+
44
+ Except as contained in this notice, the name of The Open Group shall not be
45
+ used in advertising or otherwise to promote the sale, use or other dealings
46
+ in this Software without prior written authorization from The Open Group.
47
+
48
+ */
49
+
50
+ #ifndef _XtIntrinsic_h
51
+ #define _XtIntrinsic_h
52
+
53
+ #include <X11/Xlib.h>
54
+ #include <X11/Xutil.h>
55
+ #include <X11/Xresource.h>
56
+ #include <X11/Xfuncproto.h>
57
+ #ifdef XT_BC
58
+ #include <X11/Xos.h> /* for R4 compatibility */
59
+ #else
60
+ #include <X11/Xosdefs.h>
61
+ #include <string.h> /* for XtNewString */
62
+ #endif /* XT_BC else */
63
+
64
+ #define XtSpecificationRelease 7
65
+
66
+ /*
67
+ * As used in its function interface, the String type of libXt can be readonly.
68
+ * But compiling libXt with this feature may require some internal changes,
69
+ * e.g., casts and occasionally using a plain "char*".
70
+ */
71
+ #ifdef _CONST_X_STRING
72
+ typedef const char *String;
73
+ #else
74
+ typedef char *String;
75
+ #endif
76
+
77
+ /* We do this in order to get "const" declarations to work right. We
78
+ * use _XtString instead of String so that C++ applications can
79
+ * #define String to something else if they choose, to avoid conflicts
80
+ * with other C++ libraries.
81
+ */
82
+ #define _XtString char*
83
+
84
+ /* _Xt names are private to Xt implementation, do not use in client code */
85
+ #if NeedWidePrototypes
86
+ #define _XtBoolean int
87
+ #define _XtDimension unsigned int
88
+ #define _XtKeyCode unsigned int
89
+ #define _XtPosition int
90
+ #define _XtXtEnum unsigned int
91
+ #else
92
+ #define _XtBoolean Boolean
93
+ #define _XtDimension Dimension
94
+ #define _XtKeyCode KeyCode
95
+ #define _XtPosition Position
96
+ #define _XtXtEnum XtEnum
97
+ #endif /* NeedWidePrototypes */
98
+
99
+ #include <stddef.h>
100
+
101
+ #define externalref extern
102
+ #define externaldef(psect)
103
+
104
+ #ifndef FALSE
105
+ #define FALSE 0
106
+ #define TRUE 1
107
+ #endif
108
+
109
+ #if __STDC_VERSION__ >= 199901L
110
+ #include <stdint.h>
111
+ typedef intptr_t XtIntPtr;
112
+ typedef uintptr_t XtUIntPtr;
113
+ #else
114
+ typedef long XtIntPtr;
115
+ typedef unsigned long XtUIntPtr;
116
+ #endif
117
+
118
+ #define XtNumber(arr) ((Cardinal) (sizeof(arr) / sizeof(arr[0])))
119
+
120
+ typedef struct _WidgetRec *Widget;
121
+ typedef Widget *WidgetList;
122
+ typedef struct _WidgetClassRec *WidgetClass;
123
+ typedef struct _CompositeRec *CompositeWidget;
124
+ typedef struct _XtActionsRec *XtActionList;
125
+ typedef struct _XtEventRec *XtEventTable;
126
+
127
+ typedef struct _XtAppStruct *XtAppContext;
128
+ typedef unsigned long XtValueMask;
129
+ typedef XtUIntPtr XtIntervalId;
130
+ typedef XtUIntPtr XtInputId;
131
+ typedef XtUIntPtr XtWorkProcId;
132
+ typedef XtUIntPtr XtSignalId;
133
+ typedef unsigned int XtGeometryMask;
134
+ typedef unsigned long XtGCMask; /* Mask of values that are used by widget*/
135
+ typedef unsigned long Pixel; /* Index into colormap */
136
+ typedef int XtCacheType;
137
+ #define XtCacheNone 0x001
138
+ #define XtCacheAll 0x002
139
+ #define XtCacheByDisplay 0x003
140
+ #define XtCacheRefCount 0x100
141
+
142
+ /****************************************************************
143
+ *
144
+ * System Dependent Definitions; see spec for specific range
145
+ * requirements. Do not assume every implementation uses the
146
+ * same base types!
147
+ *
148
+ *
149
+ * XtArgVal ought to be a union of XtPointer, char *, long, int *, and proc *
150
+ * but casting to union types is not really supported.
151
+ *
152
+ * So the typedef for XtArgVal should be chosen such that
153
+ *
154
+ * sizeof (XtArgVal) >= sizeof(XtPointer)
155
+ * sizeof(char *)
156
+ * sizeof(long)
157
+ * sizeof(int *)
158
+ * sizeof(proc *)
159
+ *
160
+ * ArgLists rely heavily on the above typedef.
161
+ *
162
+ ****************************************************************/
163
+ typedef char Boolean;
164
+ typedef XtIntPtr XtArgVal;
165
+ typedef unsigned char XtEnum;
166
+
167
+ typedef unsigned int Cardinal;
168
+ typedef unsigned short Dimension; /* Size in pixels */
169
+ typedef short Position; /* Offset from 0 coordinate */
170
+
171
+ typedef void* XtPointer;
172
+ #if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
173
+ _Static_assert(sizeof(XtArgVal) >= sizeof(XtPointer), "XtArgVal too small");
174
+ _Static_assert(sizeof(XtArgVal) >= sizeof(long), "XtArgVal too small");
175
+ #endif
176
+
177
+
178
+ /* The type Opaque is NOT part of the Xt standard, do NOT use it. */
179
+ /* (It remains here only for backward compatibility.) */
180
+ typedef XtPointer Opaque;
181
+
182
+ #include <X11/Core.h>
183
+ #include <X11/Composite.h>
184
+ #include <X11/Constraint.h>
185
+ #include <X11/Object.h>
186
+ #include <X11/RectObj.h>
187
+
188
+ typedef struct _TranslationData *XtTranslations;
189
+ typedef struct _TranslationData *XtAccelerators;
190
+ typedef unsigned int Modifiers;
191
+
192
+ typedef void (*XtActionProc)(
193
+ Widget /* widget */,
194
+ XEvent* /* event */,
195
+ String* /* params */,
196
+ Cardinal* /* num_params */
197
+ );
198
+
199
+ typedef XtActionProc* XtBoundActions;
200
+
201
+ typedef struct _XtActionsRec{
202
+ String string;
203
+ XtActionProc proc;
204
+ } XtActionsRec;
205
+
206
+ typedef enum {
207
+ /* address mode parameter representation */
208
+ /* ------------ ------------------------ */
209
+ XtAddress, /* address */
210
+ XtBaseOffset, /* offset */
211
+ XtImmediate, /* constant */
212
+ XtResourceString, /* resource name string */
213
+ XtResourceQuark, /* resource name quark */
214
+ XtWidgetBaseOffset, /* offset from ancestor */
215
+ XtProcedureArg /* procedure to invoke */
216
+ } XtAddressMode;
217
+
218
+ typedef struct {
219
+ XtAddressMode address_mode;
220
+ XtPointer address_id;
221
+ Cardinal size;
222
+ } XtConvertArgRec, *XtConvertArgList;
223
+
224
+ typedef void (*XtConvertArgProc)(
225
+ Widget /* widget */,
226
+ Cardinal* /* size */,
227
+ XrmValue* /* value */
228
+ );
229
+
230
+ typedef struct {
231
+ XtGeometryMask request_mode;
232
+ Position x, y;
233
+ Dimension width, height, border_width;
234
+ Widget sibling;
235
+ int stack_mode; /* Above, Below, TopIf, BottomIf, Opposite, DontChange */
236
+ } XtWidgetGeometry;
237
+
238
+ /* Additions to Xlib geometry requests: ask what would happen, don't do it */
239
+ #define XtCWQueryOnly (1 << 7)
240
+
241
+ /* Additions to Xlib stack modes: don't change stack order */
242
+ #define XtSMDontChange 5
243
+
244
+ typedef void (*XtConverter)( /* obsolete */
245
+ XrmValue* /* args */,
246
+ Cardinal* /* num_args */,
247
+ XrmValue* /* from */,
248
+ XrmValue* /* to */
249
+ );
250
+
251
+ typedef Boolean (*XtTypeConverter)(
252
+ Display* /* dpy */,
253
+ XrmValue* /* args */,
254
+ Cardinal* /* num_args */,
255
+ XrmValue* /* from */,
256
+ XrmValue* /* to */,
257
+ XtPointer* /* converter_data */
258
+ );
259
+
260
+ typedef void (*XtDestructor)(
261
+ XtAppContext /* app */,
262
+ XrmValue* /* to */,
263
+ XtPointer /* converter_data */,
264
+ XrmValue* /* args */,
265
+ Cardinal* /* num_args */
266
+ );
267
+
268
+ typedef Opaque XtCacheRef;
269
+
270
+ typedef Opaque XtActionHookId;
271
+
272
+ typedef void (*XtActionHookProc)(
273
+ Widget /* w */,
274
+ XtPointer /* client_data */,
275
+ String /* action_name */,
276
+ XEvent* /* event */,
277
+ String* /* params */,
278
+ Cardinal* /* num_params */
279
+ );
280
+
281
+ typedef XtUIntPtr XtBlockHookId;
282
+
283
+ typedef void (*XtBlockHookProc)(
284
+ XtPointer /* client_data */
285
+ );
286
+
287
+ typedef void (*XtKeyProc)(
288
+ Display* /* dpy */,
289
+ _XtKeyCode /* keycode */,
290
+ Modifiers /* modifiers */,
291
+ Modifiers* /* modifiers_return */,
292
+ KeySym* /* keysym_return */
293
+ );
294
+
295
+ typedef void (*XtCaseProc)(
296
+ Display* /* display */,
297
+ KeySym /* keysym */,
298
+ KeySym* /* lower_return */,
299
+ KeySym* /* upper_return */
300
+ );
301
+
302
+ typedef void (*XtEventHandler)(
303
+ Widget /* widget */,
304
+ XtPointer /* closure */,
305
+ XEvent* /* event */,
306
+ Boolean* /* continue_to_dispatch */
307
+ );
308
+ typedef unsigned long EventMask;
309
+
310
+ typedef enum {XtListHead, XtListTail } XtListPosition;
311
+
312
+ typedef unsigned long XtInputMask;
313
+ #define XtInputNoneMask 0L
314
+ #define XtInputReadMask (1L<<0)
315
+ #define XtInputWriteMask (1L<<1)
316
+ #define XtInputExceptMask (1L<<2)
317
+
318
+ typedef void (*XtTimerCallbackProc)(
319
+ XtPointer /* closure */,
320
+ XtIntervalId* /* id */
321
+ );
322
+
323
+ typedef void (*XtInputCallbackProc)(
324
+ XtPointer /* closure */,
325
+ int* /* source */,
326
+ XtInputId* /* id */
327
+ );
328
+
329
+ typedef void (*XtSignalCallbackProc)(
330
+ XtPointer /* closure */,
331
+ XtSignalId* /* id */
332
+ );
333
+
334
+ typedef struct {
335
+ String name;
336
+ XtArgVal value;
337
+ } Arg, *ArgList;
338
+
339
+ typedef XtPointer XtVarArgsList;
340
+
341
+ typedef void (*XtCallbackProc)(
342
+ Widget /* widget */,
343
+ XtPointer /* closure */, /* data the application registered */
344
+ XtPointer /* call_data */ /* callback specific data */
345
+ );
346
+
347
+ typedef struct _XtCallbackRec {
348
+ XtCallbackProc callback;
349
+ XtPointer closure;
350
+ } XtCallbackRec, *XtCallbackList;
351
+
352
+ typedef enum {
353
+ XtCallbackNoList,
354
+ XtCallbackHasNone,
355
+ XtCallbackHasSome
356
+ } XtCallbackStatus;
357
+
358
+ typedef enum {
359
+ XtGeometryYes, /* Request accepted. */
360
+ XtGeometryNo, /* Request denied. */
361
+ XtGeometryAlmost, /* Request denied, but willing to take replyBox. */
362
+ XtGeometryDone /* Request accepted and done. */
363
+ } XtGeometryResult;
364
+
365
+ typedef enum {XtGrabNone, XtGrabNonexclusive, XtGrabExclusive} XtGrabKind;
366
+
367
+ typedef struct {
368
+ Widget shell_widget;
369
+ Widget enable_widget;
370
+ } XtPopdownIDRec, *XtPopdownID;
371
+
372
+ typedef struct _XtResource {
373
+ String resource_name; /* Resource name */
374
+ String resource_class; /* Resource class */
375
+ String resource_type; /* Representation type desired */
376
+ Cardinal resource_size; /* Size in bytes of representation */
377
+ Cardinal resource_offset;/* Offset from base to put resource value */
378
+ String default_type; /* representation type of specified default */
379
+ XtPointer default_addr; /* Address of default resource */
380
+ } XtResource, *XtResourceList;
381
+
382
+ typedef void (*XtResourceDefaultProc)(
383
+ Widget /* widget */,
384
+ int /* offset */,
385
+ XrmValue* /* value */
386
+ );
387
+
388
+ typedef String (*XtLanguageProc)(
389
+ Display* /* dpy */,
390
+ String /* xnl */,
391
+ XtPointer /* client_data */
392
+ );
393
+
394
+ typedef void (*XtErrorMsgHandler)(
395
+ String /* name */,
396
+ String /* type */,
397
+ String /* class */,
398
+ String /* default */,
399
+ String* /* params */,
400
+ Cardinal* /* num_params */
401
+ );
402
+
403
+ typedef void (*XtErrorHandler)(
404
+ String /* msg */
405
+ );
406
+
407
+ typedef void (*XtCreatePopupChildProc)(
408
+ Widget /* shell */
409
+ );
410
+
411
+ typedef Boolean (*XtWorkProc)(
412
+ XtPointer /* closure */ /* data the application registered */
413
+ );
414
+
415
+ typedef struct {
416
+ char match;
417
+ _XtString substitution;
418
+ } SubstitutionRec, *Substitution;
419
+
420
+ typedef Boolean (*XtFilePredicate)(
421
+ String /* filename */
422
+ );
423
+
424
+ typedef XtPointer XtRequestId;
425
+
426
+ typedef Boolean (*XtConvertSelectionProc)(
427
+ Widget /* widget */,
428
+ Atom* /* selection */,
429
+ Atom* /* target */,
430
+ Atom* /* type_return */,
431
+ XtPointer* /* value_return */,
432
+ unsigned long* /* length_return */,
433
+ int* /* format_return */
434
+ );
435
+
436
+ typedef void (*XtLoseSelectionProc)(
437
+ Widget /* widget */,
438
+ Atom* /* selection */
439
+ );
440
+
441
+ typedef void (*XtSelectionDoneProc)(
442
+ Widget /* widget */,
443
+ Atom* /* selection */,
444
+ Atom* /* target */
445
+ );
446
+
447
+ typedef void (*XtSelectionCallbackProc)(
448
+ Widget /* widget */,
449
+ XtPointer /* closure */,
450
+ Atom* /* selection */,
451
+ Atom* /* type */,
452
+ XtPointer /* value */,
453
+ unsigned long* /* length */,
454
+ int* /* format */
455
+ );
456
+
457
+ typedef void (*XtLoseSelectionIncrProc)(
458
+ Widget /* widget */,
459
+ Atom* /* selection */,
460
+ XtPointer /* client_data */
461
+ );
462
+
463
+ typedef void (*XtSelectionDoneIncrProc)(
464
+ Widget /* widget */,
465
+ Atom* /* selection */,
466
+ Atom* /* target */,
467
+ XtRequestId* /* receiver_id */,
468
+ XtPointer /* client_data */
469
+ );
470
+
471
+ typedef Boolean (*XtConvertSelectionIncrProc)(
472
+ Widget /* widget */,
473
+ Atom* /* selection */,
474
+ Atom* /* target */,
475
+ Atom* /* type */,
476
+ XtPointer* /* value */,
477
+ unsigned long* /* length */,
478
+ int* /* format */,
479
+ unsigned long* /* max_length */,
480
+ XtPointer /* client_data */,
481
+ XtRequestId* /* receiver_id */
482
+ );
483
+
484
+ typedef void (*XtCancelConvertSelectionProc)(
485
+ Widget /* widget */,
486
+ Atom* /* selection */,
487
+ Atom* /* target */,
488
+ XtRequestId* /* receiver_id */,
489
+ XtPointer /* client_data */
490
+ );
491
+
492
+ typedef Boolean (*XtEventDispatchProc)(
493
+ XEvent* /* event */
494
+ );
495
+
496
+ typedef void (*XtExtensionSelectProc)(
497
+ Widget /* widget */,
498
+ int* /* event_types */,
499
+ XtPointer* /* select_data */,
500
+ int /* count */,
501
+ XtPointer /* client_data */
502
+ );
503
+
504
+ /***************************************************************
505
+ *
506
+ * Exported Interfaces
507
+ *
508
+ ****************************************************************/
509
+
510
+ _XFUNCPROTOBEGIN
511
+
512
+ extern Boolean XtConvertAndStore(
513
+ Widget /* widget */,
514
+ _Xconst _XtString /* from_type */,
515
+ XrmValue* /* from */,
516
+ _Xconst _XtString /* to_type */,
517
+ XrmValue* /* to_in_out */
518
+ );
519
+
520
+ extern Boolean XtCallConverter(
521
+ Display* /* dpy */,
522
+ XtTypeConverter /* converter */,
523
+ XrmValuePtr /* args */,
524
+ Cardinal /* num_args */,
525
+ XrmValuePtr /* from */,
526
+ XrmValue* /* to_in_out */,
527
+ XtCacheRef* /* cache_ref_return */
528
+ );
529
+
530
+ extern Boolean XtDispatchEvent(
531
+ XEvent* /* event */
532
+ );
533
+
534
+ extern Boolean XtCallAcceptFocus(
535
+ Widget /* widget */,
536
+ Time* /* time */
537
+ );
538
+
539
+ extern Boolean XtPeekEvent( /* obsolete */
540
+ XEvent* /* event_return */
541
+ );
542
+
543
+ extern Boolean XtAppPeekEvent(
544
+ XtAppContext /* app_context */,
545
+ XEvent* /* event_return */
546
+ );
547
+
548
+ extern Boolean XtIsSubclass(
549
+ Widget /* widget */,
550
+ WidgetClass /* widgetClass */
551
+ );
552
+
553
+ extern Boolean XtIsObject(
554
+ Widget /* object */
555
+ );
556
+
557
+ extern Boolean _XtCheckSubclassFlag( /* implementation-private */
558
+ Widget /* object */,
559
+ _XtXtEnum /* type_flag */
560
+ );
561
+
562
+ extern Boolean _XtIsSubclassOf( /* implementation-private */
563
+ Widget /* object */,
564
+ WidgetClass /* widget_class */,
565
+ WidgetClass /* flag_class */,
566
+ _XtXtEnum /* type_flag */
567
+ );
568
+
569
+ extern Boolean XtIsManaged(
570
+ Widget /* rectobj */
571
+ );
572
+
573
+ extern Boolean XtIsRealized(
574
+ Widget /* widget */
575
+ );
576
+
577
+ extern Boolean XtIsSensitive(
578
+ Widget /* widget */
579
+ );
580
+
581
+ extern Boolean XtOwnSelection(
582
+ Widget /* widget */,
583
+ Atom /* selection */,
584
+ Time /* time */,
585
+ XtConvertSelectionProc /* convert */,
586
+ XtLoseSelectionProc /* lose */,
587
+ XtSelectionDoneProc /* done */
588
+ );
589
+
590
+ extern Boolean XtOwnSelectionIncremental(
591
+ Widget /* widget */,
592
+ Atom /* selection */,
593
+ Time /* time */,
594
+ XtConvertSelectionIncrProc /* convert_callback */,
595
+ XtLoseSelectionIncrProc /* lose_callback */,
596
+ XtSelectionDoneIncrProc /* done_callback */,
597
+ XtCancelConvertSelectionProc /* cancel_callback */,
598
+ XtPointer /* client_data */
599
+ );
600
+
601
+ extern XtGeometryResult XtMakeResizeRequest(
602
+ Widget /* widget */,
603
+ _XtDimension /* width */,
604
+ _XtDimension /* height */,
605
+ Dimension* /* width_return */,
606
+ Dimension* /* height_return */
607
+ );
608
+
609
+ extern void XtTranslateCoords(
610
+ Widget /* widget */,
611
+ _XtPosition /* x */,
612
+ _XtPosition /* y */,
613
+ Position* /* rootx_return */,
614
+ Position* /* rooty_return */
615
+ );
616
+
617
+ extern KeySym* XtGetKeysymTable(
618
+ Display* /* dpy */,
619
+ KeyCode* /* min_keycode_return */,
620
+ int* /* keysyms_per_keycode_return */
621
+ );
622
+
623
+ extern void XtKeysymToKeycodeList(
624
+ Display* /* dpy */,
625
+ KeySym /* keysym */,
626
+ KeyCode** /* keycodes_return */,
627
+ Cardinal* /* keycount_return */
628
+ );
629
+
630
+ extern void XtStringConversionWarning( /* obsolete */
631
+ _Xconst _XtString /* from_value */,
632
+ _Xconst _XtString /* to_type */
633
+ );
634
+
635
+ extern void XtDisplayStringConversionWarning(
636
+ Display* /* dpy */,
637
+ _Xconst _XtString /* from_value */,
638
+ _Xconst _XtString /* to_type */
639
+ );
640
+
641
+ externalref XtConvertArgRec const colorConvertArgs[];
642
+ externalref XtConvertArgRec const screenConvertArg[];
643
+
644
+ extern void XtAppAddConverter( /* obsolete */
645
+ XtAppContext /* app_context */,
646
+ _Xconst _XtString /* from_type */,
647
+ _Xconst _XtString /* to_type */,
648
+ XtConverter /* converter */,
649
+ XtConvertArgList /* convert_args */,
650
+ Cardinal /* num_args */
651
+ );
652
+
653
+ extern void XtAddConverter( /* obsolete */
654
+ _Xconst _XtString /* from_type */,
655
+ _Xconst _XtString /* to_type */,
656
+ XtConverter /* converter */,
657
+ XtConvertArgList /* convert_args */,
658
+ Cardinal /* num_args */
659
+ );
660
+
661
+ extern void XtSetTypeConverter(
662
+ _Xconst _XtString /* from_type */,
663
+ _Xconst _XtString /* to_type */,
664
+ XtTypeConverter /* converter */,
665
+ XtConvertArgList /* convert_args */,
666
+ Cardinal /* num_args */,
667
+ XtCacheType /* cache_type */,
668
+ XtDestructor /* destructor */
669
+ );
670
+
671
+ extern void XtAppSetTypeConverter(
672
+ XtAppContext /* app_context */,
673
+ _Xconst _XtString /* from_type */,
674
+ _Xconst _XtString /* to_type */,
675
+ XtTypeConverter /* converter */,
676
+ XtConvertArgList /* convert_args */,
677
+ Cardinal /* num_args */,
678
+ XtCacheType /* cache_type */,
679
+ XtDestructor /* destructor */
680
+ );
681
+
682
+ extern void XtConvert( /* obsolete */
683
+ Widget /* widget */,
684
+ _Xconst _XtString /* from_type */,
685
+ XrmValue* /* from */,
686
+ _Xconst _XtString /* to_type */,
687
+ XrmValue* /* to_return */
688
+ );
689
+
690
+ extern void XtDirectConvert( /* obsolete */
691
+ XtConverter /* converter */,
692
+ XrmValuePtr /* args */,
693
+ Cardinal /* num_args */,
694
+ XrmValuePtr /* from */,
695
+ XrmValue* /* to_return */
696
+ );
697
+
698
+ /****************************************************************
699
+ *
700
+ * Translation Management
701
+ *
702
+ ****************************************************************/
703
+
704
+ extern XtTranslations XtParseTranslationTable(
705
+ _Xconst _XtString /* table */
706
+ );
707
+
708
+ extern XtAccelerators XtParseAcceleratorTable(
709
+ _Xconst _XtString /* source */
710
+ );
711
+
712
+ extern void XtOverrideTranslations(
713
+ Widget /* widget */,
714
+ XtTranslations /* translations */
715
+ );
716
+
717
+ extern void XtAugmentTranslations(
718
+ Widget /* widget */,
719
+ XtTranslations /* translations */
720
+ );
721
+
722
+ extern void XtInstallAccelerators(
723
+ Widget /* destination */,
724
+ Widget /* source */
725
+ );
726
+
727
+ extern void XtInstallAllAccelerators(
728
+ Widget /* destination */,
729
+ Widget /* source */
730
+ );
731
+
732
+ extern void XtUninstallTranslations(
733
+ Widget /* widget */
734
+ );
735
+
736
+ extern void XtAppAddActions(
737
+ XtAppContext /* app_context */,
738
+ XtActionList /* actions */,
739
+ Cardinal /* num_actions */
740
+ );
741
+
742
+ extern void XtAddActions( /* obsolete */
743
+ XtActionList /* actions */,
744
+ Cardinal /* num_actions */
745
+ );
746
+
747
+ extern XtActionHookId XtAppAddActionHook(
748
+ XtAppContext /* app_context */,
749
+ XtActionHookProc /* proc */,
750
+ XtPointer /* client_data */
751
+ );
752
+
753
+ extern void XtRemoveActionHook(
754
+ XtActionHookId /* id */
755
+ );
756
+
757
+ extern void XtGetActionList(
758
+ WidgetClass /* widget_class */,
759
+ XtActionList* /* actions_return */,
760
+ Cardinal* /* num_actions_return */
761
+ );
762
+
763
+ extern void XtCallActionProc(
764
+ Widget /* widget */,
765
+ _Xconst _XtString /* action */,
766
+ XEvent* /* event */,
767
+ String* /* params */,
768
+ Cardinal /* num_params */
769
+ );
770
+
771
+ extern void XtRegisterGrabAction(
772
+ XtActionProc /* action_proc */,
773
+ _XtBoolean /* owner_events */,
774
+ unsigned int /* event_mask */,
775
+ int /* pointer_mode */,
776
+ int /* keyboard_mode */
777
+ );
778
+
779
+ extern void XtSetMultiClickTime(
780
+ Display* /* dpy */,
781
+ int /* milliseconds */
782
+ );
783
+
784
+ extern int XtGetMultiClickTime(
785
+ Display* /* dpy */
786
+ );
787
+
788
+ extern KeySym XtGetActionKeysym(
789
+ XEvent* /* event */,
790
+ Modifiers* /* modifiers_return */
791
+ );
792
+
793
+ /***************************************************************
794
+ *
795
+ * Keycode and Keysym procedures for translation management
796
+ *
797
+ ****************************************************************/
798
+
799
+ extern void XtTranslateKeycode(
800
+ Display* /* dpy */,
801
+ _XtKeyCode /* keycode */,
802
+ Modifiers /* modifiers */,
803
+ Modifiers* /* modifiers_return */,
804
+ KeySym* /* keysym_return */
805
+ );
806
+
807
+ extern void XtTranslateKey(
808
+ Display* /* dpy */,
809
+ _XtKeyCode /* keycode */,
810
+ Modifiers /* modifiers */,
811
+ Modifiers* /* modifiers_return */,
812
+ KeySym* /* keysym_return */
813
+ );
814
+
815
+ extern void XtSetKeyTranslator(
816
+ Display* /* dpy */,
817
+ XtKeyProc /* proc */
818
+ );
819
+
820
+ extern void XtRegisterCaseConverter(
821
+ Display* /* dpy */,
822
+ XtCaseProc /* proc */,
823
+ KeySym /* start */,
824
+ KeySym /* stop */
825
+ );
826
+
827
+ extern void XtConvertCase(
828
+ Display* /* dpy */,
829
+ KeySym /* keysym */,
830
+ KeySym* /* lower_return */,
831
+ KeySym* /* upper_return */
832
+ );
833
+
834
+ /****************************************************************
835
+ *
836
+ * Event Management
837
+ *
838
+ ****************************************************************/
839
+
840
+ /* XtAllEvents is valid only for XtRemoveEventHandler and
841
+ * XtRemoveRawEventHandler; don't use it to select events!
842
+ */
843
+ #define XtAllEvents ((EventMask) -1L)
844
+
845
+ extern void XtAddEventHandler(
846
+ Widget /* widget */,
847
+ EventMask /* event_mask */,
848
+ _XtBoolean /* nonmaskable */,
849
+ XtEventHandler /* proc */,
850
+ XtPointer /* closure */
851
+ );
852
+
853
+ extern void XtRemoveEventHandler(
854
+ Widget /* widget */,
855
+ EventMask /* event_mask */,
856
+ _XtBoolean /* nonmaskable */,
857
+ XtEventHandler /* proc */,
858
+ XtPointer /* closure */
859
+ );
860
+
861
+ extern void XtAddRawEventHandler(
862
+ Widget /* widget */,
863
+ EventMask /* event_mask */,
864
+ _XtBoolean /* nonmaskable */,
865
+ XtEventHandler /* proc */,
866
+ XtPointer /* closure */
867
+ );
868
+
869
+ extern void XtRemoveRawEventHandler(
870
+ Widget /* widget */,
871
+ EventMask /* event_mask */,
872
+ _XtBoolean /* nonmaskable */,
873
+ XtEventHandler /* proc */,
874
+ XtPointer /* closure */
875
+ );
876
+
877
+ extern void XtInsertEventHandler(
878
+ Widget /* widget */,
879
+ EventMask /* event_mask */,
880
+ _XtBoolean /* nonmaskable */,
881
+ XtEventHandler /* proc */,
882
+ XtPointer /* closure */,
883
+ XtListPosition /* position */
884
+ );
885
+
886
+ extern void XtInsertRawEventHandler(
887
+ Widget /* widget */,
888
+ EventMask /* event_mask */,
889
+ _XtBoolean /* nonmaskable */,
890
+ XtEventHandler /* proc */,
891
+ XtPointer /* closure */,
892
+ XtListPosition /* position */
893
+ );
894
+
895
+ extern XtEventDispatchProc XtSetEventDispatcher(
896
+ Display* /* dpy */,
897
+ int /* event_type */,
898
+ XtEventDispatchProc /* proc */
899
+ );
900
+
901
+ extern Boolean XtDispatchEventToWidget(
902
+ Widget /* widget */,
903
+ XEvent* /* event */
904
+ );
905
+
906
+ extern void XtInsertEventTypeHandler(
907
+ Widget /* widget */,
908
+ int /* type */,
909
+ XtPointer /* select_data */,
910
+ XtEventHandler /* proc */,
911
+ XtPointer /* closure */,
912
+ XtListPosition /* position */
913
+ );
914
+
915
+ extern void XtRemoveEventTypeHandler(
916
+ Widget /* widget */,
917
+ int /* type */,
918
+ XtPointer /* select_data */,
919
+ XtEventHandler /* proc */,
920
+ XtPointer /* closure */
921
+ );
922
+
923
+ extern EventMask XtBuildEventMask(
924
+ Widget /* widget */
925
+ );
926
+
927
+ extern void XtRegisterExtensionSelector(
928
+ Display* /* dpy */,
929
+ int /* min_event_type */,
930
+ int /* max_event_type */,
931
+ XtExtensionSelectProc /* proc */,
932
+ XtPointer /* client_data */
933
+ );
934
+
935
+ extern void XtAddGrab(
936
+ Widget /* widget */,
937
+ _XtBoolean /* exclusive */,
938
+ _XtBoolean /* spring_loaded */
939
+ );
940
+
941
+ extern void XtRemoveGrab(
942
+ Widget /* widget */
943
+ );
944
+
945
+ extern void XtProcessEvent( /* obsolete */
946
+ XtInputMask /* mask */
947
+ );
948
+
949
+ extern void XtAppProcessEvent(
950
+ XtAppContext /* app_context */,
951
+ XtInputMask /* mask */
952
+ );
953
+
954
+ extern void XtMainLoop( /* obsolete */
955
+ void
956
+ );
957
+
958
+ extern void XtAppMainLoop(
959
+ XtAppContext /* app_context */
960
+ );
961
+
962
+ extern void XtAddExposureToRegion(
963
+ XEvent* /* event */,
964
+ Region /* region */
965
+ );
966
+
967
+ extern void XtSetKeyboardFocus(
968
+ Widget /* subtree */,
969
+ Widget /* descendent */
970
+ );
971
+
972
+ extern Widget XtGetKeyboardFocusWidget(
973
+ Widget /* widget */
974
+ );
975
+
976
+ extern XEvent* XtLastEventProcessed(
977
+ Display* /* dpy */
978
+ );
979
+
980
+ extern Time XtLastTimestampProcessed(
981
+ Display* /* dpy */
982
+ );
983
+
984
+ /****************************************************************
985
+ *
986
+ * Event Gathering Routines
987
+ *
988
+ ****************************************************************/
989
+
990
+ extern XtIntervalId XtAddTimeOut( /* obsolete */
991
+ unsigned long /* interval */,
992
+ XtTimerCallbackProc /* proc */,
993
+ XtPointer /* closure */
994
+ );
995
+
996
+ extern XtIntervalId XtAppAddTimeOut(
997
+ XtAppContext /* app_context */,
998
+ unsigned long /* interval */,
999
+ XtTimerCallbackProc /* proc */,
1000
+ XtPointer /* closure */
1001
+ );
1002
+
1003
+ extern void XtRemoveTimeOut(
1004
+ XtIntervalId /* timer */
1005
+ );
1006
+
1007
+ extern XtInputId XtAddInput( /* obsolete */
1008
+ int /* source */,
1009
+ XtPointer /* condition */,
1010
+ XtInputCallbackProc /* proc */,
1011
+ XtPointer /* closure */
1012
+ );
1013
+
1014
+ extern XtInputId XtAppAddInput(
1015
+ XtAppContext /* app_context */,
1016
+ int /* source */,
1017
+ XtPointer /* condition */,
1018
+ XtInputCallbackProc /* proc */,
1019
+ XtPointer /* closure */
1020
+ );
1021
+
1022
+ extern void XtRemoveInput(
1023
+ XtInputId /* id */
1024
+ );
1025
+
1026
+ extern XtSignalId XtAddSignal(
1027
+ XtSignalCallbackProc /* proc */,
1028
+ XtPointer /* closure */);
1029
+
1030
+ extern XtSignalId XtAppAddSignal(
1031
+ XtAppContext /* app_context */,
1032
+ XtSignalCallbackProc /* proc */,
1033
+ XtPointer /* closure */
1034
+ );
1035
+
1036
+ extern void XtRemoveSignal(
1037
+ XtSignalId /* id */
1038
+ );
1039
+
1040
+ extern void XtNoticeSignal(
1041
+ XtSignalId /* id */
1042
+ );
1043
+
1044
+ extern void XtNextEvent( /* obsolete */
1045
+ XEvent* /* event */
1046
+ );
1047
+
1048
+ extern void XtAppNextEvent(
1049
+ XtAppContext /* app_context */,
1050
+ XEvent* /* event_return */
1051
+ );
1052
+
1053
+ #define XtIMXEvent 1
1054
+ #define XtIMTimer 2
1055
+ #define XtIMAlternateInput 4
1056
+ #define XtIMSignal 8
1057
+ #define XtIMAll (XtIMXEvent | XtIMTimer | XtIMAlternateInput | XtIMSignal)
1058
+
1059
+ extern Boolean XtPending( /* obsolete */
1060
+ void
1061
+ );
1062
+
1063
+ extern XtInputMask XtAppPending(
1064
+ XtAppContext /* app_context */
1065
+ );
1066
+
1067
+ extern XtBlockHookId XtAppAddBlockHook(
1068
+ XtAppContext /* app_context */,
1069
+ XtBlockHookProc /* proc */,
1070
+ XtPointer /* client_data */
1071
+ );
1072
+
1073
+ extern void XtRemoveBlockHook(
1074
+ XtBlockHookId /* id */
1075
+ );
1076
+
1077
+ /****************************************************************
1078
+ *
1079
+ * Random utility routines
1080
+ *
1081
+ ****************************************************************/
1082
+
1083
+ #define XtIsRectObj(object) (_XtCheckSubclassFlag(object, (XtEnum)0x02))
1084
+ #define XtIsWidget(object) (_XtCheckSubclassFlag(object, (XtEnum)0x04))
1085
+ #define XtIsComposite(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x08))
1086
+ #define XtIsConstraint(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x10))
1087
+ #define XtIsShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x20))
1088
+
1089
+ #undef XtIsOverrideShell
1090
+ extern Boolean XtIsOverrideShell(Widget /* object */);
1091
+ #define XtIsOverrideShell(widget) \
1092
+ (_XtIsSubclassOf(widget, (WidgetClass)overrideShellWidgetClass, \
1093
+ (WidgetClass)shellWidgetClass, (XtEnum)0x20))
1094
+
1095
+ #define XtIsWMShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x40))
1096
+
1097
+ #undef XtIsVendorShell
1098
+ extern Boolean XtIsVendorShell(Widget /* object */);
1099
+ #define XtIsVendorShell(widget) \
1100
+ (_XtIsSubclassOf(widget, (WidgetClass)vendorShellWidgetClass, \
1101
+ (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))
1102
+
1103
+ #undef XtIsTransientShell
1104
+ extern Boolean XtIsTransientShell(Widget /* object */);
1105
+ #define XtIsTransientShell(widget) \
1106
+ (_XtIsSubclassOf(widget, (WidgetClass)transientShellWidgetClass, \
1107
+ (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))
1108
+ #define XtIsTopLevelShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x80))
1109
+
1110
+ #undef XtIsApplicationShell
1111
+ extern Boolean XtIsApplicationShell(Widget /* object */);
1112
+ #define XtIsApplicationShell(widget) \
1113
+ (_XtIsSubclassOf(widget, (WidgetClass)applicationShellWidgetClass, \
1114
+ (WidgetClass)topLevelShellWidgetClass, (XtEnum)0x80))
1115
+
1116
+ #undef XtIsSessionShell
1117
+ extern Boolean XtIsSessionShell(Widget /* object */);
1118
+ #define XtIsSessionShell(widget) \
1119
+ (_XtIsSubclassOf(widget, (WidgetClass)sessionShellWidgetClass, \
1120
+ (WidgetClass)topLevelShellWidgetClass, (XtEnum)0x80))
1121
+
1122
+ extern void XtRealizeWidget(
1123
+ Widget /* widget */
1124
+ );
1125
+
1126
+ void XtUnrealizeWidget(
1127
+ Widget /* widget */
1128
+ );
1129
+
1130
+ extern void XtDestroyWidget(
1131
+ Widget /* widget */
1132
+ );
1133
+
1134
+ extern void XtSetSensitive(
1135
+ Widget /* widget */,
1136
+ _XtBoolean /* sensitive */
1137
+ );
1138
+
1139
+ extern void XtSetMappedWhenManaged(
1140
+ Widget /* widget */,
1141
+ _XtBoolean /* mapped_when_managed */
1142
+ );
1143
+
1144
+ extern Widget XtNameToWidget(
1145
+ Widget /* reference */,
1146
+ _Xconst _XtString /* names */
1147
+ );
1148
+
1149
+ extern Widget XtWindowToWidget(
1150
+ Display* /* display */,
1151
+ Window /* window */
1152
+ );
1153
+
1154
+ extern XtPointer XtGetClassExtension(
1155
+ WidgetClass /* object_class */,
1156
+ Cardinal /* byte_offset */,
1157
+ XrmQuark /* type */,
1158
+ long /* version */,
1159
+ Cardinal /* record_size */
1160
+ );
1161
+
1162
+ /***************************************************************
1163
+ *
1164
+ * Arg lists
1165
+ *
1166
+ ****************************************************************/
1167
+
1168
+
1169
+ #define XtSetArg(arg, n, d) \
1170
+ ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) ))
1171
+
1172
+ extern ArgList XtMergeArgLists(
1173
+ ArgList /* args1 */,
1174
+ Cardinal /* num_args1 */,
1175
+ ArgList /* args2 */,
1176
+ Cardinal /* num_args2 */
1177
+ );
1178
+
1179
+ /***************************************************************
1180
+ *
1181
+ * Vararg lists
1182
+ *
1183
+ ****************************************************************/
1184
+
1185
+ #define XtVaNestedList "XtVaNestedList"
1186
+ #define XtVaTypedArg "XtVaTypedArg"
1187
+
1188
+ extern XtVarArgsList XtVaCreateArgsList(
1189
+ XtPointer /*unused*/, ...
1190
+ ) _X_SENTINEL(0);
1191
+
1192
+ /*************************************************************
1193
+ *
1194
+ * Information routines
1195
+ *
1196
+ ************************************************************/
1197
+
1198
+ #ifndef _XtIntrinsicP_h
1199
+
1200
+ /* We're not included from the private file, so define these */
1201
+
1202
+ extern Display *XtDisplay(
1203
+ Widget /* widget */
1204
+ );
1205
+
1206
+ extern Display *XtDisplayOfObject(
1207
+ Widget /* object */
1208
+ );
1209
+
1210
+ extern Screen *XtScreen(
1211
+ Widget /* widget */
1212
+ );
1213
+
1214
+ extern Screen *XtScreenOfObject(
1215
+ Widget /* object */
1216
+ );
1217
+
1218
+ extern Window XtWindow(
1219
+ Widget /* widget */
1220
+ );
1221
+
1222
+ extern Window XtWindowOfObject(
1223
+ Widget /* object */
1224
+ );
1225
+
1226
+ extern String XtName(
1227
+ Widget /* object */
1228
+ );
1229
+
1230
+ extern WidgetClass XtSuperclass(
1231
+ Widget /* object */
1232
+ );
1233
+
1234
+ extern WidgetClass XtClass(
1235
+ Widget /* object */
1236
+ );
1237
+
1238
+ extern Widget XtParent(
1239
+ Widget /* widget */
1240
+ );
1241
+
1242
+ #endif /*_XtIntrinsicP_h*/
1243
+
1244
+ #undef XtMapWidget
1245
+ extern void XtMapWidget(Widget /* w */);
1246
+ #define XtMapWidget(widget) XMapWindow(XtDisplay(widget), XtWindow(widget))
1247
+
1248
+ #undef XtUnmapWidget
1249
+ extern void XtUnmapWidget(Widget /* w */);
1250
+ #define XtUnmapWidget(widget) \
1251
+ XUnmapWindow(XtDisplay(widget), XtWindow(widget))
1252
+
1253
+ extern void XtAddCallback(
1254
+ Widget /* widget */,
1255
+ _Xconst _XtString /* callback_name */,
1256
+ XtCallbackProc /* callback */,
1257
+ XtPointer /* closure */
1258
+ );
1259
+
1260
+ extern void XtRemoveCallback(
1261
+ Widget /* widget */,
1262
+ _Xconst _XtString /* callback_name */,
1263
+ XtCallbackProc /* callback */,
1264
+ XtPointer /* closure */
1265
+ );
1266
+
1267
+ extern void XtAddCallbacks(
1268
+ Widget /* widget */,
1269
+ _Xconst _XtString /* callback_name */,
1270
+ XtCallbackList /* callbacks */
1271
+ );
1272
+
1273
+ extern void XtRemoveCallbacks(
1274
+ Widget /* widget */,
1275
+ _Xconst _XtString /* callback_name */,
1276
+ XtCallbackList /* callbacks */
1277
+ );
1278
+
1279
+ extern void XtRemoveAllCallbacks(
1280
+ Widget /* widget */,
1281
+ _Xconst _XtString /* callback_name */
1282
+ );
1283
+
1284
+
1285
+ extern void XtCallCallbacks(
1286
+ Widget /* widget */,
1287
+ _Xconst _XtString /* callback_name */,
1288
+ XtPointer /* call_data */
1289
+ );
1290
+
1291
+ extern void XtCallCallbackList(
1292
+ Widget /* widget */,
1293
+ XtCallbackList /* callbacks */,
1294
+ XtPointer /* call_data */
1295
+ );
1296
+
1297
+ extern XtCallbackStatus XtHasCallbacks(
1298
+ Widget /* widget */,
1299
+ _Xconst _XtString /* callback_name */
1300
+ );
1301
+
1302
+ /****************************************************************
1303
+ *
1304
+ * Geometry Management
1305
+ *
1306
+ ****************************************************************/
1307
+
1308
+
1309
+ extern XtGeometryResult XtMakeGeometryRequest(
1310
+ Widget /* widget */,
1311
+ XtWidgetGeometry* /* request */,
1312
+ XtWidgetGeometry* /* reply_return */
1313
+ );
1314
+
1315
+ extern XtGeometryResult XtQueryGeometry(
1316
+ Widget /* widget */,
1317
+ XtWidgetGeometry* /* intended */,
1318
+ XtWidgetGeometry* /* preferred_return */
1319
+ );
1320
+
1321
+ extern Widget XtCreatePopupShell(
1322
+ _Xconst _XtString /* name */,
1323
+ WidgetClass /* widgetClass */,
1324
+ Widget /* parent */,
1325
+ ArgList /* args */,
1326
+ Cardinal /* num_args */
1327
+ );
1328
+
1329
+ extern Widget XtVaCreatePopupShell(
1330
+ _Xconst _XtString /* name */,
1331
+ WidgetClass /* widgetClass */,
1332
+ Widget /* parent */,
1333
+ ...
1334
+ ) _X_SENTINEL(0);
1335
+
1336
+ extern void XtPopup(
1337
+ Widget /* popup_shell */,
1338
+ XtGrabKind /* grab_kind */
1339
+ );
1340
+
1341
+ extern void XtPopupSpringLoaded(
1342
+ Widget /* popup_shell */
1343
+ );
1344
+
1345
+ extern void XtCallbackNone(
1346
+ Widget /* widget */,
1347
+ XtPointer /* closure */,
1348
+ XtPointer /* call_data */
1349
+ );
1350
+
1351
+ extern void XtCallbackNonexclusive(
1352
+ Widget /* widget */,
1353
+ XtPointer /* closure */,
1354
+ XtPointer /* call_data */
1355
+ );
1356
+
1357
+ extern void XtCallbackExclusive(
1358
+ Widget /* widget */,
1359
+ XtPointer /* closure */,
1360
+ XtPointer /* call_data */
1361
+ );
1362
+
1363
+ extern void XtPopdown(
1364
+ Widget /* popup_shell */
1365
+ );
1366
+
1367
+ extern void XtCallbackPopdown(
1368
+ Widget /* widget */,
1369
+ XtPointer /* closure */,
1370
+ XtPointer /* call_data */
1371
+ );
1372
+
1373
+ extern void XtMenuPopupAction(
1374
+ Widget /* widget */,
1375
+ XEvent* /* event */,
1376
+ String* /* params */,
1377
+ Cardinal* /* num_params */
1378
+ );
1379
+
1380
+ extern Widget XtCreateWidget(
1381
+ _Xconst _XtString /* name */,
1382
+ WidgetClass /* widget_class */,
1383
+ Widget /* parent */,
1384
+ ArgList /* args */,
1385
+ Cardinal /* num_args */
1386
+ );
1387
+
1388
+ extern Widget XtCreateManagedWidget(
1389
+ _Xconst _XtString /* name */,
1390
+ WidgetClass /* widget_class */,
1391
+ Widget /* parent */,
1392
+ ArgList /* args */,
1393
+ Cardinal /* num_args */
1394
+ );
1395
+
1396
+ extern Widget XtVaCreateWidget(
1397
+ _Xconst _XtString /* name */,
1398
+ WidgetClass /* widget */,
1399
+ Widget /* parent */,
1400
+ ...
1401
+ ) _X_SENTINEL(0);
1402
+
1403
+ extern Widget XtVaCreateManagedWidget(
1404
+ _Xconst _XtString /* name */,
1405
+ WidgetClass /* widget_class */,
1406
+ Widget /* parent */,
1407
+ ...
1408
+ ) _X_SENTINEL(0);
1409
+
1410
+ extern Widget XtCreateApplicationShell( /* obsolete */
1411
+ _Xconst _XtString /* name */,
1412
+ WidgetClass /* widget_class */,
1413
+ ArgList /* args */,
1414
+ Cardinal /* num_args */
1415
+ );
1416
+
1417
+ extern Widget XtAppCreateShell(
1418
+ _Xconst _XtString /* application_name */,
1419
+ _Xconst _XtString /* application_class */,
1420
+ WidgetClass /* widget_class */,
1421
+ Display* /* display */,
1422
+ ArgList /* args */,
1423
+ Cardinal /* num_args */
1424
+ );
1425
+
1426
+ extern Widget XtVaAppCreateShell(
1427
+ _Xconst _XtString /* application_name */,
1428
+ _Xconst _XtString /* application_class */,
1429
+ WidgetClass /* widget_class */,
1430
+ Display* /* display */,
1431
+ ...
1432
+ ) _X_SENTINEL(0);
1433
+
1434
+ /****************************************************************
1435
+ *
1436
+ * Toolkit initialization
1437
+ *
1438
+ ****************************************************************/
1439
+
1440
+ extern void XtToolkitInitialize(
1441
+ void
1442
+ );
1443
+
1444
+ extern XtLanguageProc XtSetLanguageProc(
1445
+ XtAppContext /* app_context */,
1446
+ XtLanguageProc /* proc */,
1447
+ XtPointer /* client_data */
1448
+ );
1449
+
1450
+ extern void XtDisplayInitialize(
1451
+ XtAppContext /* app_context */,
1452
+ Display* /* dpy */,
1453
+ _Xconst _XtString /* application_name */,
1454
+ _Xconst _XtString /* application_class */,
1455
+ XrmOptionDescRec* /* options */,
1456
+ Cardinal /* num_options */,
1457
+ int* /* argc */,
1458
+ _XtString* /* argv */
1459
+ );
1460
+
1461
+ extern Widget XtOpenApplication(
1462
+ XtAppContext* /* app_context_return */,
1463
+ _Xconst _XtString /* application_class */,
1464
+ XrmOptionDescList /* options */,
1465
+ Cardinal /* num_options */,
1466
+ int* /* argc_in_out */,
1467
+ _XtString* /* argv_in_out */,
1468
+ String* /* fallback_resources */,
1469
+ WidgetClass /* widget_class */,
1470
+ ArgList /* args */,
1471
+ Cardinal /* num_args */
1472
+ );
1473
+
1474
+ extern Widget XtVaOpenApplication(
1475
+ XtAppContext* /* app_context_return */,
1476
+ _Xconst _XtString /* application_class */,
1477
+ XrmOptionDescList /* options */,
1478
+ Cardinal /* num_options */,
1479
+ int* /* argc_in_out */,
1480
+ _XtString* /* argv_in_out */,
1481
+ String* /* fallback_resources */,
1482
+ WidgetClass /* widget_class */,
1483
+ ...
1484
+ ) _X_SENTINEL(0);
1485
+
1486
+ extern Widget XtAppInitialize( /* obsolete */
1487
+ XtAppContext* /* app_context_return */,
1488
+ _Xconst _XtString /* application_class */,
1489
+ XrmOptionDescList /* options */,
1490
+ Cardinal /* num_options */,
1491
+ int* /* argc_in_out */,
1492
+ _XtString* /* argv_in_out */,
1493
+ String* /* fallback_resources */,
1494
+ ArgList /* args */,
1495
+ Cardinal /* num_args */
1496
+ );
1497
+
1498
+ extern Widget XtVaAppInitialize( /* obsolete */
1499
+ XtAppContext* /* app_context_return */,
1500
+ _Xconst _XtString /* application_class */,
1501
+ XrmOptionDescList /* options */,
1502
+ Cardinal /* num_options */,
1503
+ int* /* argc_in_out */,
1504
+ _XtString* /* argv_in_out */,
1505
+ String* /* fallback_resources */,
1506
+ ...
1507
+ ) _X_SENTINEL(0);
1508
+
1509
+ extern Widget XtInitialize( /* obsolete */
1510
+ _Xconst _XtString /* shell_name */,
1511
+ _Xconst _XtString /* application_class */,
1512
+ XrmOptionDescRec* /* options */,
1513
+ Cardinal /* num_options */,
1514
+ int* /* argc */,
1515
+ _XtString* /* argv */
1516
+ );
1517
+
1518
+ extern Display *XtOpenDisplay(
1519
+ XtAppContext /* app_context */,
1520
+ _Xconst _XtString /* display_string */,
1521
+ _Xconst _XtString /* application_name */,
1522
+ _Xconst _XtString /* application_class */,
1523
+ XrmOptionDescRec* /* options */,
1524
+ Cardinal /* num_options */,
1525
+ int* /* argc */,
1526
+ _XtString* /* argv */
1527
+ );
1528
+
1529
+ extern XtAppContext XtCreateApplicationContext(
1530
+ void
1531
+ );
1532
+
1533
+ extern void XtAppSetFallbackResources(
1534
+ XtAppContext /* app_context */,
1535
+ String* /* specification_list */
1536
+ );
1537
+
1538
+ extern void XtDestroyApplicationContext(
1539
+ XtAppContext /* app_context */
1540
+ );
1541
+
1542
+ extern void XtInitializeWidgetClass(
1543
+ WidgetClass /* widget_class */
1544
+ );
1545
+
1546
+ extern XtAppContext XtWidgetToApplicationContext(
1547
+ Widget /* widget */
1548
+ );
1549
+
1550
+ extern XtAppContext XtDisplayToApplicationContext(
1551
+ Display* /* dpy */
1552
+ );
1553
+
1554
+ extern XrmDatabase XtDatabase(
1555
+ Display* /* dpy */
1556
+ );
1557
+
1558
+ extern XrmDatabase XtScreenDatabase(
1559
+ Screen* /* screen */
1560
+ );
1561
+
1562
+ extern void XtCloseDisplay(
1563
+ Display* /* dpy */
1564
+ );
1565
+
1566
+ extern void XtGetApplicationResources(
1567
+ Widget /* widget */,
1568
+ XtPointer /* base */,
1569
+ XtResourceList /* resources */,
1570
+ Cardinal /* num_resources */,
1571
+ ArgList /* args */,
1572
+ Cardinal /* num_args */
1573
+ );
1574
+
1575
+ extern void XtVaGetApplicationResources(
1576
+ Widget /* widget */,
1577
+ XtPointer /* base */,
1578
+ XtResourceList /* resources */,
1579
+ Cardinal /* num_resources */,
1580
+ ...
1581
+ ) _X_SENTINEL(0);
1582
+
1583
+ extern void XtGetSubresources(
1584
+ Widget /* widget */,
1585
+ XtPointer /* base */,
1586
+ _Xconst _XtString /* name */,
1587
+ _Xconst _XtString /* class */,
1588
+ XtResourceList /* resources */,
1589
+ Cardinal /* num_resources */,
1590
+ ArgList /* args */,
1591
+ Cardinal /* num_args */
1592
+ );
1593
+
1594
+ extern void XtVaGetSubresources(
1595
+ Widget /* widget */,
1596
+ XtPointer /* base */,
1597
+ _Xconst _XtString /* name */,
1598
+ _Xconst _XtString /* class */,
1599
+ XtResourceList /* resources */,
1600
+ Cardinal /* num_resources */,
1601
+ ...
1602
+ ) _X_SENTINEL(0);
1603
+
1604
+ extern void XtSetValues(
1605
+ Widget /* widget */,
1606
+ ArgList /* args */,
1607
+ Cardinal /* num_args */
1608
+ );
1609
+
1610
+ extern void XtVaSetValues(
1611
+ Widget /* widget */,
1612
+ ...
1613
+ ) _X_SENTINEL(0);
1614
+
1615
+ extern void XtGetValues(
1616
+ Widget /* widget */,
1617
+ ArgList /* args */,
1618
+ Cardinal /* num_args */
1619
+ );
1620
+
1621
+ extern void XtVaGetValues(
1622
+ Widget /* widget */,
1623
+ ...
1624
+ ) _X_SENTINEL(0);
1625
+
1626
+ extern void XtSetSubvalues(
1627
+ XtPointer /* base */,
1628
+ XtResourceList /* resources */,
1629
+ Cardinal /* num_resources */,
1630
+ ArgList /* args */,
1631
+ Cardinal /* num_args */
1632
+ );
1633
+
1634
+ extern void XtVaSetSubvalues(
1635
+ XtPointer /* base */,
1636
+ XtResourceList /* resources */,
1637
+ Cardinal /* num_resources */,
1638
+ ...
1639
+ ) _X_SENTINEL(0);
1640
+
1641
+ extern void XtGetSubvalues(
1642
+ XtPointer /* base */,
1643
+ XtResourceList /* resources */,
1644
+ Cardinal /* num_resources */,
1645
+ ArgList /* args */,
1646
+ Cardinal /* num_args */
1647
+ );
1648
+
1649
+ extern void XtVaGetSubvalues(
1650
+ XtPointer /* base */,
1651
+ XtResourceList /* resources */,
1652
+ Cardinal /* num_resources */,
1653
+ ...
1654
+ ) _X_SENTINEL(0);
1655
+
1656
+ extern void XtGetResourceList(
1657
+ WidgetClass /* widget_class */,
1658
+ XtResourceList* /* resources_return */,
1659
+ Cardinal* /* num_resources_return */
1660
+ );
1661
+
1662
+ extern void XtGetConstraintResourceList(
1663
+ WidgetClass /* widget_class */,
1664
+ XtResourceList* /* resources_return */,
1665
+ Cardinal* /* num_resources_return */
1666
+ );
1667
+
1668
+ #define XtUnspecifiedPixmap ((Pixmap)2)
1669
+ #define XtUnspecifiedShellInt (-1)
1670
+ #define XtUnspecifiedWindow ((Window)2)
1671
+ #define XtUnspecifiedWindowGroup ((Window)3)
1672
+ #define XtCurrentDirectory "XtCurrentDirectory"
1673
+ #define XtDefaultForeground "XtDefaultForeground"
1674
+ #define XtDefaultBackground "XtDefaultBackground"
1675
+ #define XtDefaultFont "XtDefaultFont"
1676
+ #define XtDefaultFontSet "XtDefaultFontSet"
1677
+
1678
+ #define XtOffset(p_type,field) \
1679
+ ((Cardinal) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
1680
+
1681
+ #ifdef offsetof
1682
+ #define XtOffsetOf(s_type,field) offsetof(s_type,field)
1683
+ #else
1684
+ #define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
1685
+ #endif
1686
+
1687
+ /*************************************************************
1688
+ *
1689
+ * Session Management
1690
+ *
1691
+ ************************************************************/
1692
+
1693
+ typedef struct _XtCheckpointTokenRec {
1694
+ int save_type;
1695
+ int interact_style;
1696
+ Boolean shutdown;
1697
+ Boolean fast;
1698
+ Boolean cancel_shutdown;
1699
+ int phase;
1700
+ int interact_dialog_type; /* return */
1701
+ Boolean request_cancel; /* return */
1702
+ Boolean request_next_phase; /* return */
1703
+ Boolean save_success; /* return */
1704
+ int type; /* implementation private */
1705
+ Widget widget; /* implementation private */
1706
+ } XtCheckpointTokenRec, *XtCheckpointToken;
1707
+
1708
+ XtCheckpointToken XtSessionGetToken(
1709
+ Widget /* widget */
1710
+ );
1711
+
1712
+ void XtSessionReturnToken(
1713
+ XtCheckpointToken /* token */
1714
+ );
1715
+
1716
+ /*************************************************************
1717
+ *
1718
+ * Error Handling
1719
+ *
1720
+ ************************************************************/
1721
+
1722
+ extern XtErrorMsgHandler XtAppSetErrorMsgHandler(
1723
+ XtAppContext /* app_context */,
1724
+ XtErrorMsgHandler /* handler */ _X_NORETURN
1725
+ );
1726
+
1727
+ extern void XtSetErrorMsgHandler( /* obsolete */
1728
+ XtErrorMsgHandler /* handler */ _X_NORETURN
1729
+ );
1730
+
1731
+ extern XtErrorMsgHandler XtAppSetWarningMsgHandler(
1732
+ XtAppContext /* app_context */,
1733
+ XtErrorMsgHandler /* handler */
1734
+ );
1735
+
1736
+ extern void XtSetWarningMsgHandler( /* obsolete */
1737
+ XtErrorMsgHandler /* handler */
1738
+ );
1739
+
1740
+ extern void XtAppErrorMsg(
1741
+ XtAppContext /* app_context */,
1742
+ _Xconst _XtString /* name */,
1743
+ _Xconst _XtString /* type */,
1744
+ _Xconst _XtString /* class */,
1745
+ _Xconst _XtString /* default */,
1746
+ String* /* params */,
1747
+ Cardinal* /* num_params */
1748
+ ) _X_NORETURN;
1749
+
1750
+ extern void XtErrorMsg( /* obsolete */
1751
+ _Xconst _XtString /* name */,
1752
+ _Xconst _XtString /* type */,
1753
+ _Xconst _XtString /* class */,
1754
+ _Xconst _XtString /* default */,
1755
+ String* /* params */,
1756
+ Cardinal* /* num_params */
1757
+ ) _X_NORETURN;
1758
+
1759
+ extern void XtAppWarningMsg(
1760
+ XtAppContext /* app_context */,
1761
+ _Xconst _XtString /* name */,
1762
+ _Xconst _XtString /* type */,
1763
+ _Xconst _XtString /* class */,
1764
+ _Xconst _XtString /* default */,
1765
+ String* /* params */,
1766
+ Cardinal* /* num_params */
1767
+ );
1768
+
1769
+ extern void XtWarningMsg( /* obsolete */
1770
+ _Xconst _XtString /* name */,
1771
+ _Xconst _XtString /* type */,
1772
+ _Xconst _XtString /* class */,
1773
+ _Xconst _XtString /* default */,
1774
+ String* /* params */,
1775
+ Cardinal* /* num_params */
1776
+ );
1777
+
1778
+ extern XtErrorHandler XtAppSetErrorHandler(
1779
+ XtAppContext /* app_context */,
1780
+ XtErrorHandler /* handler */ _X_NORETURN
1781
+ );
1782
+
1783
+ extern void XtSetErrorHandler( /* obsolete */
1784
+ XtErrorHandler /* handler */ _X_NORETURN
1785
+ );
1786
+
1787
+ extern XtErrorHandler XtAppSetWarningHandler(
1788
+ XtAppContext /* app_context */,
1789
+ XtErrorHandler /* handler */
1790
+ );
1791
+
1792
+ extern void XtSetWarningHandler( /* obsolete */
1793
+ XtErrorHandler /* handler */
1794
+ );
1795
+
1796
+ extern void XtAppError(
1797
+ XtAppContext /* app_context */,
1798
+ _Xconst _XtString /* message */
1799
+ ) _X_NORETURN;
1800
+
1801
+ extern void XtError( /* obsolete */
1802
+ _Xconst _XtString /* message */
1803
+ ) _X_NORETURN;
1804
+
1805
+ extern void XtAppWarning(
1806
+ XtAppContext /* app_context */,
1807
+ _Xconst _XtString /* message */
1808
+ );
1809
+
1810
+ extern void XtWarning( /* obsolete */
1811
+ _Xconst _XtString /* message */
1812
+ );
1813
+
1814
+ extern XrmDatabase *XtAppGetErrorDatabase(
1815
+ XtAppContext /* app_context */
1816
+ );
1817
+
1818
+ extern XrmDatabase *XtGetErrorDatabase( /* obsolete */
1819
+ void
1820
+ );
1821
+
1822
+ extern void XtAppGetErrorDatabaseText(
1823
+ XtAppContext /* app_context */,
1824
+ _Xconst _XtString /* name */,
1825
+ _Xconst _XtString /* type */,
1826
+ _Xconst _XtString /* class */,
1827
+ _Xconst _XtString /* default */,
1828
+ _XtString /* buffer_return */,
1829
+ int /* nbytes */,
1830
+ XrmDatabase /* database */
1831
+ );
1832
+
1833
+ extern void XtGetErrorDatabaseText( /* obsolete */
1834
+ _Xconst _XtString /* name */,
1835
+ _Xconst _XtString /* type */,
1836
+ _Xconst _XtString /* class */,
1837
+ _Xconst _XtString /* default */,
1838
+ _XtString /* buffer_return */,
1839
+ int /* nbytes */
1840
+ );
1841
+
1842
+ /****************************************************************
1843
+ *
1844
+ * Memory Management
1845
+ *
1846
+ ****************************************************************/
1847
+
1848
+ extern char *XtMalloc(
1849
+ Cardinal /* size */
1850
+ );
1851
+
1852
+ extern char *XtCalloc(
1853
+ Cardinal /* num */,
1854
+ Cardinal /* size */
1855
+ );
1856
+
1857
+ extern char *XtRealloc(
1858
+ char* /* ptr */,
1859
+ Cardinal /* num */
1860
+ );
1861
+
1862
+ extern void *XtReallocArray(
1863
+ void * /* ptr */,
1864
+ Cardinal /* num */,
1865
+ Cardinal /* size */
1866
+ );
1867
+
1868
+ extern void XtFree(
1869
+ char* /* ptr */
1870
+ );
1871
+
1872
+ #ifndef _X_RESTRICT_KYWD
1873
+ # define _X_RESTRICT_KYWD
1874
+ #endif
1875
+ extern Cardinal XtAsprintf(
1876
+ _XtString *new_string,
1877
+ _Xconst char * _X_RESTRICT_KYWD format,
1878
+ ...
1879
+ ) _X_ATTRIBUTE_PRINTF(2,3);
1880
+
1881
+ #ifdef XTTRACEMEMORY
1882
+
1883
+ extern char *_XtMalloc( /* implementation-private */
1884
+ Cardinal /* size */,
1885
+ const char */* file */,
1886
+ int /* line */
1887
+ );
1888
+
1889
+ extern char *_XtRealloc( /* implementation-private */
1890
+ char * /* ptr */,
1891
+ Cardinal /* size */,
1892
+ const char */* file */,
1893
+ int /* line */
1894
+ );
1895
+
1896
+ extern char *_XtReallocArray( /* implementation-private */
1897
+ char * /* ptr */,
1898
+ Cardinal /* num */,
1899
+ Cardinal /* size */,
1900
+ const char */* file */,
1901
+ int /* line */
1902
+ );
1903
+
1904
+ extern char *_XtCalloc( /* implementation-private */
1905
+ Cardinal /* num */,
1906
+ Cardinal /* size */,
1907
+ const char */* file */,
1908
+ int /* line */
1909
+ );
1910
+
1911
+ extern void _XtFree( /* implementation-private */
1912
+ char * /* ptr */
1913
+ );
1914
+
1915
+ extern Boolean _XtIsValidPointer( /* implementation-private */
1916
+ char * /* ptr */);
1917
+
1918
+ extern void _XtPrintMemory( /* implementation-private */
1919
+ const char */* filename */);
1920
+
1921
+ #define XtMalloc(size) _XtMalloc(size, __FILE__, __LINE__)
1922
+ #define XtRealloc(ptr,size) _XtRealloc(ptr, size, __FILE__, __LINE__)
1923
+ #define XtMallocArray(num,size) _XtReallocArray(NULL, num, size, __FILE__, __LINE__)
1924
+ #define XtReallocArray(ptr,num,size) _XtReallocArray(ptr, num, size, __FILE__, __LINE__)
1925
+ #define XtCalloc(num,size) _XtCalloc(num, size, __FILE__, __LINE__)
1926
+ #define XtFree(ptr) _XtFree(ptr)
1927
+
1928
+ #else
1929
+
1930
+ #define XtMallocArray(num,size) XtReallocArray(NULL, num, size)
1931
+
1932
+ #endif /* ifdef XTTRACEMEMORY */
1933
+
1934
+ #define XtNew(type) ((type *) XtMalloc((unsigned) sizeof(type)))
1935
+
1936
+ #undef XtNewString
1937
+ extern String XtNewString(String /* str */);
1938
+ #define XtNewString(str) \
1939
+ ((str) != NULL ? (strcpy(XtMalloc((unsigned)strlen(str) + 1), str)) : NULL)
1940
+
1941
+ /*************************************************************
1942
+ *
1943
+ * Work procs
1944
+ *
1945
+ **************************************************************/
1946
+
1947
+ extern XtWorkProcId XtAddWorkProc( /* obsolete */
1948
+ XtWorkProc /* proc */,
1949
+ XtPointer /* closure */
1950
+ );
1951
+
1952
+ extern XtWorkProcId XtAppAddWorkProc(
1953
+ XtAppContext /* app_context */,
1954
+ XtWorkProc /* proc */,
1955
+ XtPointer /* closure */
1956
+ );
1957
+
1958
+ extern void XtRemoveWorkProc(
1959
+ XtWorkProcId /* id */
1960
+ );
1961
+
1962
+
1963
+ /****************************************************************
1964
+ *
1965
+ * Graphic Context Management
1966
+ *****************************************************************/
1967
+
1968
+ extern GC XtGetGC(
1969
+ Widget /* widget */,
1970
+ XtGCMask /* valueMask */,
1971
+ XGCValues* /* values */
1972
+ );
1973
+
1974
+ extern GC XtAllocateGC(
1975
+ Widget /* widget */,
1976
+ Cardinal /* depth */,
1977
+ XtGCMask /* valueMask */,
1978
+ XGCValues* /* values */,
1979
+ XtGCMask /* dynamicMask */,
1980
+ XtGCMask /* unusedMask */
1981
+ );
1982
+
1983
+ /* This implementation of XtDestroyGC differs from the formal specification
1984
+ * for historic backwards compatibility reasons. As other implementations
1985
+ * may conform to the spec, use of XtReleaseGC is strongly encouraged.
1986
+ */
1987
+ extern void XtDestroyGC( /* obsolete */
1988
+ GC /* gc */
1989
+ );
1990
+
1991
+ extern void XtReleaseGC(
1992
+ Widget /* object */,
1993
+ GC /* gc */
1994
+ );
1995
+
1996
+
1997
+
1998
+ extern void XtAppReleaseCacheRefs(
1999
+ XtAppContext /* app_context */,
2000
+ XtCacheRef* /* cache_ref */
2001
+ );
2002
+
2003
+ extern void XtCallbackReleaseCacheRef(
2004
+ Widget /* widget */,
2005
+ XtPointer /* closure */, /* XtCacheRef */
2006
+ XtPointer /* call_data */
2007
+ );
2008
+
2009
+ extern void XtCallbackReleaseCacheRefList(
2010
+ Widget /* widget */,
2011
+ XtPointer /* closure */, /* XtCacheRef* */
2012
+ XtPointer /* call_data */
2013
+ );
2014
+
2015
+ extern void XtSetWMColormapWindows(
2016
+ Widget /* widget */,
2017
+ Widget* /* list */,
2018
+ Cardinal /* count */
2019
+ );
2020
+
2021
+ extern _XtString XtFindFile(
2022
+ _Xconst _XtString /* path */,
2023
+ Substitution /* substitutions */,
2024
+ Cardinal /* num_substitutions */,
2025
+ XtFilePredicate /* predicate */
2026
+ );
2027
+
2028
+ extern _XtString XtResolvePathname(
2029
+ Display* /* dpy */,
2030
+ _Xconst _XtString /* type */,
2031
+ _Xconst _XtString /* filename */,
2032
+ _Xconst _XtString /* suffix */,
2033
+ _Xconst _XtString /* path */,
2034
+ Substitution /* substitutions */,
2035
+ Cardinal /* num_substitutions */,
2036
+ XtFilePredicate /* predicate */
2037
+ );
2038
+
2039
+ /****************************************************************
2040
+ *
2041
+ * Selections
2042
+ *
2043
+ *****************************************************************/
2044
+
2045
+ #define XT_CONVERT_FAIL (Atom)0x80000001
2046
+
2047
+ extern void XtDisownSelection(
2048
+ Widget /* widget */,
2049
+ Atom /* selection */,
2050
+ Time /* time */
2051
+ );
2052
+
2053
+ extern void XtGetSelectionValue(
2054
+ Widget /* widget */,
2055
+ Atom /* selection */,
2056
+ Atom /* target */,
2057
+ XtSelectionCallbackProc /* callback */,
2058
+ XtPointer /* closure */,
2059
+ Time /* time */
2060
+ );
2061
+
2062
+ extern void XtGetSelectionValues(
2063
+ Widget /* widget */,
2064
+ Atom /* selection */,
2065
+ Atom* /* targets */,
2066
+ int /* count */,
2067
+ XtSelectionCallbackProc /* callback */,
2068
+ XtPointer* /* closures */,
2069
+ Time /* time */
2070
+ );
2071
+
2072
+ extern void XtAppSetSelectionTimeout(
2073
+ XtAppContext /* app_context */,
2074
+ unsigned long /* timeout */
2075
+ );
2076
+
2077
+ extern void XtSetSelectionTimeout( /* obsolete */
2078
+ unsigned long /* timeout */
2079
+ );
2080
+
2081
+ extern unsigned long XtAppGetSelectionTimeout(
2082
+ XtAppContext /* app_context */
2083
+ );
2084
+
2085
+ extern unsigned long XtGetSelectionTimeout( /* obsolete */
2086
+ void
2087
+ );
2088
+
2089
+ extern XSelectionRequestEvent *XtGetSelectionRequest(
2090
+ Widget /* widget */,
2091
+ Atom /* selection */,
2092
+ XtRequestId /* request_id */
2093
+ );
2094
+
2095
+ extern void XtGetSelectionValueIncremental(
2096
+ Widget /* widget */,
2097
+ Atom /* selection */,
2098
+ Atom /* target */,
2099
+ XtSelectionCallbackProc /* selection_callback */,
2100
+ XtPointer /* client_data */,
2101
+ Time /* time */
2102
+ );
2103
+
2104
+ extern void XtGetSelectionValuesIncremental(
2105
+ Widget /* widget */,
2106
+ Atom /* selection */,
2107
+ Atom* /* targets */,
2108
+ int /* count */,
2109
+ XtSelectionCallbackProc /* callback */,
2110
+ XtPointer* /* client_data */,
2111
+ Time /* time */
2112
+ );
2113
+
2114
+ extern void XtSetSelectionParameters(
2115
+ Widget /* requestor */,
2116
+ Atom /* selection */,
2117
+ Atom /* type */,
2118
+ XtPointer /* value */,
2119
+ unsigned long /* length */,
2120
+ int /* format */
2121
+ );
2122
+
2123
+ extern void XtGetSelectionParameters(
2124
+ Widget /* owner */,
2125
+ Atom /* selection */,
2126
+ XtRequestId /* request_id */,
2127
+ Atom* /* type_return */,
2128
+ XtPointer* /* value_return */,
2129
+ unsigned long* /* length_return */,
2130
+ int* /* format_return */
2131
+ );
2132
+
2133
+ extern void XtCreateSelectionRequest(
2134
+ Widget /* requestor */,
2135
+ Atom /* selection */
2136
+ );
2137
+
2138
+ extern void XtSendSelectionRequest(
2139
+ Widget /* requestor */,
2140
+ Atom /* selection */,
2141
+ Time /* time */
2142
+ );
2143
+
2144
+ extern void XtCancelSelectionRequest(
2145
+ Widget /* requestor */,
2146
+ Atom /* selection */
2147
+ );
2148
+
2149
+ extern Atom XtReservePropertyAtom(
2150
+ Widget /* widget */
2151
+ );
2152
+
2153
+ extern void XtReleasePropertyAtom(
2154
+ Widget /* widget */,
2155
+ Atom /* selection */
2156
+ );
2157
+
2158
+ extern void XtGrabKey(
2159
+ Widget /* widget */,
2160
+ _XtKeyCode /* keycode */,
2161
+ Modifiers /* modifiers */,
2162
+ _XtBoolean /* owner_events */,
2163
+ int /* pointer_mode */,
2164
+ int /* keyboard_mode */
2165
+ );
2166
+
2167
+ extern void XtUngrabKey(
2168
+ Widget /* widget */,
2169
+ _XtKeyCode /* keycode */,
2170
+ Modifiers /* modifiers */
2171
+ );
2172
+
2173
+ extern int XtGrabKeyboard(
2174
+ Widget /* widget */,
2175
+ _XtBoolean /* owner_events */,
2176
+ int /* pointer_mode */,
2177
+ int /* keyboard_mode */,
2178
+ Time /* time */
2179
+ );
2180
+
2181
+ extern void XtUngrabKeyboard(
2182
+ Widget /* widget */,
2183
+ Time /* time */
2184
+ );
2185
+
2186
+ extern void XtGrabButton(
2187
+ Widget /* widget */,
2188
+ int /* button */,
2189
+ Modifiers /* modifiers */,
2190
+ _XtBoolean /* owner_events */,
2191
+ unsigned int /* event_mask */,
2192
+ int /* pointer_mode */,
2193
+ int /* keyboard_mode */,
2194
+ Window /* confine_to */,
2195
+ Cursor /* cursor */
2196
+ );
2197
+
2198
+ extern void XtUngrabButton(
2199
+ Widget /* widget */,
2200
+ unsigned int /* button */,
2201
+ Modifiers /* modifiers */
2202
+ );
2203
+
2204
+ extern int XtGrabPointer(
2205
+ Widget /* widget */,
2206
+ _XtBoolean /* owner_events */,
2207
+ unsigned int /* event_mask */,
2208
+ int /* pointer_mode */,
2209
+ int /* keyboard_mode */,
2210
+ Window /* confine_to */,
2211
+ Cursor /* cursor */,
2212
+ Time /* time */
2213
+ );
2214
+
2215
+ extern void XtUngrabPointer(
2216
+ Widget /* widget */,
2217
+ Time /* time */
2218
+ );
2219
+
2220
+ extern void XtGetApplicationNameAndClass(
2221
+ Display* /* dpy */,
2222
+ String* /* name_return */,
2223
+ String* /* class_return */
2224
+ );
2225
+
2226
+ extern void XtRegisterDrawable(
2227
+ Display* /* dpy */,
2228
+ Drawable /* drawable */,
2229
+ Widget /* widget */
2230
+ );
2231
+
2232
+ extern void XtUnregisterDrawable(
2233
+ Display* /* dpy */,
2234
+ Drawable /* drawable */
2235
+ );
2236
+
2237
+ extern Widget XtHooksOfDisplay(
2238
+ Display* /* dpy */
2239
+ );
2240
+
2241
+ typedef struct {
2242
+ String type;
2243
+ Widget widget;
2244
+ ArgList args;
2245
+ Cardinal num_args;
2246
+ } XtCreateHookDataRec, *XtCreateHookData;
2247
+
2248
+ typedef struct {
2249
+ String type;
2250
+ Widget widget;
2251
+ XtPointer event_data;
2252
+ Cardinal num_event_data;
2253
+ } XtChangeHookDataRec, *XtChangeHookData;
2254
+
2255
+ typedef struct {
2256
+ Widget old, req;
2257
+ ArgList args;
2258
+ Cardinal num_args;
2259
+ } XtChangeHookSetValuesDataRec, *XtChangeHookSetValuesData;
2260
+
2261
+ typedef struct {
2262
+ String type;
2263
+ Widget widget;
2264
+ XtGeometryMask changeMask;
2265
+ XWindowChanges changes;
2266
+ } XtConfigureHookDataRec, *XtConfigureHookData;
2267
+
2268
+ typedef struct {
2269
+ String type;
2270
+ Widget widget;
2271
+ XtWidgetGeometry* request;
2272
+ XtWidgetGeometry* reply;
2273
+ XtGeometryResult result;
2274
+ } XtGeometryHookDataRec, *XtGeometryHookData;
2275
+
2276
+ typedef struct {
2277
+ String type;
2278
+ Widget widget;
2279
+ } XtDestroyHookDataRec, *XtDestroyHookData;
2280
+
2281
+ extern void XtGetDisplays(
2282
+ XtAppContext /* app_context */,
2283
+ Display*** /* dpy_return */,
2284
+ Cardinal* /* num_dpy_return */
2285
+ );
2286
+
2287
+ extern Boolean XtToolkitThreadInitialize(
2288
+ void
2289
+ );
2290
+
2291
+ extern void XtAppSetExitFlag(
2292
+ XtAppContext /* app_context */
2293
+ );
2294
+
2295
+ extern Boolean XtAppGetExitFlag(
2296
+ XtAppContext /* app_context */
2297
+ );
2298
+
2299
+ extern void XtAppLock(
2300
+ XtAppContext /* app_context */
2301
+ );
2302
+
2303
+ extern void XtAppUnlock(
2304
+ XtAppContext /* app_context */
2305
+ );
2306
+
2307
+ /*
2308
+ * Predefined Resource Converters
2309
+ */
2310
+
2311
+
2312
+ /* String converters */
2313
+
2314
+ extern Boolean XtCvtStringToAcceleratorTable(
2315
+ Display* /* dpy */,
2316
+ XrmValuePtr /* args */, /* none */
2317
+ Cardinal* /* num_args */,
2318
+ XrmValuePtr /* fromVal */,
2319
+ XrmValuePtr /* toVal */,
2320
+ XtPointer* /* closure_ret */
2321
+ );
2322
+
2323
+ extern Boolean XtCvtStringToAtom(
2324
+ Display* /* dpy */,
2325
+ XrmValuePtr /* args */, /* Display */
2326
+ Cardinal* /* num_args */,
2327
+ XrmValuePtr /* fromVal */,
2328
+ XrmValuePtr /* toVal */,
2329
+ XtPointer* /* closure_ret */
2330
+ );
2331
+
2332
+ extern Boolean XtCvtStringToBool(
2333
+ Display* /* dpy */,
2334
+ XrmValuePtr /* args */, /* none */
2335
+ Cardinal* /* num_args */,
2336
+ XrmValuePtr /* fromVal */,
2337
+ XrmValuePtr /* toVal */,
2338
+ XtPointer* /* closure_ret */
2339
+ );
2340
+
2341
+ extern Boolean XtCvtStringToBoolean(
2342
+ Display* /* dpy */,
2343
+ XrmValuePtr /* args */, /* none */
2344
+ Cardinal* /* num_args */,
2345
+ XrmValuePtr /* fromVal */,
2346
+ XrmValuePtr /* toVal */,
2347
+ XtPointer* /* closure_ret */
2348
+ );
2349
+
2350
+ extern Boolean XtCvtStringToCommandArgArray(
2351
+ Display* /* dpy */,
2352
+ XrmValuePtr /* args */, /* none */
2353
+ Cardinal* /* num_args */,
2354
+ XrmValuePtr /* fromVal */,
2355
+ XrmValuePtr /* toVal */,
2356
+ XtPointer* /* closure_ret */
2357
+ );
2358
+
2359
+ extern Boolean XtCvtStringToCursor(
2360
+ Display* /* dpy */,
2361
+ XrmValuePtr /* args */, /* Display */
2362
+ Cardinal* /* num_args */,
2363
+ XrmValuePtr /* fromVal */,
2364
+ XrmValuePtr /* toVal */,
2365
+ XtPointer* /* closure_ret */
2366
+ );
2367
+
2368
+ extern Boolean XtCvtStringToDimension(
2369
+ Display* /* dpy */,
2370
+ XrmValuePtr /* args */, /* none */
2371
+ Cardinal* /* num_args */,
2372
+ XrmValuePtr /* fromVal */,
2373
+ XrmValuePtr /* toVal */,
2374
+ XtPointer* /* closure_ret */
2375
+ );
2376
+
2377
+ extern Boolean XtCvtStringToDirectoryString(
2378
+ Display* /* dpy */,
2379
+ XrmValuePtr /* args */, /* none */
2380
+ Cardinal* /* num_args */,
2381
+ XrmValuePtr /* fromVal */,
2382
+ XrmValuePtr /* toVal */,
2383
+ XtPointer* /* closure_ret */
2384
+ );
2385
+
2386
+ extern Boolean XtCvtStringToDisplay(
2387
+ Display* /* dpy */,
2388
+ XrmValuePtr /* args */, /* none */
2389
+ Cardinal* /* num_args */,
2390
+ XrmValuePtr /* fromVal */,
2391
+ XrmValuePtr /* toVal */,
2392
+ XtPointer* /* closure_ret */
2393
+ );
2394
+
2395
+ extern Boolean XtCvtStringToFile(
2396
+ Display* /* dpy */,
2397
+ XrmValuePtr /* args */, /* none */
2398
+ Cardinal* /* num_args */,
2399
+ XrmValuePtr /* fromVal */,
2400
+ XrmValuePtr /* toVal */,
2401
+ XtPointer* /* closure_ret */
2402
+ );
2403
+
2404
+ extern Boolean XtCvtStringToFloat(
2405
+ Display* /* dpy */,
2406
+ XrmValuePtr /* args */, /* none */
2407
+ Cardinal* /* num_args */,
2408
+ XrmValuePtr /* fromVal */,
2409
+ XrmValuePtr /* toVal */,
2410
+ XtPointer* /* closure_ret */
2411
+ );
2412
+
2413
+ extern Boolean XtCvtStringToFont(
2414
+ Display* /* dpy */,
2415
+ XrmValuePtr /* args */, /* Display */
2416
+ Cardinal* /* num_args */,
2417
+ XrmValuePtr /* fromVal */,
2418
+ XrmValuePtr /* toVal */,
2419
+ XtPointer* /* closure_ret */
2420
+ );
2421
+
2422
+ extern Boolean XtCvtStringToFontSet(
2423
+ Display* /* dpy */,
2424
+ XrmValuePtr /* args */, /* Display, locale */
2425
+ Cardinal* /* num_args */,
2426
+ XrmValuePtr /* fromVal */,
2427
+ XrmValuePtr /* toVal */,
2428
+ XtPointer* /* closure_ret */
2429
+ );
2430
+
2431
+ extern Boolean XtCvtStringToFontStruct(
2432
+ Display* /* dpy */,
2433
+ XrmValuePtr /* args */, /* Display */
2434
+ Cardinal* /* num_args */,
2435
+ XrmValuePtr /* fromVal */,
2436
+ XrmValuePtr /* toVal */,
2437
+ XtPointer* /* closure_ret */
2438
+ );
2439
+
2440
+ extern Boolean XtCvtStringToGravity(
2441
+ Display* /* dpy */,
2442
+ XrmValuePtr /* args */,
2443
+ Cardinal* /* num_args */,
2444
+ XrmValuePtr /* fromVal */,
2445
+ XrmValuePtr /* toVal */,
2446
+ XtPointer* /* closure_ret */
2447
+ );
2448
+
2449
+ extern Boolean XtCvtStringToInitialState(
2450
+ Display* /* dpy */,
2451
+ XrmValuePtr /* args */, /* none */
2452
+ Cardinal* /* num_args */,
2453
+ XrmValuePtr /* fromVal */,
2454
+ XrmValuePtr /* toVal */,
2455
+ XtPointer* /* closure_ret */
2456
+ );
2457
+
2458
+ extern Boolean XtCvtStringToInt(
2459
+ Display* /* dpy */,
2460
+ XrmValuePtr /* args */, /* none */
2461
+ Cardinal* /* num_args */,
2462
+ XrmValuePtr /* fromVal */,
2463
+ XrmValuePtr /* toVal */,
2464
+ XtPointer* /* closure_ret */
2465
+ );
2466
+
2467
+ extern Boolean XtCvtStringToPixel(
2468
+ Display* /* dpy */,
2469
+ XrmValuePtr /* args */, /* Screen, Colormap */
2470
+ Cardinal* /* num_args */,
2471
+ XrmValuePtr /* fromVal */,
2472
+ XrmValuePtr /* toVal */,
2473
+ XtPointer* /* closure_ret */
2474
+ );
2475
+
2476
+ #define XtCvtStringToPosition XtCvtStringToShort
2477
+
2478
+ extern Boolean XtCvtStringToRestartStyle(
2479
+ Display* /* dpy */,
2480
+ XrmValuePtr /* args */, /* none */
2481
+ Cardinal* /* num_args */,
2482
+ XrmValuePtr /* fromVal */,
2483
+ XrmValuePtr /* toVal */,
2484
+ XtPointer* /* closure_ret */
2485
+ );
2486
+
2487
+ extern Boolean XtCvtStringToShort(
2488
+ Display* /* dpy */,
2489
+ XrmValuePtr /* args */, /* none */
2490
+ Cardinal* /* num_args */,
2491
+ XrmValuePtr /* fromVal */,
2492
+ XrmValuePtr /* toVal */,
2493
+ XtPointer* /* closure_ret */
2494
+ );
2495
+
2496
+ extern Boolean XtCvtStringToTranslationTable(
2497
+ Display* /* dpy */,
2498
+ XrmValuePtr /* args */, /* none */
2499
+ Cardinal* /* num_args */,
2500
+ XrmValuePtr /* fromVal */,
2501
+ XrmValuePtr /* toVal */,
2502
+ XtPointer* /* closure_ret */
2503
+ );
2504
+
2505
+ extern Boolean XtCvtStringToUnsignedChar(
2506
+ Display* /* dpy */,
2507
+ XrmValuePtr /* args */, /* none */
2508
+ Cardinal* /* num_args */,
2509
+ XrmValuePtr /* fromVal */,
2510
+ XrmValuePtr /* toVal */,
2511
+ XtPointer* /* closure_ret */
2512
+ );
2513
+
2514
+ extern Boolean XtCvtStringToVisual(
2515
+ Display* /* dpy */,
2516
+ XrmValuePtr /* args */, /* Screen, depth */
2517
+ Cardinal* /* num_args */,
2518
+ XrmValuePtr /* fromVal */,
2519
+ XrmValuePtr /* toVal */,
2520
+ XtPointer* /* closure_ret */
2521
+ );
2522
+
2523
+ /* int converters */
2524
+
2525
+ extern Boolean XtCvtIntToBool(
2526
+ Display* /* dpy */,
2527
+ XrmValuePtr /* args */, /* none */
2528
+ Cardinal* /* num_args */,
2529
+ XrmValuePtr /* fromVal */,
2530
+ XrmValuePtr /* toVal */,
2531
+ XtPointer* /* closure_ret */
2532
+ );
2533
+
2534
+ extern Boolean XtCvtIntToBoolean(
2535
+ Display* /* dpy */,
2536
+ XrmValuePtr /* args */, /* none */
2537
+ Cardinal* /* num_args */,
2538
+ XrmValuePtr /* fromVal */,
2539
+ XrmValuePtr /* toVal */,
2540
+ XtPointer* /* closure_ret */
2541
+ );
2542
+
2543
+ extern Boolean XtCvtIntToColor(
2544
+ Display* /* dpy */,
2545
+ XrmValuePtr /* args */, /* Screen, Colormap */
2546
+ Cardinal* /* num_args */,
2547
+ XrmValuePtr /* fromVal */,
2548
+ XrmValuePtr /* toVal */,
2549
+ XtPointer* /* closure_ret */
2550
+ );
2551
+
2552
+ #define XtCvtIntToDimension XtCvtIntToShort
2553
+
2554
+ extern Boolean XtCvtIntToFloat(
2555
+ Display* /* dpy */,
2556
+ XrmValuePtr /* args */, /* none */
2557
+ Cardinal* /* num_args */,
2558
+ XrmValuePtr /* fromVal */,
2559
+ XrmValuePtr /* toVal */,
2560
+ XtPointer* /* closure_ret */
2561
+ );
2562
+
2563
+ extern Boolean XtCvtIntToFont(
2564
+ Display* /* dpy */,
2565
+ XrmValuePtr /* args */, /* none */
2566
+ Cardinal* /* num_args */,
2567
+ XrmValuePtr /* fromVal */,
2568
+ XrmValuePtr /* toVal */,
2569
+ XtPointer* /* closure_ret */
2570
+ );
2571
+
2572
+ extern Boolean XtCvtIntToPixel(
2573
+ Display* /* dpy */,
2574
+ XrmValuePtr /* args */, /* none */
2575
+ Cardinal* /* num_args */,
2576
+ XrmValuePtr /* fromVal */,
2577
+ XrmValuePtr /* toVal */,
2578
+ XtPointer* /* closure_ret */
2579
+ );
2580
+
2581
+ extern Boolean XtCvtIntToPixmap(
2582
+ Display* /* dpy */,
2583
+ XrmValuePtr /* args */, /* none */
2584
+ Cardinal* /* num_args */,
2585
+ XrmValuePtr /* fromVal */,
2586
+ XrmValuePtr /* toVal */,
2587
+ XtPointer* /* closure_ret */
2588
+ );
2589
+
2590
+ #define XtCvtIntToPosition XtCvtIntToShort
2591
+
2592
+ extern Boolean XtCvtIntToShort(
2593
+ Display* /* dpy */,
2594
+ XrmValuePtr /* args */, /* none */
2595
+ Cardinal* /* num_args */,
2596
+ XrmValuePtr /* fromVal */,
2597
+ XrmValuePtr /* toVal */,
2598
+ XtPointer* /* closure_ret */
2599
+ );
2600
+
2601
+ extern Boolean XtCvtIntToUnsignedChar(
2602
+ Display* /* dpy */,
2603
+ XrmValuePtr /* args */, /* none */
2604
+ Cardinal* /* num_args */,
2605
+ XrmValuePtr /* fromVal */,
2606
+ XrmValuePtr /* toVal */,
2607
+ XtPointer* /* closure_ret */
2608
+ );
2609
+
2610
+ /* Color converter */
2611
+
2612
+ extern Boolean XtCvtColorToPixel(
2613
+ Display* /* dpy */,
2614
+ XrmValuePtr /* args */, /* none */
2615
+ Cardinal* /* num_args */,
2616
+ XrmValuePtr /* fromVal */,
2617
+ XrmValuePtr /* toVal */,
2618
+ XtPointer* /* closure_ret */
2619
+ );
2620
+
2621
+ /* Pixel converter */
2622
+
2623
+ #define XtCvtPixelToColor XtCvtIntToColor
2624
+
2625
+
2626
+ _XFUNCPROTOEND
2627
+
2628
+ #endif /*_XtIntrinsic_h*/
2629
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/IntrinsicP.h ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtintrinsicP_h
49
+ #define _XtintrinsicP_h
50
+
51
+ #include <X11/Intrinsic.h>
52
+
53
+ /*
54
+ * Field sizes and offsets of XrmResource must match those of XtResource.
55
+ * Type long is used instead of XrmQuark here because XrmQuark and String
56
+ * are not the same size on all systems.
57
+ */
58
+ typedef struct {
59
+ XtIntPtr xrm_name; /* Resource name quark */
60
+ XtIntPtr xrm_class; /* Resource class quark */
61
+ XtIntPtr xrm_type; /* Resource representation type quark */
62
+ Cardinal xrm_size; /* Size in bytes of representation */
63
+ int xrm_offset; /* -offset-1 */
64
+ XtIntPtr xrm_default_type; /* Default representation type quark */
65
+ XtPointer xrm_default_addr; /* Default resource address */
66
+ } XrmResource, *XrmResourceList;
67
+ #if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
68
+ _Static_assert(XtOffsetOf(XrmResource, xrm_default_addr) ==
69
+ XtOffsetOf(XtResource, default_addr),
70
+ "Field offset mismatch");
71
+ #endif
72
+
73
+ typedef unsigned long XtVersionType;
74
+
75
+ #define XT_VERSION 11
76
+ #ifndef XT_REVISION
77
+ #define XT_REVISION 6
78
+ #endif
79
+ #define XtVersion (XT_VERSION * 1000 + XT_REVISION)
80
+ #define XtVersionDontCheck 0
81
+
82
+ typedef void (*XtProc)(
83
+ void
84
+ );
85
+
86
+ typedef void (*XtWidgetClassProc)(
87
+ WidgetClass /* class */
88
+ );
89
+
90
+ typedef void (*XtWidgetProc)(
91
+ Widget /* widget */
92
+ );
93
+
94
+ typedef Boolean (*XtAcceptFocusProc)(
95
+ Widget /* widget */,
96
+ Time* /* time */
97
+ );
98
+
99
+ typedef void (*XtArgsProc)(
100
+ Widget /* widget */,
101
+ ArgList /* args */,
102
+ Cardinal* /* num_args */
103
+ );
104
+
105
+ typedef void (*XtInitProc)(
106
+ Widget /* request */,
107
+ Widget /* new */,
108
+ ArgList /* args */,
109
+ Cardinal* /* num_args */
110
+ );
111
+
112
+ typedef Boolean (*XtSetValuesFunc)(
113
+ Widget /* old */,
114
+ Widget /* request */,
115
+ Widget /* new */,
116
+ ArgList /* args */,
117
+ Cardinal* /* num_args */
118
+ );
119
+
120
+ typedef Boolean (*XtArgsFunc)(
121
+ Widget /* widget */,
122
+ ArgList /* args */,
123
+ Cardinal* /* num_args */
124
+ );
125
+
126
+ typedef void (*XtAlmostProc)(
127
+ Widget /* old */,
128
+ Widget /* new */,
129
+ XtWidgetGeometry* /* request */,
130
+ XtWidgetGeometry* /* reply */
131
+ );
132
+
133
+ typedef void (*XtExposeProc)(
134
+ Widget /* widget */,
135
+ XEvent* /* event */,
136
+ Region /* region */
137
+ );
138
+
139
+ /* compress_exposure options*/
140
+ #define XtExposeNoCompress ((XtEnum)False)
141
+ #define XtExposeCompressSeries ((XtEnum)True)
142
+ #define XtExposeCompressMultiple 2
143
+ #define XtExposeCompressMaximal 3
144
+
145
+ /* modifiers */
146
+ #define XtExposeGraphicsExpose 0x10
147
+ #define XtExposeGraphicsExposeMerged 0x20
148
+ #define XtExposeNoExpose 0x40
149
+ #define XtExposeNoRegion 0x80
150
+
151
+ typedef void (*XtRealizeProc)(
152
+ Widget /* widget */,
153
+ XtValueMask* /* mask */,
154
+ XSetWindowAttributes* /* attributes */
155
+ );
156
+
157
+ typedef XtGeometryResult (*XtGeometryHandler)(
158
+ Widget /* widget */,
159
+ XtWidgetGeometry* /* request */,
160
+ XtWidgetGeometry* /* reply */
161
+ );
162
+
163
+ typedef void (*XtStringProc)(
164
+ Widget /* widget */,
165
+ String /* str */
166
+ );
167
+
168
+ typedef struct {
169
+ String name; /* resource name */
170
+ String type; /* representation type name */
171
+ XtArgVal value; /* representation */
172
+ int size; /* size of representation */
173
+ } XtTypedArg, *XtTypedArgList;
174
+
175
+ typedef void (*XtAllocateProc)(
176
+ WidgetClass /* widget_class */,
177
+ Cardinal * /* constraint_size */,
178
+ Cardinal * /* more_bytes */,
179
+ ArgList /* args */,
180
+ Cardinal * /* num_args */,
181
+ XtTypedArgList /* typed_args */,
182
+ Cardinal * /* num_typed_args */,
183
+ Widget * /* widget_return */,
184
+ XtPointer * /* more_bytes_return */
185
+ );
186
+
187
+ typedef void (*XtDeallocateProc)(
188
+ Widget /* widget */,
189
+ XtPointer /* more_bytes */
190
+ );
191
+
192
+ struct _XtStateRec; /* Forward declare before use for C++ */
193
+
194
+ typedef struct _XtTMRec {
195
+ XtTranslations translations; /* private to Translation Manager */
196
+ XtBoundActions proc_table; /* procedure bindings for actions */
197
+ struct _XtStateRec *current_state; /* Translation Manager state ptr */
198
+ unsigned long lastEventTime;
199
+ } XtTMRec, *XtTM;
200
+
201
+ #include <X11/CoreP.h>
202
+ #include <X11/CompositeP.h>
203
+ #include <X11/ConstrainP.h>
204
+ #include <X11/ObjectP.h>
205
+ #include <X11/RectObjP.h>
206
+
207
+ #define XtDisplay(widget) DisplayOfScreen((widget)->core.screen)
208
+ #define XtScreen(widget) ((widget)->core.screen)
209
+ #define XtWindow(widget) ((widget)->core.window)
210
+
211
+ #define XtClass(widget) ((widget)->core.widget_class)
212
+ #define XtSuperclass(widget) (XtClass(widget)->core_class.superclass)
213
+ #define XtIsRealized(object) (XtWindowOfObject(object) != None)
214
+ #define XtParent(widget) ((widget)->core.parent)
215
+
216
+ #undef XtIsRectObj
217
+ extern Boolean XtIsRectObj(Widget);
218
+ #define XtIsRectObj(obj) \
219
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x02)
220
+
221
+ #undef XtIsWidget
222
+ extern Boolean XtIsWidget(Widget);
223
+ #define XtIsWidget(obj) \
224
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x04)
225
+
226
+ #undef XtIsComposite
227
+ extern Boolean XtIsComposite(Widget);
228
+ #define XtIsComposite(obj) \
229
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x08)
230
+
231
+ #undef XtIsConstraint
232
+ extern Boolean XtIsConstraint(Widget);
233
+ #define XtIsConstraint(obj) \
234
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x10)
235
+
236
+ #undef XtIsShell
237
+ extern Boolean XtIsShell(Widget);
238
+ #define XtIsShell(obj) \
239
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x20)
240
+
241
+ #undef XtIsWMShell
242
+ extern Boolean XtIsWMShell(Widget);
243
+ #define XtIsWMShell(obj) \
244
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x40)
245
+
246
+ #undef XtIsTopLevelShell
247
+ extern Boolean XtIsTopLevelShell(Widget);
248
+ #define XtIsTopLevelShell(obj) \
249
+ (((Object)(obj))->object.widget_class->core_class.class_inited & 0x80)
250
+
251
+ #ifdef DEBUG
252
+ #define XtCheckSubclass(w, widget_class_ptr, message) \
253
+ if (!XtIsSubclass(((Widget)(w)), (widget_class_ptr))) { \
254
+ String dbgArgV[3]; \
255
+ Cardinal dbgArgC = 3; \
256
+ dbgArgV[0] = ((Widget)(w))->core.widget_class->core_class.class_name;\
257
+ dbgArgV[1] = (widget_class_ptr)->core_class.class_name; \
258
+ dbgArgV[2] = (message); \
259
+ XtAppErrorMsg(XtWidgetToApplicationContext((Widget)(w)), \
260
+ "subclassMismatch", "xtCheckSubclass", "XtToolkitError", \
261
+ "Widget class %s found when subclass of %s expected: %s",\
262
+ dbgArgV, &dbgArgC); \
263
+ }
264
+ #else
265
+ #define XtCheckSubclass(w, widget_class, message) /* nothing */
266
+ #endif
267
+
268
+ _XFUNCPROTOBEGIN
269
+
270
+ extern Widget _XtWindowedAncestor( /* internal; implementation-dependent */
271
+ Widget /* object */
272
+ );
273
+
274
+ #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(LIBXT_COMPILATION)
275
+ __declspec(dllimport)
276
+ #else
277
+ extern
278
+ #endif
279
+ void _XtInherit(
280
+ void
281
+ );
282
+
283
+ extern void _XtHandleFocus(
284
+ Widget /* widget */,
285
+ XtPointer /* client_data */,
286
+ XEvent * /* event */,
287
+ Boolean * /* cont */);
288
+
289
+ extern void XtCreateWindow(
290
+ Widget /* widget */,
291
+ unsigned int /* window_class */,
292
+ Visual* /* visual */,
293
+ XtValueMask /* value_mask */,
294
+ XSetWindowAttributes* /* attributes */
295
+ );
296
+
297
+ extern void XtResizeWidget(
298
+ Widget /* widget */,
299
+ _XtDimension /* width */,
300
+ _XtDimension /* height */,
301
+ _XtDimension /* border_width */
302
+ );
303
+
304
+ extern void XtMoveWidget(
305
+ Widget /* widget */,
306
+ _XtPosition /* x */,
307
+ _XtPosition /* y */
308
+ );
309
+
310
+ extern void XtConfigureWidget(
311
+ Widget /* widget */,
312
+ _XtPosition /* x */,
313
+ _XtPosition /* y */,
314
+ _XtDimension /* width */,
315
+ _XtDimension /* height */,
316
+ _XtDimension /* border_width */
317
+ );
318
+
319
+ extern void XtResizeWindow(
320
+ Widget /* widget */
321
+ );
322
+
323
+ extern void XtProcessLock(
324
+ void
325
+ );
326
+
327
+ extern void XtProcessUnlock(
328
+ void
329
+ );
330
+
331
+ _XFUNCPROTOEND
332
+
333
+ #endif /* _XtIntrinsicP_h */
334
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/ObjectP.h ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _Xt_ObjectP_h_
49
+ #define _Xt_ObjectP_h_
50
+
51
+ #include <X11/Object.h>
52
+
53
+ _XFUNCPROTOBEGIN
54
+
55
+ /**********************************************************
56
+ * Object Instance Data Structures
57
+ *
58
+ **********************************************************/
59
+ /* these fields match CorePart and can not be changed */
60
+
61
+ typedef struct _ObjectPart {
62
+ Widget self; /* pointer to widget itself */
63
+ WidgetClass widget_class; /* pointer to Widget's ClassRec */
64
+ Widget parent; /* parent widget */
65
+ XrmName xrm_name; /* widget resource name quarkified */
66
+ Boolean being_destroyed; /* marked for destroy */
67
+ XtCallbackList destroy_callbacks; /* who to call when widget destroyed */
68
+ XtPointer constraints; /* constraint record */
69
+ } ObjectPart;
70
+
71
+ typedef struct _ObjectRec {
72
+ ObjectPart object;
73
+ } ObjectRec;
74
+
75
+ /********************************************************
76
+ * Object Class Data Structures
77
+ *
78
+ ********************************************************/
79
+ /* these fields match CoreClassPart and can not be changed */
80
+ /* ideally these structures would only contain the fields required;
81
+ but because the CoreClassPart cannot be changed at this late date
82
+ extraneous fields are necessary to make the field offsets match */
83
+
84
+ typedef struct _ObjectClassPart {
85
+
86
+ WidgetClass superclass; /* pointer to superclass ClassRec */
87
+ String class_name; /* widget resource class name */
88
+ Cardinal widget_size; /* size in bytes of widget record */
89
+ XtProc class_initialize; /* class initialization proc */
90
+ XtWidgetClassProc class_part_initialize; /* dynamic initialization */
91
+ XtEnum class_inited; /* has class been initialized? */
92
+ XtInitProc initialize; /* initialize subclass fields */
93
+ XtArgsProc initialize_hook; /* notify that initialize called */
94
+ XtProc obj1; /* NULL */
95
+ XtPointer obj2; /* NULL */
96
+ Cardinal obj3; /* NULL */
97
+ XtResourceList resources; /* resources for subclass fields */
98
+ Cardinal num_resources; /* number of entries in resources */
99
+ XrmClass xrm_class; /* resource class quarkified */
100
+ Boolean obj4; /* NULL */
101
+ XtEnum obj5; /* NULL */
102
+ Boolean obj6; /* NULL */
103
+ Boolean obj7; /* NULL */
104
+ XtWidgetProc destroy; /* free data for subclass pointers */
105
+ XtProc obj8; /* NULL */
106
+ XtProc obj9; /* NULL */
107
+ XtSetValuesFunc set_values; /* set subclass resource values */
108
+ XtArgsFunc set_values_hook; /* notify that set_values called */
109
+ XtProc obj10; /* NULL */
110
+ XtArgsProc get_values_hook; /* notify that get_values called */
111
+ XtProc obj11; /* NULL */
112
+ XtVersionType version; /* version of intrinsics used */
113
+ XtPointer callback_private; /* list of callback offsets */
114
+ String obj12; /* NULL */
115
+ XtProc obj13; /* NULL */
116
+ XtProc obj14; /* NULL */
117
+ XtPointer extension; /* pointer to extension record */
118
+ }ObjectClassPart;
119
+
120
+ typedef struct {
121
+ XtPointer next_extension; /* 1st 4 required for all extension records */
122
+ XrmQuark record_type; /* NULLQUARK; when on ObjectClassPart */
123
+ long version; /* must be XtObjectExtensionVersion */
124
+ Cardinal record_size; /* sizeof(ObjectClassExtensionRec) */
125
+ XtAllocateProc allocate;
126
+ XtDeallocateProc deallocate;
127
+ } ObjectClassExtensionRec, *ObjectClassExtension;
128
+
129
+ typedef struct _ObjectClassRec {
130
+ ObjectClassPart object_class;
131
+ } ObjectClassRec;
132
+
133
+ externalref ObjectClassRec objectClassRec;
134
+
135
+ _XFUNCPROTOEND
136
+
137
+ #define XtObjectExtensionVersion 1L
138
+ #define XtInheritAllocate ((XtAllocateProc) _XtInherit)
139
+ #define XtInheritDeallocate ((XtDeallocateProc) _XtInherit)
140
+
141
+ #endif /*_Xt_ObjectP_h_*/
data/miniconda3/include/X11/PassivGraI.h ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /********************************************************
2
+
3
+ Copyright 1988 by Hewlett-Packard Company
4
+ Copyright 1987, 1988, 1989 by Digital Equipment Corporation, Maynard
5
+
6
+ Permission to use, copy, modify, and distribute this software
7
+ and its documentation for any purpose and without fee is hereby
8
+ granted, provided that the above copyright notice appear in all
9
+ copies and that both that copyright notice and this permission
10
+ notice appear in supporting documentation, and that the names of
11
+ Hewlett-Packard or Digital not be used in advertising or
12
+ publicity pertaining to distribution of the software without specific,
13
+ written prior permission.
14
+
15
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
16
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
17
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
18
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
20
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
21
+ SOFTWARE.
22
+
23
+ ********************************************************/
24
+
25
+ /*
26
+
27
+ Copyright 1987, 1988, 1989, 1998 The Open Group
28
+
29
+ Permission to use, copy, modify, distribute, and sell this software and its
30
+ documentation for any purpose is hereby granted without fee, provided that
31
+ the above copyright notice appear in all copies and that both that
32
+ copyright notice and this permission notice appear in supporting
33
+ documentation.
34
+
35
+ The above copyright notice and this permission notice shall be included in
36
+ all copies or substantial portions of the Software.
37
+
38
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
42
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
43
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
44
+
45
+ Except as contained in this notice, the name of The Open Group shall not be
46
+ used in advertising or otherwise to promote the sale, use or other dealings
47
+ in this Software without prior written authorization from The Open Group.
48
+
49
+ */
50
+
51
+ #ifndef _PDI_h_
52
+ #define _PDI_h_
53
+
54
+
55
+ #define KEYBOARD TRUE
56
+ #define POINTER FALSE
57
+
58
+ _XFUNCPROTOBEGIN
59
+
60
+ typedef enum {
61
+ XtNoServerGrab,
62
+ XtPassiveServerGrab,
63
+ XtActiveServerGrab,
64
+ XtPseudoPassiveServerGrab,
65
+ XtPseudoActiveServerGrab
66
+ }XtServerGrabType;
67
+
68
+ typedef struct _XtServerGrabRec {
69
+ struct _XtServerGrabRec *next;
70
+ Widget widget;
71
+ unsigned int ownerEvents:1;
72
+ unsigned int pointerMode:1;
73
+ unsigned int keyboardMode:1;
74
+ unsigned int hasExt:1;
75
+ unsigned int confineToIsWidgetWin:1;
76
+ KeyCode keybut;
77
+ unsigned short modifiers;
78
+ unsigned short eventMask;
79
+ } XtServerGrabRec, *XtServerGrabPtr;
80
+
81
+ typedef struct _XtGrabExtRec {
82
+ Mask *pKeyButMask;
83
+ Mask *pModifiersMask;
84
+ Window confineTo;
85
+ Cursor cursor;
86
+ } XtServerGrabExtRec, *XtServerGrabExtPtr;
87
+
88
+ #define GRABEXT(p) ((XtServerGrabExtPtr)((p)+1))
89
+
90
+ typedef struct _XtDeviceRec{
91
+ XtServerGrabRec grab; /* need copy in order to protect
92
+ during grab */
93
+ XtServerGrabType grabType;
94
+ }XtDeviceRec, *XtDevice;
95
+
96
+ #define XtMyAncestor 0
97
+ #define XtMyDescendant 1
98
+ #define XtMyCousin 2
99
+ #define XtMySelf 3
100
+ #define XtUnrelated 4
101
+ typedef char XtGeneology; /* do not use an enum makes PerWidgetInput larger */
102
+
103
+ typedef struct {
104
+ Widget focusKid;
105
+ XtServerGrabPtr keyList, ptrList;
106
+ Widget queryEventDescendant;
107
+ unsigned int map_handler_added:1;
108
+ unsigned int realize_handler_added:1;
109
+ unsigned int active_handler_added:1;
110
+ unsigned int haveFocus:1;
111
+ XtGeneology focalPoint;
112
+ }XtPerWidgetInputRec, *XtPerWidgetInput;
113
+
114
+ typedef struct XtPerDisplayInputRec{
115
+ XtGrabList grabList;
116
+ XtDeviceRec keyboard, pointer;
117
+ KeyCode activatingKey;
118
+ Widget *trace;
119
+ int traceDepth, traceMax;
120
+ Widget focusWidget;
121
+ }XtPerDisplayInputRec, *XtPerDisplayInput;
122
+
123
+ #define IsServerGrab(g) ((g == XtPassiveServerGrab) ||\
124
+ (g == XtActiveServerGrab))
125
+
126
+ #define IsAnyGrab(g) ((g == XtPassiveServerGrab) ||\
127
+ (g == XtActiveServerGrab) ||\
128
+ (g == XtPseudoPassiveServerGrab))
129
+
130
+ #define IsEitherPassiveGrab(g) ((g == XtPassiveServerGrab) ||\
131
+ (g == XtPseudoPassiveServerGrab))
132
+
133
+ #define IsPseudoGrab(g) ((g == XtPseudoPassiveServerGrab))
134
+
135
+ extern void _XtDestroyServerGrabs(
136
+ Widget /* w */,
137
+ XtPointer /* pwi */, /*XtPerWidgetInput*/
138
+ XtPointer /* call_data */
139
+ );
140
+
141
+ extern XtPerWidgetInput _XtGetPerWidgetInput(
142
+ Widget /* widget */,
143
+ _XtBoolean /* create */
144
+ );
145
+
146
+ extern XtServerGrabPtr _XtCheckServerGrabsOnWidget(
147
+ XEvent* /* event */,
148
+ Widget /* widget */,
149
+ _XtBoolean /* isKeyboard */
150
+ );
151
+
152
+ /*
153
+ extern XtGrabList* _XtGetGrabList( XtPerDisplayInput );
154
+ */
155
+
156
+ #define _XtGetGrabList(pdi) (&(pdi)->grabList)
157
+
158
+ extern void _XtFreePerWidgetInput(
159
+ Widget /* w */,
160
+ XtPerWidgetInput /* pwi */
161
+ );
162
+
163
+ extern Widget _XtProcessKeyboardEvent(
164
+ XKeyEvent* /* event */,
165
+ Widget /* widget */,
166
+ XtPerDisplayInput /* pdi */
167
+ );
168
+
169
+ extern Widget _XtProcessPointerEvent(
170
+ XButtonEvent* /* event */,
171
+ Widget /* widget */,
172
+ XtPerDisplayInput /* pdi */
173
+ );
174
+
175
+ extern void _XtRegisterPassiveGrabs(
176
+ Widget /* widget */
177
+ );
178
+
179
+ extern void _XtClearAncestorCache(
180
+ Widget /* widget */
181
+ );
182
+
183
+ _XFUNCPROTOEND
184
+
185
+ #endif /* _PDI_h_ */
data/miniconda3/include/X11/RectObj.h ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtRect_h
49
+ #define _XtRect_h
50
+
51
+ _XFUNCPROTOBEGIN
52
+
53
+ typedef struct _RectObjRec *RectObj;
54
+ typedef struct _RectObjClassRec *RectObjClass;
55
+
56
+ externalref WidgetClass rectObjClass;
57
+
58
+ _XFUNCPROTOEND
59
+
60
+ #endif /* _XtRect_h */
61
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/ShellI.h ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef _XtShellInternal_h
2
+ #define _XtShellInternal_h
3
+
4
+ #include <X11/Xfuncproto.h>
5
+
6
+ _XFUNCPROTOBEGIN
7
+
8
+ extern void _XtShellGetCoordinates(Widget widget, Position *x, Position *y);
9
+
10
+ #endif /* _XtShellInternal_h */
data/miniconda3/include/X11/ShellP.h ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ /*
49
+ * ShellP.h - Private definitions for Shell widget
50
+ *
51
+ * Author: Paul Asente
52
+ * Digital Equipment Corporation
53
+ * Western Software Laboratory
54
+ * Date: Thu Dec 3, 1987
55
+ */
56
+
57
+ #ifndef _XtShellPrivate_h
58
+ #define _XtShellPrivate_h
59
+
60
+ #include <X11/Shell.h>
61
+
62
+ /* *****
63
+ * ***** VendorP.h is included later on; it needs fields defined in the first
64
+ * ***** part of this header file
65
+ * *****
66
+ */
67
+
68
+ _XFUNCPROTOBEGIN
69
+
70
+ /***********************************************************************
71
+ *
72
+ * Shell Widget Private Data
73
+ *
74
+ ***********************************************************************/
75
+
76
+ /* New fields for the Shell widget class record */
77
+
78
+ typedef struct {
79
+ XtPointer extension; /* pointer to extension record */
80
+ } ShellClassPart;
81
+
82
+ typedef struct {
83
+ XtPointer next_extension; /* 1st 4 mandated for all extension records */
84
+ XrmQuark record_type; /* NULLQUARK; on ShellClassPart */
85
+ long version; /* must be XtShellExtensionVersion */
86
+ Cardinal record_size; /* sizeof(ShellClassExtensionRec) */
87
+ XtGeometryHandler root_geometry_manager;
88
+ } ShellClassExtensionRec, *ShellClassExtension;
89
+
90
+ #define XtShellExtensionVersion 1L
91
+ #define XtInheritRootGeometryManager ((XtGeometryHandler)_XtInherit)
92
+
93
+ typedef struct _ShellClassRec {
94
+ CoreClassPart core_class;
95
+ CompositeClassPart composite_class;
96
+ ShellClassPart shell_class;
97
+ } ShellClassRec;
98
+
99
+ externalref ShellClassRec shellClassRec;
100
+
101
+ /* New fields for the shell widget */
102
+
103
+ typedef struct {
104
+ char *geometry;
105
+ XtCreatePopupChildProc create_popup_child_proc;
106
+ XtGrabKind grab_kind;
107
+ Boolean spring_loaded;
108
+ Boolean popped_up;
109
+ Boolean allow_shell_resize;
110
+ Boolean client_specified; /* re-using old name */
111
+ #define _XtShellPositionValid ((Boolean)(1<<0))
112
+ #define _XtShellNotReparented ((Boolean)(1<<1))
113
+ #define _XtShellPPositionOK ((Boolean)(1<<2))
114
+ #define _XtShellGeometryParsed ((Boolean)(1<<3))
115
+ Boolean save_under;
116
+ Boolean override_redirect;
117
+
118
+ XtCallbackList popup_callback;
119
+ XtCallbackList popdown_callback;
120
+ Visual* visual;
121
+ } ShellPart;
122
+
123
+ typedef struct {
124
+ CorePart core;
125
+ CompositePart composite;
126
+ ShellPart shell;
127
+ } ShellRec, *ShellWidget;
128
+
129
+ /***********************************************************************
130
+ *
131
+ * OverrideShell Widget Private Data
132
+ *
133
+ ***********************************************************************/
134
+
135
+ /* New fields for the OverrideShell widget class record */
136
+
137
+ typedef struct {
138
+ XtPointer extension; /* pointer to extension record */
139
+ } OverrideShellClassPart;
140
+
141
+ typedef struct _OverrideShellClassRec {
142
+ CoreClassPart core_class;
143
+ CompositeClassPart composite_class;
144
+ ShellClassPart shell_class;
145
+ OverrideShellClassPart override_shell_class;
146
+ } OverrideShellClassRec;
147
+
148
+ externalref OverrideShellClassRec overrideShellClassRec;
149
+
150
+ /* No new fields for the override shell widget */
151
+
152
+ typedef struct {int frabjous;} OverrideShellPart;
153
+
154
+ typedef struct {
155
+ CorePart core;
156
+ CompositePart composite;
157
+ ShellPart shell;
158
+ OverrideShellPart override;
159
+ } OverrideShellRec, *OverrideShellWidget;
160
+
161
+ /***********************************************************************
162
+ *
163
+ * WMShell Widget Private Data
164
+ *
165
+ ***********************************************************************/
166
+
167
+ /* New fields for the WMShell widget class record */
168
+
169
+ typedef struct {
170
+ XtPointer extension; /* pointer to extension record */
171
+ } WMShellClassPart;
172
+
173
+ typedef struct _WMShellClassRec {
174
+ CoreClassPart core_class;
175
+ CompositeClassPart composite_class;
176
+ ShellClassPart shell_class;
177
+ WMShellClassPart wm_shell_class;
178
+ } WMShellClassRec;
179
+
180
+ externalref WMShellClassRec wmShellClassRec;
181
+
182
+ /* New fields for the WM shell widget */
183
+
184
+ typedef struct {
185
+ char *title;
186
+ int wm_timeout;
187
+ Boolean wait_for_wm;
188
+ Boolean transient;
189
+ Boolean urgency;
190
+ Widget client_leader;
191
+ String window_role;
192
+ struct _OldXSizeHints { /* pre-R4 Xlib structure */
193
+ long flags;
194
+ int x, y;
195
+ int width, height;
196
+ int min_width, min_height;
197
+ int max_width, max_height;
198
+ int width_inc, height_inc;
199
+ struct {
200
+ int x;
201
+ int y;
202
+ } min_aspect, max_aspect;
203
+ } size_hints;
204
+ XWMHints wm_hints;
205
+ int base_width, base_height;
206
+ int win_gravity;
207
+ Atom title_encoding;
208
+ } WMShellPart;
209
+
210
+ typedef struct {
211
+ CorePart core;
212
+ CompositePart composite;
213
+ ShellPart shell;
214
+ WMShellPart wm;
215
+ } WMShellRec, *WMShellWidget;
216
+
217
+ _XFUNCPROTOEND
218
+
219
+ #include <X11/VendorP.h>
220
+
221
+ _XFUNCPROTOBEGIN
222
+
223
+ /***********************************************************************
224
+ *
225
+ * TransientShell Widget Private Data
226
+ *
227
+ ***********************************************************************/
228
+
229
+ /* New fields for the TransientShell widget class record */
230
+
231
+ typedef struct {
232
+ XtPointer extension; /* pointer to extension record */
233
+ } TransientShellClassPart;
234
+
235
+ typedef struct _TransientShellClassRec {
236
+ CoreClassPart core_class;
237
+ CompositeClassPart composite_class;
238
+ ShellClassPart shell_class;
239
+ WMShellClassPart wm_shell_class;
240
+ VendorShellClassPart vendor_shell_class;
241
+ TransientShellClassPart transient_shell_class;
242
+ } TransientShellClassRec;
243
+
244
+ externalref TransientShellClassRec transientShellClassRec;
245
+
246
+ /* New fields for the transient shell widget */
247
+
248
+ typedef struct {
249
+ Widget transient_for;
250
+ } TransientShellPart;
251
+
252
+ typedef struct {
253
+ CorePart core;
254
+ CompositePart composite;
255
+ ShellPart shell;
256
+ WMShellPart wm;
257
+ VendorShellPart vendor;
258
+ TransientShellPart transient;
259
+ } TransientShellRec, *TransientShellWidget;
260
+
261
+ /***********************************************************************
262
+ *
263
+ * TopLevelShell Widget Private Data
264
+ *
265
+ ***********************************************************************/
266
+
267
+ /* New fields for the TopLevelShell widget class record */
268
+
269
+ typedef struct {
270
+ XtPointer extension; /* pointer to extension record */
271
+ } TopLevelShellClassPart;
272
+
273
+ typedef struct _TopLevelShellClassRec {
274
+ CoreClassPart core_class;
275
+ CompositeClassPart composite_class;
276
+ ShellClassPart shell_class;
277
+ WMShellClassPart wm_shell_class;
278
+ VendorShellClassPart vendor_shell_class;
279
+ TopLevelShellClassPart top_level_shell_class;
280
+ } TopLevelShellClassRec;
281
+
282
+ externalref TopLevelShellClassRec topLevelShellClassRec;
283
+
284
+ /* New fields for the top level shell widget */
285
+
286
+ typedef struct {
287
+ char *icon_name;
288
+ Boolean iconic;
289
+ Atom icon_name_encoding;
290
+ } TopLevelShellPart;
291
+
292
+ typedef struct {
293
+ CorePart core;
294
+ CompositePart composite;
295
+ ShellPart shell;
296
+ WMShellPart wm;
297
+ VendorShellPart vendor;
298
+ TopLevelShellPart topLevel;
299
+ } TopLevelShellRec, *TopLevelShellWidget;
300
+
301
+ /***********************************************************************
302
+ *
303
+ * ApplicationShell Widget Private Data
304
+ *
305
+ ***********************************************************************/
306
+
307
+ /* New fields for the ApplicationShell widget class record */
308
+
309
+ typedef struct {
310
+ XtPointer extension; /* pointer to extension record */
311
+ } ApplicationShellClassPart;
312
+
313
+ typedef struct _ApplicationShellClassRec {
314
+ CoreClassPart core_class;
315
+ CompositeClassPart composite_class;
316
+ ShellClassPart shell_class;
317
+ WMShellClassPart wm_shell_class;
318
+ VendorShellClassPart vendor_shell_class;
319
+ TopLevelShellClassPart top_level_shell_class;
320
+ ApplicationShellClassPart application_shell_class;
321
+ } ApplicationShellClassRec;
322
+
323
+ externalref ApplicationShellClassRec applicationShellClassRec;
324
+
325
+ /* New fields for the application shell widget */
326
+
327
+ typedef struct {
328
+ #if defined(__cplusplus) || defined(c_plusplus)
329
+ char *c_class;
330
+ #else
331
+ char *class;
332
+ #endif
333
+ XrmClass xrm_class;
334
+ int argc;
335
+ _XtString *argv;
336
+ } ApplicationShellPart;
337
+
338
+ typedef struct {
339
+ CorePart core;
340
+ CompositePart composite;
341
+ ShellPart shell;
342
+ WMShellPart wm;
343
+ VendorShellPart vendor;
344
+ TopLevelShellPart topLevel;
345
+ ApplicationShellPart application;
346
+ } ApplicationShellRec, *ApplicationShellWidget;
347
+
348
+ /***********************************************************************
349
+ *
350
+ * SessionShell Widget Private Data
351
+ *
352
+ ***********************************************************************/
353
+
354
+ /* New fields for the SessionShell widget class record */
355
+
356
+ typedef struct {
357
+ XtPointer extension; /* pointer to extension record */
358
+ } SessionShellClassPart;
359
+
360
+ typedef struct _SessionShellClassRec {
361
+ CoreClassPart core_class;
362
+ CompositeClassPart composite_class;
363
+ ShellClassPart shell_class;
364
+ WMShellClassPart wm_shell_class;
365
+ VendorShellClassPart vendor_shell_class;
366
+ TopLevelShellClassPart top_level_shell_class;
367
+ ApplicationShellClassPart application_shell_class;
368
+ SessionShellClassPart session_shell_class;
369
+ } SessionShellClassRec;
370
+
371
+ externalref SessionShellClassRec sessionShellClassRec;
372
+
373
+ typedef struct _XtSaveYourselfRec *XtSaveYourself; /* implementation-private */
374
+
375
+ /* New fields for the session shell widget */
376
+
377
+ typedef struct {
378
+ SmcConn connection;
379
+ _XtString session_id;
380
+ _XtString* restart_command;
381
+ _XtString* clone_command;
382
+ _XtString* discard_command;
383
+ _XtString* resign_command;
384
+ _XtString* shutdown_command;
385
+ _XtString* environment;
386
+ _XtString current_dir;
387
+ String program_path;
388
+ unsigned char restart_style;
389
+ unsigned char checkpoint_state;
390
+ Boolean join_session;
391
+ XtCallbackList save_callbacks;
392
+ XtCallbackList interact_callbacks;
393
+ XtCallbackList cancel_callbacks;
394
+ XtCallbackList save_complete_callbacks;
395
+ XtCallbackList die_callbacks;
396
+ XtCallbackList error_callbacks;
397
+ XtSaveYourself save;
398
+ XtInputId input_id;
399
+ XtPointer ses20;
400
+ XtPointer ses19;
401
+ XtPointer ses18;
402
+ XtPointer ses17;
403
+ XtPointer ses16;
404
+ XtPointer ses15;
405
+ XtPointer ses14;
406
+ XtPointer ses13;
407
+ XtPointer ses12;
408
+ XtPointer ses11;
409
+ XtPointer ses10;
410
+ XtPointer ses9;
411
+ XtPointer ses8;
412
+ XtPointer ses7;
413
+ XtPointer ses6;
414
+ XtPointer ses5;
415
+ XtPointer ses4;
416
+ XtPointer ses3;
417
+ XtPointer ses2;
418
+ XtPointer ses1;
419
+ } SessionShellPart;
420
+
421
+ typedef struct {
422
+ CorePart core;
423
+ CompositePart composite;
424
+ ShellPart shell;
425
+ WMShellPart wm;
426
+ VendorShellPart vendor;
427
+ TopLevelShellPart topLevel;
428
+ ApplicationShellPart application;
429
+ SessionShellPart session;
430
+ } SessionShellRec, *SessionShellWidget;
431
+
432
+ _XFUNCPROTOEND
433
+
434
+ #endif /* _XtShellPrivate_h */
data/miniconda3/include/X11/StringDefs.h ADDED
@@ -0,0 +1,1085 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtStringDefs_h_
49
+ #define _XtStringDefs_h_
50
+
51
+ #ifndef XTSTRINGDEFINES
52
+ #define _XtStringDefs_h_Const const
53
+ #endif
54
+
55
+ /* $Xorg: makestrs.c,v 1.6 2001/02/09 02:03:17 xorgcvs Exp $ */
56
+ /* This file is automatically generated. */
57
+ /* Default ABI version -- Do not edit */
58
+ #ifdef XTSTRINGDEFINES
59
+ #define XtNaccelerators "accelerators"
60
+ #define XtNallowHoriz "allowHoriz"
61
+ #define XtNallowVert "allowVert"
62
+ #define XtNancestorSensitive "ancestorSensitive"
63
+ #define XtNbackground "background"
64
+ #define XtNbackgroundPixmap "backgroundPixmap"
65
+ #define XtNbitmap "bitmap"
66
+ #define XtNborderColor "borderColor"
67
+ #define XtNborder "borderColor"
68
+ #define XtNborderPixmap "borderPixmap"
69
+ #define XtNborderWidth "borderWidth"
70
+ #define XtNcallback "callback"
71
+ #define XtNchildren "children"
72
+ #define XtNcolormap "colormap"
73
+ #define XtNdepth "depth"
74
+ #define XtNdestroyCallback "destroyCallback"
75
+ #define XtNeditType "editType"
76
+ #define XtNfile "file"
77
+ #define XtNfont "font"
78
+ #define XtNforceBars "forceBars"
79
+ #define XtNforeground "foreground"
80
+ #define XtNfunction "function"
81
+ #define XtNheight "height"
82
+ #define XtNhighlight "highlight"
83
+ #define XtNhSpace "hSpace"
84
+ #define XtNindex "index"
85
+ #define XtNinitialResourcesPersistent "initialResourcesPersistent"
86
+ #define XtNinnerHeight "innerHeight"
87
+ #define XtNinnerWidth "innerWidth"
88
+ #define XtNinnerWindow "innerWindow"
89
+ #define XtNinsertPosition "insertPosition"
90
+ #define XtNinternalHeight "internalHeight"
91
+ #define XtNinternalWidth "internalWidth"
92
+ #define XtNjumpProc "jumpProc"
93
+ #define XtNjustify "justify"
94
+ #define XtNknobHeight "knobHeight"
95
+ #define XtNknobIndent "knobIndent"
96
+ #define XtNknobPixel "knobPixel"
97
+ #define XtNknobWidth "knobWidth"
98
+ #define XtNlabel "label"
99
+ #define XtNlength "length"
100
+ #define XtNlowerRight "lowerRight"
101
+ #define XtNmappedWhenManaged "mappedWhenManaged"
102
+ #define XtNmenuEntry "menuEntry"
103
+ #define XtNname "name"
104
+ #define XtNnotify "notify"
105
+ #define XtNnumChildren "numChildren"
106
+ #define XtNorientation "orientation"
107
+ #define XtNparameter "parameter"
108
+ #define XtNpixmap "pixmap"
109
+ #define XtNpopupCallback "popupCallback"
110
+ #define XtNpopdownCallback "popdownCallback"
111
+ #define XtNresize "resize"
112
+ #define XtNreverseVideo "reverseVideo"
113
+ #define XtNscreen "screen"
114
+ #define XtNscrollProc "scrollProc"
115
+ #define XtNscrollDCursor "scrollDCursor"
116
+ #define XtNscrollHCursor "scrollHCursor"
117
+ #define XtNscrollLCursor "scrollLCursor"
118
+ #define XtNscrollRCursor "scrollRCursor"
119
+ #define XtNscrollUCursor "scrollUCursor"
120
+ #define XtNscrollVCursor "scrollVCursor"
121
+ #define XtNselection "selection"
122
+ #define XtNselectionArray "selectionArray"
123
+ #define XtNsensitive "sensitive"
124
+ #define XtNshown "shown"
125
+ #define XtNspace "space"
126
+ #define XtNstring "string"
127
+ #define XtNtextOptions "textOptions"
128
+ #define XtNtextSink "textSink"
129
+ #define XtNtextSource "textSource"
130
+ #define XtNthickness "thickness"
131
+ #define XtNthumb "thumb"
132
+ #define XtNthumbProc "thumbProc"
133
+ #define XtNtop "top"
134
+ #define XtNtranslations "translations"
135
+ #define XtNunrealizeCallback "unrealizeCallback"
136
+ #define XtNupdate "update"
137
+ #define XtNuseBottom "useBottom"
138
+ #define XtNuseRight "useRight"
139
+ #define XtNvalue "value"
140
+ #define XtNvSpace "vSpace"
141
+ #define XtNwidth "width"
142
+ #define XtNwindow "window"
143
+ #define XtNx "x"
144
+ #define XtNy "y"
145
+ #define XtCAccelerators "Accelerators"
146
+ #define XtCBackground "Background"
147
+ #define XtCBitmap "Bitmap"
148
+ #define XtCBoolean "Boolean"
149
+ #define XtCBorderColor "BorderColor"
150
+ #define XtCBorderWidth "BorderWidth"
151
+ #define XtCCallback "Callback"
152
+ #define XtCColormap "Colormap"
153
+ #define XtCColor "Color"
154
+ #define XtCCursor "Cursor"
155
+ #define XtCDepth "Depth"
156
+ #define XtCEditType "EditType"
157
+ #define XtCEventBindings "EventBindings"
158
+ #define XtCFile "File"
159
+ #define XtCFont "Font"
160
+ #define XtCForeground "Foreground"
161
+ #define XtCFraction "Fraction"
162
+ #define XtCFunction "Function"
163
+ #define XtCHeight "Height"
164
+ #define XtCHSpace "HSpace"
165
+ #define XtCIndex "Index"
166
+ #define XtCInitialResourcesPersistent "InitialResourcesPersistent"
167
+ #define XtCInsertPosition "InsertPosition"
168
+ #define XtCInterval "Interval"
169
+ #define XtCJustify "Justify"
170
+ #define XtCKnobIndent "KnobIndent"
171
+ #define XtCKnobPixel "KnobPixel"
172
+ #define XtCLabel "Label"
173
+ #define XtCLength "Length"
174
+ #define XtCMappedWhenManaged "MappedWhenManaged"
175
+ #define XtCMargin "Margin"
176
+ #define XtCMenuEntry "MenuEntry"
177
+ #define XtCNotify "Notify"
178
+ #define XtCOrientation "Orientation"
179
+ #define XtCParameter "Parameter"
180
+ #define XtCPixmap "Pixmap"
181
+ #define XtCPosition "Position"
182
+ #define XtCReadOnly "ReadOnly"
183
+ #define XtCResize "Resize"
184
+ #define XtCReverseVideo "ReverseVideo"
185
+ #define XtCScreen "Screen"
186
+ #define XtCScrollProc "ScrollProc"
187
+ #define XtCScrollDCursor "ScrollDCursor"
188
+ #define XtCScrollHCursor "ScrollHCursor"
189
+ #define XtCScrollLCursor "ScrollLCursor"
190
+ #define XtCScrollRCursor "ScrollRCursor"
191
+ #define XtCScrollUCursor "ScrollUCursor"
192
+ #define XtCScrollVCursor "ScrollVCursor"
193
+ #define XtCSelection "Selection"
194
+ #define XtCSensitive "Sensitive"
195
+ #define XtCSelectionArray "SelectionArray"
196
+ #define XtCSpace "Space"
197
+ #define XtCString "String"
198
+ #define XtCTextOptions "TextOptions"
199
+ #define XtCTextPosition "TextPosition"
200
+ #define XtCTextSink "TextSink"
201
+ #define XtCTextSource "TextSource"
202
+ #define XtCThickness "Thickness"
203
+ #define XtCThumb "Thumb"
204
+ #define XtCTranslations "Translations"
205
+ #define XtCValue "Value"
206
+ #define XtCVSpace "VSpace"
207
+ #define XtCWidth "Width"
208
+ #define XtCWindow "Window"
209
+ #define XtCX "X"
210
+ #define XtCY "Y"
211
+ #define XtRAcceleratorTable "AcceleratorTable"
212
+ #ifndef XtRAtom
213
+ #define XtRAtom "Atom"
214
+ #endif
215
+ #define XtRBitmap "Bitmap"
216
+ #define XtRBool "Bool"
217
+ #define XtRBoolean "Boolean"
218
+ #define XtRCallback "Callback"
219
+ #define XtRCallProc "CallProc"
220
+ #define XtRCardinal "Cardinal"
221
+ #define XtRColor "Color"
222
+ #define XtRColormap "Colormap"
223
+ #define XtRCursor "Cursor"
224
+ #define XtRDimension "Dimension"
225
+ #define XtRDisplay "Display"
226
+ #define XtREditMode "EditMode"
227
+ #define XtREnum "Enum"
228
+ #define XtRFile "File"
229
+ #define XtRFloat "Float"
230
+ #define XtRFont "Font"
231
+ #define XtRFontStruct "FontStruct"
232
+ #define XtRFunction "Function"
233
+ #define XtRGeometry "Geometry"
234
+ #define XtRImmediate "Immediate"
235
+ #define XtRInitialState "InitialState"
236
+ #define XtRInt "Int"
237
+ #define XtRJustify "Justify"
238
+ #define XtRLongBoolean "Bool"
239
+ #define XtRObject "Object"
240
+ #define XtROrientation "Orientation"
241
+ #define XtRPixel "Pixel"
242
+ #define XtRPixmap "Pixmap"
243
+ #define XtRPointer "Pointer"
244
+ #define XtRPosition "Position"
245
+ #define XtRScreen "Screen"
246
+ #define XtRShort "Short"
247
+ #define XtRString "String"
248
+ #define XtRStringArray "StringArray"
249
+ #define XtRStringTable "StringTable"
250
+ #define XtRUnsignedChar "UnsignedChar"
251
+ #define XtRTranslationTable "TranslationTable"
252
+ #define XtRVisual "Visual"
253
+ #define XtRWidget "Widget"
254
+ #define XtRWidgetClass "WidgetClass"
255
+ #define XtRWidgetList "WidgetList"
256
+ #define XtRWindow "Window"
257
+ #define XtEoff "off"
258
+ #define XtEfalse "false"
259
+ #define XtEno "no"
260
+ #define XtEon "on"
261
+ #define XtEtrue "true"
262
+ #define XtEyes "yes"
263
+ #define XtEvertical "vertical"
264
+ #define XtEhorizontal "horizontal"
265
+ #define XtEtextRead "read"
266
+ #define XtEtextAppend "append"
267
+ #define XtEtextEdit "edit"
268
+ #define XtExtdefaultbackground "xtdefaultbackground"
269
+ #define XtExtdefaultforeground "xtdefaultforeground"
270
+ #define XtExtdefaultfont "xtdefaultfont"
271
+ #define XtNfontSet "fontSet"
272
+ #define XtRFontSet "FontSet"
273
+ #define XtCFontSet "FontSet"
274
+ #define XtRGravity "Gravity"
275
+ #define XtNcreateHook "createHook"
276
+ #define XtNchangeHook "changeHook"
277
+ #define XtNconfigureHook "configureHook"
278
+ #define XtNgeometryHook "geometryHook"
279
+ #define XtNdestroyHook "destroyHook"
280
+ #define XtNshells "shells"
281
+ #define XtNnumShells "numShells"
282
+ #define XtRCommandArgArray "CommandArgArray"
283
+ #define XtRDirectoryString "DirectoryString"
284
+ #define XtREnvironmentArray "EnvironmentArray"
285
+ #define XtRRestartStyle "RestartStyle"
286
+ #define XtRSmcConn "SmcConn"
287
+ #define XtHcreate "Xtcreate"
288
+ #define XtHsetValues "XtsetValues"
289
+ #define XtHmanageChildren "XtmanageChildren"
290
+ #define XtHunmanageChildren "XtunmanageChildren"
291
+ #define XtHmanageSet "XtmanageSet"
292
+ #define XtHunmanageSet "XtunmanageSet"
293
+ #define XtHrealizeWidget "XtrealizeWidget"
294
+ #define XtHunrealizeWidget "XtunrealizeWidget"
295
+ #define XtHaddCallback "XtaddCallback"
296
+ #define XtHaddCallbacks "XtaddCallbacks"
297
+ #define XtHremoveCallback "XtremoveCallback"
298
+ #define XtHremoveCallbacks "XtremoveCallbacks"
299
+ #define XtHremoveAllCallbacks "XtremoveAllCallbacks"
300
+ #define XtHaugmentTranslations "XtaugmentTranslations"
301
+ #define XtHoverrideTranslations "XtoverrideTranslations"
302
+ #define XtHuninstallTranslations "XtuninstallTranslations"
303
+ #define XtHsetKeyboardFocus "XtsetKeyboardFocus"
304
+ #define XtHsetWMColormapWindows "XtsetWMColormapWindows"
305
+ #define XtHsetMappedWhenManaged "XtsetMappedWhenManaged"
306
+ #define XtHmapWidget "XtmapWidget"
307
+ #define XtHunmapWidget "XtunmapWidget"
308
+ #define XtHpopup "Xtpopup"
309
+ #define XtHpopupSpringLoaded "XtpopupSpringLoaded"
310
+ #define XtHpopdown "Xtpopdown"
311
+ #define XtHconfigure "Xtconfigure"
312
+ #define XtHpreGeometry "XtpreGeometry"
313
+ #define XtHpostGeometry "XtpostGeometry"
314
+ #define XtHdestroy "Xtdestroy"
315
+ #else
316
+ extern _XtStringDefs_h_Const char XtStrings[];
317
+ #ifndef XtNaccelerators
318
+ #define XtNaccelerators ((String)&XtStrings[0])
319
+ #endif
320
+ #ifndef XtNallowHoriz
321
+ #define XtNallowHoriz ((String)&XtStrings[13])
322
+ #endif
323
+ #ifndef XtNallowVert
324
+ #define XtNallowVert ((String)&XtStrings[24])
325
+ #endif
326
+ #ifndef XtNancestorSensitive
327
+ #define XtNancestorSensitive ((String)&XtStrings[34])
328
+ #endif
329
+ #ifndef XtNbackground
330
+ #define XtNbackground ((String)&XtStrings[52])
331
+ #endif
332
+ #ifndef XtNbackgroundPixmap
333
+ #define XtNbackgroundPixmap ((String)&XtStrings[63])
334
+ #endif
335
+ #ifndef XtNbitmap
336
+ #define XtNbitmap ((String)&XtStrings[80])
337
+ #endif
338
+ #ifndef XtNborderColor
339
+ #define XtNborderColor ((String)&XtStrings[87])
340
+ #endif
341
+ #ifndef XtNborder
342
+ #define XtNborder ((String)&XtStrings[99])
343
+ #endif
344
+ #ifndef XtNborderPixmap
345
+ #define XtNborderPixmap ((String)&XtStrings[111])
346
+ #endif
347
+ #ifndef XtNborderWidth
348
+ #define XtNborderWidth ((String)&XtStrings[124])
349
+ #endif
350
+ #ifndef XtNcallback
351
+ #define XtNcallback ((String)&XtStrings[136])
352
+ #endif
353
+ #ifndef XtNchildren
354
+ #define XtNchildren ((String)&XtStrings[145])
355
+ #endif
356
+ #ifndef XtNcolormap
357
+ #define XtNcolormap ((String)&XtStrings[154])
358
+ #endif
359
+ #ifndef XtNdepth
360
+ #define XtNdepth ((String)&XtStrings[163])
361
+ #endif
362
+ #ifndef XtNdestroyCallback
363
+ #define XtNdestroyCallback ((String)&XtStrings[169])
364
+ #endif
365
+ #ifndef XtNeditType
366
+ #define XtNeditType ((String)&XtStrings[185])
367
+ #endif
368
+ #ifndef XtNfile
369
+ #define XtNfile ((String)&XtStrings[194])
370
+ #endif
371
+ #ifndef XtNfont
372
+ #define XtNfont ((String)&XtStrings[199])
373
+ #endif
374
+ #ifndef XtNforceBars
375
+ #define XtNforceBars ((String)&XtStrings[204])
376
+ #endif
377
+ #ifndef XtNforeground
378
+ #define XtNforeground ((String)&XtStrings[214])
379
+ #endif
380
+ #ifndef XtNfunction
381
+ #define XtNfunction ((String)&XtStrings[225])
382
+ #endif
383
+ #ifndef XtNheight
384
+ #define XtNheight ((String)&XtStrings[234])
385
+ #endif
386
+ #ifndef XtNhighlight
387
+ #define XtNhighlight ((String)&XtStrings[241])
388
+ #endif
389
+ #ifndef XtNhSpace
390
+ #define XtNhSpace ((String)&XtStrings[251])
391
+ #endif
392
+ #ifndef XtNindex
393
+ #define XtNindex ((String)&XtStrings[258])
394
+ #endif
395
+ #ifndef XtNinitialResourcesPersistent
396
+ #define XtNinitialResourcesPersistent ((String)&XtStrings[264])
397
+ #endif
398
+ #ifndef XtNinnerHeight
399
+ #define XtNinnerHeight ((String)&XtStrings[291])
400
+ #endif
401
+ #ifndef XtNinnerWidth
402
+ #define XtNinnerWidth ((String)&XtStrings[303])
403
+ #endif
404
+ #ifndef XtNinnerWindow
405
+ #define XtNinnerWindow ((String)&XtStrings[314])
406
+ #endif
407
+ #ifndef XtNinsertPosition
408
+ #define XtNinsertPosition ((String)&XtStrings[326])
409
+ #endif
410
+ #ifndef XtNinternalHeight
411
+ #define XtNinternalHeight ((String)&XtStrings[341])
412
+ #endif
413
+ #ifndef XtNinternalWidth
414
+ #define XtNinternalWidth ((String)&XtStrings[356])
415
+ #endif
416
+ #ifndef XtNjumpProc
417
+ #define XtNjumpProc ((String)&XtStrings[370])
418
+ #endif
419
+ #ifndef XtNjustify
420
+ #define XtNjustify ((String)&XtStrings[379])
421
+ #endif
422
+ #ifndef XtNknobHeight
423
+ #define XtNknobHeight ((String)&XtStrings[387])
424
+ #endif
425
+ #ifndef XtNknobIndent
426
+ #define XtNknobIndent ((String)&XtStrings[398])
427
+ #endif
428
+ #ifndef XtNknobPixel
429
+ #define XtNknobPixel ((String)&XtStrings[409])
430
+ #endif
431
+ #ifndef XtNknobWidth
432
+ #define XtNknobWidth ((String)&XtStrings[419])
433
+ #endif
434
+ #ifndef XtNlabel
435
+ #define XtNlabel ((String)&XtStrings[429])
436
+ #endif
437
+ #ifndef XtNlength
438
+ #define XtNlength ((String)&XtStrings[435])
439
+ #endif
440
+ #ifndef XtNlowerRight
441
+ #define XtNlowerRight ((String)&XtStrings[442])
442
+ #endif
443
+ #ifndef XtNmappedWhenManaged
444
+ #define XtNmappedWhenManaged ((String)&XtStrings[453])
445
+ #endif
446
+ #ifndef XtNmenuEntry
447
+ #define XtNmenuEntry ((String)&XtStrings[471])
448
+ #endif
449
+ #ifndef XtNname
450
+ #define XtNname ((String)&XtStrings[481])
451
+ #endif
452
+ #ifndef XtNnotify
453
+ #define XtNnotify ((String)&XtStrings[486])
454
+ #endif
455
+ #ifndef XtNnumChildren
456
+ #define XtNnumChildren ((String)&XtStrings[493])
457
+ #endif
458
+ #ifndef XtNorientation
459
+ #define XtNorientation ((String)&XtStrings[505])
460
+ #endif
461
+ #ifndef XtNparameter
462
+ #define XtNparameter ((String)&XtStrings[517])
463
+ #endif
464
+ #ifndef XtNpixmap
465
+ #define XtNpixmap ((String)&XtStrings[527])
466
+ #endif
467
+ #ifndef XtNpopupCallback
468
+ #define XtNpopupCallback ((String)&XtStrings[534])
469
+ #endif
470
+ #ifndef XtNpopdownCallback
471
+ #define XtNpopdownCallback ((String)&XtStrings[548])
472
+ #endif
473
+ #ifndef XtNresize
474
+ #define XtNresize ((String)&XtStrings[564])
475
+ #endif
476
+ #ifndef XtNreverseVideo
477
+ #define XtNreverseVideo ((String)&XtStrings[571])
478
+ #endif
479
+ #ifndef XtNscreen
480
+ #define XtNscreen ((String)&XtStrings[584])
481
+ #endif
482
+ #ifndef XtNscrollProc
483
+ #define XtNscrollProc ((String)&XtStrings[591])
484
+ #endif
485
+ #ifndef XtNscrollDCursor
486
+ #define XtNscrollDCursor ((String)&XtStrings[602])
487
+ #endif
488
+ #ifndef XtNscrollHCursor
489
+ #define XtNscrollHCursor ((String)&XtStrings[616])
490
+ #endif
491
+ #ifndef XtNscrollLCursor
492
+ #define XtNscrollLCursor ((String)&XtStrings[630])
493
+ #endif
494
+ #ifndef XtNscrollRCursor
495
+ #define XtNscrollRCursor ((String)&XtStrings[644])
496
+ #endif
497
+ #ifndef XtNscrollUCursor
498
+ #define XtNscrollUCursor ((String)&XtStrings[658])
499
+ #endif
500
+ #ifndef XtNscrollVCursor
501
+ #define XtNscrollVCursor ((String)&XtStrings[672])
502
+ #endif
503
+ #ifndef XtNselection
504
+ #define XtNselection ((String)&XtStrings[686])
505
+ #endif
506
+ #ifndef XtNselectionArray
507
+ #define XtNselectionArray ((String)&XtStrings[696])
508
+ #endif
509
+ #ifndef XtNsensitive
510
+ #define XtNsensitive ((String)&XtStrings[711])
511
+ #endif
512
+ #ifndef XtNshown
513
+ #define XtNshown ((String)&XtStrings[721])
514
+ #endif
515
+ #ifndef XtNspace
516
+ #define XtNspace ((String)&XtStrings[727])
517
+ #endif
518
+ #ifndef XtNstring
519
+ #define XtNstring ((String)&XtStrings[733])
520
+ #endif
521
+ #ifndef XtNtextOptions
522
+ #define XtNtextOptions ((String)&XtStrings[740])
523
+ #endif
524
+ #ifndef XtNtextSink
525
+ #define XtNtextSink ((String)&XtStrings[752])
526
+ #endif
527
+ #ifndef XtNtextSource
528
+ #define XtNtextSource ((String)&XtStrings[761])
529
+ #endif
530
+ #ifndef XtNthickness
531
+ #define XtNthickness ((String)&XtStrings[772])
532
+ #endif
533
+ #ifndef XtNthumb
534
+ #define XtNthumb ((String)&XtStrings[782])
535
+ #endif
536
+ #ifndef XtNthumbProc
537
+ #define XtNthumbProc ((String)&XtStrings[788])
538
+ #endif
539
+ #ifndef XtNtop
540
+ #define XtNtop ((String)&XtStrings[798])
541
+ #endif
542
+ #ifndef XtNtranslations
543
+ #define XtNtranslations ((String)&XtStrings[802])
544
+ #endif
545
+ #ifndef XtNunrealizeCallback
546
+ #define XtNunrealizeCallback ((String)&XtStrings[815])
547
+ #endif
548
+ #ifndef XtNupdate
549
+ #define XtNupdate ((String)&XtStrings[833])
550
+ #endif
551
+ #ifndef XtNuseBottom
552
+ #define XtNuseBottom ((String)&XtStrings[840])
553
+ #endif
554
+ #ifndef XtNuseRight
555
+ #define XtNuseRight ((String)&XtStrings[850])
556
+ #endif
557
+ #ifndef XtNvalue
558
+ #define XtNvalue ((String)&XtStrings[859])
559
+ #endif
560
+ #ifndef XtNvSpace
561
+ #define XtNvSpace ((String)&XtStrings[865])
562
+ #endif
563
+ #ifndef XtNwidth
564
+ #define XtNwidth ((String)&XtStrings[872])
565
+ #endif
566
+ #ifndef XtNwindow
567
+ #define XtNwindow ((String)&XtStrings[878])
568
+ #endif
569
+ #ifndef XtNx
570
+ #define XtNx ((String)&XtStrings[885])
571
+ #endif
572
+ #ifndef XtNy
573
+ #define XtNy ((String)&XtStrings[887])
574
+ #endif
575
+ #ifndef XtCAccelerators
576
+ #define XtCAccelerators ((String)&XtStrings[889])
577
+ #endif
578
+ #ifndef XtCBackground
579
+ #define XtCBackground ((String)&XtStrings[902])
580
+ #endif
581
+ #ifndef XtCBitmap
582
+ #define XtCBitmap ((String)&XtStrings[913])
583
+ #endif
584
+ #ifndef XtCBoolean
585
+ #define XtCBoolean ((String)&XtStrings[920])
586
+ #endif
587
+ #ifndef XtCBorderColor
588
+ #define XtCBorderColor ((String)&XtStrings[928])
589
+ #endif
590
+ #ifndef XtCBorderWidth
591
+ #define XtCBorderWidth ((String)&XtStrings[940])
592
+ #endif
593
+ #ifndef XtCCallback
594
+ #define XtCCallback ((String)&XtStrings[952])
595
+ #endif
596
+ #ifndef XtCColormap
597
+ #define XtCColormap ((String)&XtStrings[961])
598
+ #endif
599
+ #ifndef XtCColor
600
+ #define XtCColor ((String)&XtStrings[970])
601
+ #endif
602
+ #ifndef XtCCursor
603
+ #define XtCCursor ((String)&XtStrings[976])
604
+ #endif
605
+ #ifndef XtCDepth
606
+ #define XtCDepth ((String)&XtStrings[983])
607
+ #endif
608
+ #ifndef XtCEditType
609
+ #define XtCEditType ((String)&XtStrings[989])
610
+ #endif
611
+ #ifndef XtCEventBindings
612
+ #define XtCEventBindings ((String)&XtStrings[998])
613
+ #endif
614
+ #ifndef XtCFile
615
+ #define XtCFile ((String)&XtStrings[1012])
616
+ #endif
617
+ #ifndef XtCFont
618
+ #define XtCFont ((String)&XtStrings[1017])
619
+ #endif
620
+ #ifndef XtCForeground
621
+ #define XtCForeground ((String)&XtStrings[1022])
622
+ #endif
623
+ #ifndef XtCFraction
624
+ #define XtCFraction ((String)&XtStrings[1033])
625
+ #endif
626
+ #ifndef XtCFunction
627
+ #define XtCFunction ((String)&XtStrings[1042])
628
+ #endif
629
+ #ifndef XtCHeight
630
+ #define XtCHeight ((String)&XtStrings[1051])
631
+ #endif
632
+ #ifndef XtCHSpace
633
+ #define XtCHSpace ((String)&XtStrings[1058])
634
+ #endif
635
+ #ifndef XtCIndex
636
+ #define XtCIndex ((String)&XtStrings[1065])
637
+ #endif
638
+ #ifndef XtCInitialResourcesPersistent
639
+ #define XtCInitialResourcesPersistent ((String)&XtStrings[1071])
640
+ #endif
641
+ #ifndef XtCInsertPosition
642
+ #define XtCInsertPosition ((String)&XtStrings[1098])
643
+ #endif
644
+ #ifndef XtCInterval
645
+ #define XtCInterval ((String)&XtStrings[1113])
646
+ #endif
647
+ #ifndef XtCJustify
648
+ #define XtCJustify ((String)&XtStrings[1122])
649
+ #endif
650
+ #ifndef XtCKnobIndent
651
+ #define XtCKnobIndent ((String)&XtStrings[1130])
652
+ #endif
653
+ #ifndef XtCKnobPixel
654
+ #define XtCKnobPixel ((String)&XtStrings[1141])
655
+ #endif
656
+ #ifndef XtCLabel
657
+ #define XtCLabel ((String)&XtStrings[1151])
658
+ #endif
659
+ #ifndef XtCLength
660
+ #define XtCLength ((String)&XtStrings[1157])
661
+ #endif
662
+ #ifndef XtCMappedWhenManaged
663
+ #define XtCMappedWhenManaged ((String)&XtStrings[1164])
664
+ #endif
665
+ #ifndef XtCMargin
666
+ #define XtCMargin ((String)&XtStrings[1182])
667
+ #endif
668
+ #ifndef XtCMenuEntry
669
+ #define XtCMenuEntry ((String)&XtStrings[1189])
670
+ #endif
671
+ #ifndef XtCNotify
672
+ #define XtCNotify ((String)&XtStrings[1199])
673
+ #endif
674
+ #ifndef XtCOrientation
675
+ #define XtCOrientation ((String)&XtStrings[1206])
676
+ #endif
677
+ #ifndef XtCParameter
678
+ #define XtCParameter ((String)&XtStrings[1218])
679
+ #endif
680
+ #ifndef XtCPixmap
681
+ #define XtCPixmap ((String)&XtStrings[1228])
682
+ #endif
683
+ #ifndef XtCPosition
684
+ #define XtCPosition ((String)&XtStrings[1235])
685
+ #endif
686
+ #ifndef XtCReadOnly
687
+ #define XtCReadOnly ((String)&XtStrings[1244])
688
+ #endif
689
+ #ifndef XtCResize
690
+ #define XtCResize ((String)&XtStrings[1253])
691
+ #endif
692
+ #ifndef XtCReverseVideo
693
+ #define XtCReverseVideo ((String)&XtStrings[1260])
694
+ #endif
695
+ #ifndef XtCScreen
696
+ #define XtCScreen ((String)&XtStrings[1273])
697
+ #endif
698
+ #ifndef XtCScrollProc
699
+ #define XtCScrollProc ((String)&XtStrings[1280])
700
+ #endif
701
+ #ifndef XtCScrollDCursor
702
+ #define XtCScrollDCursor ((String)&XtStrings[1291])
703
+ #endif
704
+ #ifndef XtCScrollHCursor
705
+ #define XtCScrollHCursor ((String)&XtStrings[1305])
706
+ #endif
707
+ #ifndef XtCScrollLCursor
708
+ #define XtCScrollLCursor ((String)&XtStrings[1319])
709
+ #endif
710
+ #ifndef XtCScrollRCursor
711
+ #define XtCScrollRCursor ((String)&XtStrings[1333])
712
+ #endif
713
+ #ifndef XtCScrollUCursor
714
+ #define XtCScrollUCursor ((String)&XtStrings[1347])
715
+ #endif
716
+ #ifndef XtCScrollVCursor
717
+ #define XtCScrollVCursor ((String)&XtStrings[1361])
718
+ #endif
719
+ #ifndef XtCSelection
720
+ #define XtCSelection ((String)&XtStrings[1375])
721
+ #endif
722
+ #ifndef XtCSensitive
723
+ #define XtCSensitive ((String)&XtStrings[1385])
724
+ #endif
725
+ #ifndef XtCSelectionArray
726
+ #define XtCSelectionArray ((String)&XtStrings[1395])
727
+ #endif
728
+ #ifndef XtCSpace
729
+ #define XtCSpace ((String)&XtStrings[1410])
730
+ #endif
731
+ #ifndef XtCString
732
+ #define XtCString ((String)&XtStrings[1416])
733
+ #endif
734
+ #ifndef XtCTextOptions
735
+ #define XtCTextOptions ((String)&XtStrings[1423])
736
+ #endif
737
+ #ifndef XtCTextPosition
738
+ #define XtCTextPosition ((String)&XtStrings[1435])
739
+ #endif
740
+ #ifndef XtCTextSink
741
+ #define XtCTextSink ((String)&XtStrings[1448])
742
+ #endif
743
+ #ifndef XtCTextSource
744
+ #define XtCTextSource ((String)&XtStrings[1457])
745
+ #endif
746
+ #ifndef XtCThickness
747
+ #define XtCThickness ((String)&XtStrings[1468])
748
+ #endif
749
+ #ifndef XtCThumb
750
+ #define XtCThumb ((String)&XtStrings[1478])
751
+ #endif
752
+ #ifndef XtCTranslations
753
+ #define XtCTranslations ((String)&XtStrings[1484])
754
+ #endif
755
+ #ifndef XtCValue
756
+ #define XtCValue ((String)&XtStrings[1497])
757
+ #endif
758
+ #ifndef XtCVSpace
759
+ #define XtCVSpace ((String)&XtStrings[1503])
760
+ #endif
761
+ #ifndef XtCWidth
762
+ #define XtCWidth ((String)&XtStrings[1510])
763
+ #endif
764
+ #ifndef XtCWindow
765
+ #define XtCWindow ((String)&XtStrings[1516])
766
+ #endif
767
+ #ifndef XtCX
768
+ #define XtCX ((String)&XtStrings[1523])
769
+ #endif
770
+ #ifndef XtCY
771
+ #define XtCY ((String)&XtStrings[1525])
772
+ #endif
773
+ #ifndef XtRAcceleratorTable
774
+ #define XtRAcceleratorTable ((String)&XtStrings[1527])
775
+ #endif
776
+ #ifndef XtRAtom
777
+ #define XtRAtom ((String)&XtStrings[1544])
778
+ #endif
779
+ #ifndef XtRBitmap
780
+ #define XtRBitmap ((String)&XtStrings[1549])
781
+ #endif
782
+ #ifndef XtRBool
783
+ #define XtRBool ((String)&XtStrings[1556])
784
+ #endif
785
+ #ifndef XtRBoolean
786
+ #define XtRBoolean ((String)&XtStrings[1561])
787
+ #endif
788
+ #ifndef XtRCallback
789
+ #define XtRCallback ((String)&XtStrings[1569])
790
+ #endif
791
+ #ifndef XtRCallProc
792
+ #define XtRCallProc ((String)&XtStrings[1578])
793
+ #endif
794
+ #ifndef XtRCardinal
795
+ #define XtRCardinal ((String)&XtStrings[1587])
796
+ #endif
797
+ #ifndef XtRColor
798
+ #define XtRColor ((String)&XtStrings[1596])
799
+ #endif
800
+ #ifndef XtRColormap
801
+ #define XtRColormap ((String)&XtStrings[1602])
802
+ #endif
803
+ #ifndef XtRCursor
804
+ #define XtRCursor ((String)&XtStrings[1611])
805
+ #endif
806
+ #ifndef XtRDimension
807
+ #define XtRDimension ((String)&XtStrings[1618])
808
+ #endif
809
+ #ifndef XtRDisplay
810
+ #define XtRDisplay ((String)&XtStrings[1628])
811
+ #endif
812
+ #ifndef XtREditMode
813
+ #define XtREditMode ((String)&XtStrings[1636])
814
+ #endif
815
+ #ifndef XtREnum
816
+ #define XtREnum ((String)&XtStrings[1645])
817
+ #endif
818
+ #ifndef XtRFile
819
+ #define XtRFile ((String)&XtStrings[1650])
820
+ #endif
821
+ #ifndef XtRFloat
822
+ #define XtRFloat ((String)&XtStrings[1655])
823
+ #endif
824
+ #ifndef XtRFont
825
+ #define XtRFont ((String)&XtStrings[1661])
826
+ #endif
827
+ #ifndef XtRFontStruct
828
+ #define XtRFontStruct ((String)&XtStrings[1666])
829
+ #endif
830
+ #ifndef XtRFunction
831
+ #define XtRFunction ((String)&XtStrings[1677])
832
+ #endif
833
+ #ifndef XtRGeometry
834
+ #define XtRGeometry ((String)&XtStrings[1686])
835
+ #endif
836
+ #ifndef XtRImmediate
837
+ #define XtRImmediate ((String)&XtStrings[1695])
838
+ #endif
839
+ #ifndef XtRInitialState
840
+ #define XtRInitialState ((String)&XtStrings[1705])
841
+ #endif
842
+ #ifndef XtRInt
843
+ #define XtRInt ((String)&XtStrings[1718])
844
+ #endif
845
+ #ifndef XtRJustify
846
+ #define XtRJustify ((String)&XtStrings[1722])
847
+ #endif
848
+ #ifndef XtRLongBoolean
849
+ #define XtRLongBoolean ((String)&XtStrings[1730])
850
+ #endif
851
+ #ifndef XtRObject
852
+ #define XtRObject ((String)&XtStrings[1735])
853
+ #endif
854
+ #ifndef XtROrientation
855
+ #define XtROrientation ((String)&XtStrings[1742])
856
+ #endif
857
+ #ifndef XtRPixel
858
+ #define XtRPixel ((String)&XtStrings[1754])
859
+ #endif
860
+ #ifndef XtRPixmap
861
+ #define XtRPixmap ((String)&XtStrings[1760])
862
+ #endif
863
+ #ifndef XtRPointer
864
+ #define XtRPointer ((String)&XtStrings[1767])
865
+ #endif
866
+ #ifndef XtRPosition
867
+ #define XtRPosition ((String)&XtStrings[1775])
868
+ #endif
869
+ #ifndef XtRScreen
870
+ #define XtRScreen ((String)&XtStrings[1784])
871
+ #endif
872
+ #ifndef XtRShort
873
+ #define XtRShort ((String)&XtStrings[1791])
874
+ #endif
875
+ #ifndef XtRString
876
+ #define XtRString ((String)&XtStrings[1797])
877
+ #endif
878
+ #ifndef XtRStringArray
879
+ #define XtRStringArray ((String)&XtStrings[1804])
880
+ #endif
881
+ #ifndef XtRStringTable
882
+ #define XtRStringTable ((String)&XtStrings[1816])
883
+ #endif
884
+ #ifndef XtRUnsignedChar
885
+ #define XtRUnsignedChar ((String)&XtStrings[1828])
886
+ #endif
887
+ #ifndef XtRTranslationTable
888
+ #define XtRTranslationTable ((String)&XtStrings[1841])
889
+ #endif
890
+ #ifndef XtRVisual
891
+ #define XtRVisual ((String)&XtStrings[1858])
892
+ #endif
893
+ #ifndef XtRWidget
894
+ #define XtRWidget ((String)&XtStrings[1865])
895
+ #endif
896
+ #ifndef XtRWidgetClass
897
+ #define XtRWidgetClass ((String)&XtStrings[1872])
898
+ #endif
899
+ #ifndef XtRWidgetList
900
+ #define XtRWidgetList ((String)&XtStrings[1884])
901
+ #endif
902
+ #ifndef XtRWindow
903
+ #define XtRWindow ((String)&XtStrings[1895])
904
+ #endif
905
+ #ifndef XtEoff
906
+ #define XtEoff ((String)&XtStrings[1902])
907
+ #endif
908
+ #ifndef XtEfalse
909
+ #define XtEfalse ((String)&XtStrings[1906])
910
+ #endif
911
+ #ifndef XtEno
912
+ #define XtEno ((String)&XtStrings[1912])
913
+ #endif
914
+ #ifndef XtEon
915
+ #define XtEon ((String)&XtStrings[1915])
916
+ #endif
917
+ #ifndef XtEtrue
918
+ #define XtEtrue ((String)&XtStrings[1918])
919
+ #endif
920
+ #ifndef XtEyes
921
+ #define XtEyes ((String)&XtStrings[1923])
922
+ #endif
923
+ #ifndef XtEvertical
924
+ #define XtEvertical ((String)&XtStrings[1927])
925
+ #endif
926
+ #ifndef XtEhorizontal
927
+ #define XtEhorizontal ((String)&XtStrings[1936])
928
+ #endif
929
+ #ifndef XtEtextRead
930
+ #define XtEtextRead ((String)&XtStrings[1947])
931
+ #endif
932
+ #ifndef XtEtextAppend
933
+ #define XtEtextAppend ((String)&XtStrings[1952])
934
+ #endif
935
+ #ifndef XtEtextEdit
936
+ #define XtEtextEdit ((String)&XtStrings[1959])
937
+ #endif
938
+ #ifndef XtExtdefaultbackground
939
+ #define XtExtdefaultbackground ((String)&XtStrings[1964])
940
+ #endif
941
+ #ifndef XtExtdefaultforeground
942
+ #define XtExtdefaultforeground ((String)&XtStrings[1984])
943
+ #endif
944
+ #ifndef XtExtdefaultfont
945
+ #define XtExtdefaultfont ((String)&XtStrings[2004])
946
+ #endif
947
+ #ifndef XtNfontSet
948
+ #define XtNfontSet ((String)&XtStrings[2018])
949
+ #endif
950
+ #ifndef XtRFontSet
951
+ #define XtRFontSet ((String)&XtStrings[2026])
952
+ #endif
953
+ #ifndef XtCFontSet
954
+ #define XtCFontSet ((String)&XtStrings[2034])
955
+ #endif
956
+ #ifndef XtRGravity
957
+ #define XtRGravity ((String)&XtStrings[2042])
958
+ #endif
959
+ #ifndef XtNcreateHook
960
+ #define XtNcreateHook ((String)&XtStrings[2050])
961
+ #endif
962
+ #ifndef XtNchangeHook
963
+ #define XtNchangeHook ((String)&XtStrings[2061])
964
+ #endif
965
+ #ifndef XtNconfigureHook
966
+ #define XtNconfigureHook ((String)&XtStrings[2072])
967
+ #endif
968
+ #ifndef XtNgeometryHook
969
+ #define XtNgeometryHook ((String)&XtStrings[2086])
970
+ #endif
971
+ #ifndef XtNdestroyHook
972
+ #define XtNdestroyHook ((String)&XtStrings[2099])
973
+ #endif
974
+ #ifndef XtNshells
975
+ #define XtNshells ((String)&XtStrings[2111])
976
+ #endif
977
+ #ifndef XtNnumShells
978
+ #define XtNnumShells ((String)&XtStrings[2118])
979
+ #endif
980
+ #ifndef XtRCommandArgArray
981
+ #define XtRCommandArgArray ((String)&XtStrings[2128])
982
+ #endif
983
+ #ifndef XtRDirectoryString
984
+ #define XtRDirectoryString ((String)&XtStrings[2144])
985
+ #endif
986
+ #ifndef XtREnvironmentArray
987
+ #define XtREnvironmentArray ((String)&XtStrings[2160])
988
+ #endif
989
+ #ifndef XtRRestartStyle
990
+ #define XtRRestartStyle ((String)&XtStrings[2177])
991
+ #endif
992
+ #ifndef XtRSmcConn
993
+ #define XtRSmcConn ((String)&XtStrings[2190])
994
+ #endif
995
+ #ifndef XtHcreate
996
+ #define XtHcreate ((String)&XtStrings[2198])
997
+ #endif
998
+ #ifndef XtHsetValues
999
+ #define XtHsetValues ((String)&XtStrings[2207])
1000
+ #endif
1001
+ #ifndef XtHmanageChildren
1002
+ #define XtHmanageChildren ((String)&XtStrings[2219])
1003
+ #endif
1004
+ #ifndef XtHunmanageChildren
1005
+ #define XtHunmanageChildren ((String)&XtStrings[2236])
1006
+ #endif
1007
+ #ifndef XtHmanageSet
1008
+ #define XtHmanageSet ((String)&XtStrings[2255])
1009
+ #endif
1010
+ #ifndef XtHunmanageSet
1011
+ #define XtHunmanageSet ((String)&XtStrings[2267])
1012
+ #endif
1013
+ #ifndef XtHrealizeWidget
1014
+ #define XtHrealizeWidget ((String)&XtStrings[2281])
1015
+ #endif
1016
+ #ifndef XtHunrealizeWidget
1017
+ #define XtHunrealizeWidget ((String)&XtStrings[2297])
1018
+ #endif
1019
+ #ifndef XtHaddCallback
1020
+ #define XtHaddCallback ((String)&XtStrings[2315])
1021
+ #endif
1022
+ #ifndef XtHaddCallbacks
1023
+ #define XtHaddCallbacks ((String)&XtStrings[2329])
1024
+ #endif
1025
+ #ifndef XtHremoveCallback
1026
+ #define XtHremoveCallback ((String)&XtStrings[2344])
1027
+ #endif
1028
+ #ifndef XtHremoveCallbacks
1029
+ #define XtHremoveCallbacks ((String)&XtStrings[2361])
1030
+ #endif
1031
+ #ifndef XtHremoveAllCallbacks
1032
+ #define XtHremoveAllCallbacks ((String)&XtStrings[2379])
1033
+ #endif
1034
+ #ifndef XtHaugmentTranslations
1035
+ #define XtHaugmentTranslations ((String)&XtStrings[2400])
1036
+ #endif
1037
+ #ifndef XtHoverrideTranslations
1038
+ #define XtHoverrideTranslations ((String)&XtStrings[2422])
1039
+ #endif
1040
+ #ifndef XtHuninstallTranslations
1041
+ #define XtHuninstallTranslations ((String)&XtStrings[2445])
1042
+ #endif
1043
+ #ifndef XtHsetKeyboardFocus
1044
+ #define XtHsetKeyboardFocus ((String)&XtStrings[2469])
1045
+ #endif
1046
+ #ifndef XtHsetWMColormapWindows
1047
+ #define XtHsetWMColormapWindows ((String)&XtStrings[2488])
1048
+ #endif
1049
+ #ifndef XtHsetMappedWhenManaged
1050
+ #define XtHsetMappedWhenManaged ((String)&XtStrings[2511])
1051
+ #endif
1052
+ #ifndef XtHmapWidget
1053
+ #define XtHmapWidget ((String)&XtStrings[2534])
1054
+ #endif
1055
+ #ifndef XtHunmapWidget
1056
+ #define XtHunmapWidget ((String)&XtStrings[2546])
1057
+ #endif
1058
+ #ifndef XtHpopup
1059
+ #define XtHpopup ((String)&XtStrings[2560])
1060
+ #endif
1061
+ #ifndef XtHpopupSpringLoaded
1062
+ #define XtHpopupSpringLoaded ((String)&XtStrings[2568])
1063
+ #endif
1064
+ #ifndef XtHpopdown
1065
+ #define XtHpopdown ((String)&XtStrings[2588])
1066
+ #endif
1067
+ #ifndef XtHconfigure
1068
+ #define XtHconfigure ((String)&XtStrings[2598])
1069
+ #endif
1070
+ #ifndef XtHpreGeometry
1071
+ #define XtHpreGeometry ((String)&XtStrings[2610])
1072
+ #endif
1073
+ #ifndef XtHpostGeometry
1074
+ #define XtHpostGeometry ((String)&XtStrings[2624])
1075
+ #endif
1076
+ #ifndef XtHdestroy
1077
+ #define XtHdestroy ((String)&XtStrings[2639])
1078
+ #endif
1079
+ #endif /* XTSTRINGDEFINES */
1080
+
1081
+ #ifndef XTSTRINGDEFINES
1082
+ #undef _XtStringDefs_h_Const
1083
+ #endif
1084
+
1085
+ #endif /* _XtStringDefs_h_ */
data/miniconda3/include/X11/Sunkeysym.h ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright (c) 1991, Oracle and/or its affiliates.
3
+ *
4
+ * Permission is hereby granted, free of charge, to any person obtaining a
5
+ * copy of this software and associated documentation files (the "Software"),
6
+ * to deal in the Software without restriction, including without limitation
7
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
+ * and/or sell copies of the Software, and to permit persons to whom the
9
+ * Software is furnished to do so, subject to the following conditions:
10
+ *
11
+ * The above copyright notice and this permission notice (including the next
12
+ * paragraph) shall be included in all copies or substantial portions of the
13
+ * Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+ * DEALINGS IN THE SOFTWARE.
22
+ */
23
+ /************************************************************
24
+
25
+ Copyright 1991, 1998 The Open Group
26
+
27
+ Permission to use, copy, modify, distribute, and sell this software and its
28
+ documentation for any purpose is hereby granted without fee, provided that
29
+ the above copyright notice appear in all copies and that both that
30
+ copyright notice and this permission notice appear in supporting
31
+ documentation.
32
+
33
+ The above copyright notice and this permission notice shall be included in
34
+ all copies or substantial portions of the Software.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
40
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
41
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
42
+
43
+ Except as contained in this notice, the name of The Open Group shall not be
44
+ used in advertising or otherwise to promote the sale, use or other dealings
45
+ in this Software without prior written authorization from The Open Group.
46
+
47
+ ***********************************************************/
48
+
49
+ /*
50
+ * Floating Accent
51
+ */
52
+
53
+ #define SunXK_FA_Grave 0x1005ff00
54
+ #define SunXK_FA_Circum 0x1005ff01
55
+ #define SunXK_FA_Tilde 0x1005ff02
56
+ #define SunXK_FA_Acute 0x1005ff03
57
+ #define SunXK_FA_Diaeresis 0x1005ff04
58
+ #define SunXK_FA_Cedilla 0x1005ff05
59
+
60
+ /*
61
+ * Miscellaneous Functions
62
+ */
63
+
64
+ #define SunXK_F36 0x1005ff10 /* Labeled F11 */
65
+ #define SunXK_F37 0x1005ff11 /* Labeled F12 */
66
+
67
+ #define SunXK_Sys_Req 0x1005ff60
68
+ #define SunXK_Print_Screen 0x0000ff61 /* Same as XK_Print */
69
+
70
+ /*
71
+ * International & Multi-Key Character Composition
72
+ */
73
+
74
+ #define SunXK_Compose 0x0000ff20 /* Same as XK_Multi_key */
75
+ #define SunXK_AltGraph 0x0000ff7e /* Same as XK_Mode_switch */
76
+
77
+ /*
78
+ * Cursor Control
79
+ */
80
+
81
+ #define SunXK_PageUp 0x0000ff55 /* Same as XK_Prior */
82
+ #define SunXK_PageDown 0x0000ff56 /* Same as XK_Next */
83
+
84
+ /*
85
+ * Open Look Functions
86
+ */
87
+
88
+ #define SunXK_Undo 0x0000ff65 /* Same as XK_Undo */
89
+ #define SunXK_Again 0x0000ff66 /* Same as XK_Redo */
90
+ #define SunXK_Find 0x0000ff68 /* Same as XK_Find */
91
+ #define SunXK_Stop 0x0000ff69 /* Same as XK_Cancel */
92
+ #define SunXK_Props 0x1005ff70
93
+ #define SunXK_Front 0x1005ff71
94
+ #define SunXK_Copy 0x1005ff72
95
+ #define SunXK_Open 0x1005ff73
96
+ #define SunXK_Paste 0x1005ff74
97
+ #define SunXK_Cut 0x1005ff75
98
+
99
+ #define SunXK_PowerSwitch 0x1005ff76
100
+ #define SunXK_AudioLowerVolume 0x1005ff77
101
+ #define SunXK_AudioMute 0x1005ff78
102
+ #define SunXK_AudioRaiseVolume 0x1005ff79
103
+ #define SunXK_VideoDegauss 0x1005ff7a
104
+ #define SunXK_VideoLowerBrightness 0x1005ff7b
105
+ #define SunXK_VideoRaiseBrightness 0x1005ff7c
106
+ #define SunXK_PowerSwitchShift 0x1005ff7d
data/miniconda3/include/X11/ThreadsI.h ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /************************************************************
2
+
3
+ Copyright (c) 1993, Oracle and/or its affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a
6
+ copy of this software and associated documentation files (the "Software"),
7
+ to deal in the Software without restriction, including without limitation
8
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice (including the next
13
+ paragraph) shall be included in all copies or substantial portions of the
14
+ Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
+ DEALINGS IN THE SOFTWARE.
23
+
24
+ ********************************************************/
25
+
26
+ /*
27
+
28
+ Copyright 1994, 1998 The Open Group
29
+
30
+ Permission to use, copy, modify, distribute, and sell this software and its
31
+ documentation for any purpose is hereby granted without fee, provided that
32
+ the above copyright notice appear in all copies and that both that
33
+ copyright notice and this permission notice appear in supporting
34
+ documentation.
35
+
36
+ The above copyright notice and this permission notice shall be included in
37
+ all copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
43
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
44
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45
+
46
+ Except as contained in this notice, the name of The Open Group shall not be
47
+ used in advertising or otherwise to promote the sale, use or other dealings
48
+ in this Software without prior written authorization from The Open Group.
49
+
50
+ */
51
+ /* $XFree86: xc/lib/Xt/ThreadsI.h,v 3.5 2001/12/14 19:56:31 dawes Exp $ */
52
+
53
+ #ifndef _XtThreadsI_h
54
+ #define _XtThreadsI_h
55
+
56
+ #include <X11/XlibConf.h>
57
+
58
+ #ifdef XTHREADS
59
+
60
+ typedef struct _LockRec *LockPtr;
61
+
62
+ typedef void (*ThreadAppProc)(
63
+ XtAppContext /* app */
64
+ );
65
+
66
+ typedef void (*ThreadAppYieldLockProc)(
67
+ XtAppContext, /* app */
68
+ Boolean*, /* push_thread */
69
+ Boolean*, /* pushed_thread */
70
+ int* /* level */
71
+ );
72
+
73
+ typedef void (*ThreadAppRestoreLockProc)(
74
+ XtAppContext /* app */,
75
+ int, /* level */
76
+ Boolean* /* pushed_thread */
77
+ );
78
+
79
+ _XFUNCPROTOBEGIN
80
+
81
+ extern void (*_XtProcessLock)(
82
+ void
83
+ );
84
+
85
+ extern void (*_XtProcessUnlock)(
86
+ void
87
+ );
88
+
89
+ extern void (*_XtInitAppLock)(
90
+ XtAppContext /* app */
91
+ );
92
+
93
+ _XFUNCPROTOEND
94
+
95
+ #define INIT_APP_LOCK(app) if(_XtInitAppLock) (*_XtInitAppLock)(app)
96
+ #define FREE_APP_LOCK(app) if(app && app->free_lock)(*app->free_lock)(app)
97
+
98
+ #define LOCK_PROCESS if(_XtProcessLock)(*_XtProcessLock)()
99
+ #define UNLOCK_PROCESS if(_XtProcessUnlock)(*_XtProcessUnlock)()
100
+ #define LOCK_APP(app) if(app && app->lock)(*app->lock)(app)
101
+ #define UNLOCK_APP(app) if(app && app->unlock)(*app->unlock)(app)
102
+
103
+ #define YIELD_APP_LOCK(app,push,pushed,level)\
104
+ if(app && app->yield_lock) (*app->yield_lock)(app,push,pushed,level)
105
+ #define RESTORE_APP_LOCK(app,level,pushed)\
106
+ if(app && app->restore_lock) (*app->restore_lock)(app,level,pushed)
107
+
108
+ #define WIDGET_TO_APPCON(w) \
109
+ XtAppContext app = (w && _XtProcessLock ? \
110
+ XtWidgetToApplicationContext(w) : NULL)
111
+
112
+ #define DPY_TO_APPCON(d) \
113
+ XtAppContext app = (_XtProcessLock ? XtDisplayToApplicationContext(d): NULL)
114
+
115
+ #else /* defined(XTHREADS) */
116
+
117
+ #define LOCK_PROCESS
118
+ #define UNLOCK_PROCESS
119
+ #define LOCK_APP(app)
120
+ #define UNLOCK_APP(app)
121
+
122
+ #define INIT_APP_LOCK(app)
123
+ #define FREE_APP_LOCK(app)
124
+
125
+ #define WIDGET_TO_APPCON(w)
126
+ #define DPY_TO_APPCON(d)
127
+
128
+ #endif /* !defined(XTHREADS) */
129
+ #endif /* _XtThreadsI_h */
data/miniconda3/include/X11/TranslateI.h ADDED
@@ -0,0 +1,606 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ /*
49
+ * TranslateI.h - Header file private to translation management
50
+ *
51
+ * Author: Gabe Beged-Dov, HP
52
+ *
53
+ * Former Author: Charles Haynes
54
+ * Digital Equipment Corporation
55
+ * Western Research Laboratory
56
+ * Date: Sat Aug 29 1987
57
+ */
58
+
59
+ /*#define REFCNT_TRANSLATIONS*/
60
+ #define CACHE_TRANSLATIONS
61
+
62
+ #define TM_NO_MATCH (-2)
63
+
64
+ #define _XtRStateTablePair "_XtStateTablePair"
65
+
66
+ typedef unsigned char TMByteCard;
67
+ typedef unsigned short TMShortCard;
68
+ typedef unsigned long TMLongCard;
69
+ typedef short TMShortInt;
70
+
71
+ typedef struct _TMTypeMatchRec *TMTypeMatch;
72
+ typedef struct _TMModifierMatchRec *TMModifierMatch;
73
+ typedef struct _TMEventRec *TMEventPtr;
74
+
75
+ typedef Boolean (*MatchProc)(TMTypeMatch typeMatch,
76
+ TMModifierMatch modMatch,
77
+ TMEventPtr eventSeq);
78
+
79
+ typedef struct _ModToKeysymTable {
80
+ Modifiers mask;
81
+ int count;
82
+ int idx;
83
+ } ModToKeysymTable;
84
+
85
+ typedef struct _LateBindings {
86
+ unsigned int knot:1;
87
+ unsigned int pair:1;
88
+ unsigned short ref_count; /* garbage collection */
89
+ KeySym keysym;
90
+ } LateBindings, *LateBindingsPtr;
91
+
92
+ typedef short ModifierMask;
93
+
94
+ typedef struct _ActionsRec *ActionPtr;
95
+ typedef struct _ActionsRec {
96
+ int idx; /* index into quarkTable to find proc */
97
+ String *params; /* pointer to array of params */
98
+ Cardinal num_params; /* number of params */
99
+ ActionPtr next; /* next action to perform */
100
+ } ActionRec;
101
+
102
+ typedef struct _XtStateRec *StatePtr;
103
+ typedef struct _XtStateRec {
104
+ unsigned int isCycleStart:1;
105
+ unsigned int isCycleEnd:1;
106
+ TMShortCard typeIndex;
107
+ TMShortCard modIndex;
108
+ ActionPtr actions; /* rhs list of actions to perform */
109
+ StatePtr nextLevel;
110
+ }StateRec;
111
+
112
+
113
+ #define XtTableReplace 0
114
+ #define XtTableAugment 1
115
+ #define XtTableOverride 2
116
+ #define XtTableUnmerge 3
117
+
118
+ typedef unsigned int _XtTranslateOp;
119
+
120
+ /*
121
+ * New Definitions
122
+ */
123
+ typedef struct _TMModifierMatchRec{
124
+ TMLongCard modifiers;
125
+ TMLongCard modifierMask;
126
+ LateBindingsPtr lateModifiers;
127
+ Boolean standard;
128
+ }TMModifierMatchRec;
129
+
130
+ typedef struct _TMTypeMatchRec{
131
+ TMLongCard eventType;
132
+ TMLongCard eventCode;
133
+ TMLongCard eventCodeMask;
134
+ MatchProc matchEvent;
135
+ }TMTypeMatchRec;
136
+
137
+ typedef struct _TMBranchHeadRec {
138
+ unsigned int isSimple:1;
139
+ unsigned int hasActions:1;
140
+ unsigned int hasCycles:1;
141
+ unsigned int more:13;
142
+ TMShortCard typeIndex;
143
+ TMShortCard modIndex;
144
+ }TMBranchHeadRec, *TMBranchHead;
145
+
146
+ /* NOTE: elements of this structure must match those of
147
+ * TMComplexStateTreeRec and TMParseStateTreeRec.
148
+ */
149
+ typedef struct _TMSimpleStateTreeRec{
150
+ unsigned int isSimple:1;
151
+ unsigned int isAccelerator:1;
152
+ unsigned int mappingNotifyInterest:1;
153
+ unsigned int refCount:13;
154
+ TMShortCard numBranchHeads;
155
+ TMShortCard numQuarks; /* # of entries in quarkTbl */
156
+ TMShortCard unused; /* to ensure same alignment */
157
+ TMBranchHeadRec *branchHeadTbl;
158
+ XrmQuark *quarkTbl; /* table of quarkified rhs*/
159
+ }TMSimpleStateTreeRec, *TMSimpleStateTree;
160
+
161
+ /* NOTE: elements of this structure must match those of
162
+ * TMSimpleStateTreeRec and TMParseStateTreeRec.
163
+ */
164
+ typedef struct _TMComplexStateTreeRec{
165
+ unsigned int isSimple:1;
166
+ unsigned int isAccelerator:1;
167
+ unsigned int mappingNotifyInterest:1;
168
+ unsigned int refCount:13;
169
+ TMShortCard numBranchHeads;
170
+ TMShortCard numQuarks; /* # of entries in quarkTbl */
171
+ TMShortCard numComplexBranchHeads;
172
+ TMBranchHeadRec *branchHeadTbl;
173
+ XrmQuark *quarkTbl; /* table of quarkified rhs*/
174
+ StatePtr *complexBranchHeadTbl;
175
+ }TMComplexStateTreeRec, *TMComplexStateTree;
176
+
177
+ /* NOTE: elements of this structure must match those of
178
+ * TMSimpleStateTreeRec and TMComplexStateTreeRec.
179
+ */
180
+ typedef struct _TMParseStateTreeRec{
181
+ unsigned int isSimple:1;
182
+ unsigned int isAccelerator:1;
183
+ unsigned int mappingNotifyInterest:1;
184
+ unsigned int isStackQuarks:1;
185
+ unsigned int isStackBranchHeads:1;
186
+ unsigned int isStackComplexBranchHeads:1;
187
+ unsigned int unused:10; /* to ensure correct alignment */
188
+ TMShortCard numBranchHeads;
189
+ TMShortCard numQuarks; /* # of entries in quarkTbl */
190
+ TMShortCard numComplexBranchHeads;
191
+ TMBranchHeadRec *branchHeadTbl;
192
+ XrmQuark *quarkTbl; /* table of quarkified rhs*/
193
+ StatePtr *complexBranchHeadTbl;
194
+ TMShortCard branchHeadTblSize;
195
+ TMShortCard quarkTblSize; /*total size of quarkTbl */
196
+ TMShortCard complexBranchHeadTblSize;
197
+ StatePtr head;
198
+ }TMParseStateTreeRec, *TMParseStateTree;
199
+
200
+ typedef union _TMStateTreeRec{
201
+ TMSimpleStateTreeRec simple;
202
+ TMParseStateTreeRec parse;
203
+ TMComplexStateTreeRec complex;
204
+ }*TMStateTree, **TMStateTreePtr, **TMStateTreeList;
205
+
206
+ typedef struct _TMSimpleBindProcsRec {
207
+ XtActionProc *procs;
208
+ }TMSimpleBindProcsRec, *TMSimpleBindProcs;
209
+
210
+ typedef struct _TMComplexBindProcsRec {
211
+ Widget widget; /*widgetID to pass to action Proc*/
212
+ XtTranslations aXlations;
213
+ XtActionProc *procs;
214
+ }TMComplexBindProcsRec, *TMComplexBindProcs;
215
+
216
+ typedef struct _TMSimpleBindDataRec {
217
+ unsigned int isComplex:1; /* must be first */
218
+ TMSimpleBindProcsRec bindTbl[1]; /* variable length */
219
+ }TMSimpleBindDataRec, *TMSimpleBindData;
220
+
221
+ typedef struct _TMComplexBindDataRec {
222
+ unsigned int isComplex:1; /* must be first */
223
+ struct _ATranslationData *accel_context; /* for GetValues */
224
+ TMComplexBindProcsRec bindTbl[1]; /* variable length */
225
+ }TMComplexBindDataRec, *TMComplexBindData;
226
+
227
+ typedef union _TMBindDataRec{
228
+ TMSimpleBindDataRec simple;
229
+ TMComplexBindDataRec complex;
230
+ }*TMBindData;
231
+
232
+ typedef struct _TranslationData{
233
+ unsigned char hasBindings; /* must be first */
234
+ unsigned char operation; /*replace,augment,override*/
235
+ TMShortCard numStateTrees;
236
+ struct _TranslationData *composers[2];
237
+ EventMask eventMask;
238
+ TMStateTree stateTreeTbl[1]; /* variable length */
239
+ }TranslationData;
240
+
241
+ /*
242
+ * ATranslations is returned by GetValues for translations that contain
243
+ * accelerators. The TM can differentiate between this and TranslationData
244
+ * (that don't have a bindTbl) by looking at the first field (hasBindings)
245
+ * of either structure. All ATranslationData structures associated with a
246
+ * widget are chained off the BindData record of the widget.
247
+ */
248
+ typedef struct _ATranslationData{
249
+ unsigned char hasBindings; /* must be first */
250
+ unsigned char operation;
251
+ struct _TranslationData *xlations; /* actual translations */
252
+ struct _ATranslationData *next; /* chain the contexts together */
253
+ TMComplexBindProcsRec bindTbl[1]; /* accelerator bindings */
254
+ }ATranslationData, *ATranslations;
255
+
256
+ typedef struct _TMConvertRec {
257
+ XtTranslations old; /* table to merge into */
258
+ XtTranslations new; /* table to merge from */
259
+ } TMConvertRec;
260
+
261
+ #define _XtEventTimerEventType ((TMLongCard)~0L)
262
+ #define KeysymModMask (1L<<27) /* private to TM */
263
+ #define AnyButtonMask (1L<<28) /* private to TM */
264
+
265
+ typedef struct _EventRec {
266
+ TMLongCard modifiers;
267
+ TMLongCard modifierMask;
268
+ LateBindingsPtr lateModifiers;
269
+ TMLongCard eventType;
270
+ TMLongCard eventCode;
271
+ TMLongCard eventCodeMask;
272
+ MatchProc matchEvent;
273
+ Boolean standard;
274
+ } Event;
275
+
276
+ typedef struct _EventSeqRec *EventSeqPtr;
277
+ typedef struct _EventSeqRec {
278
+ Event event; /* X event description */
279
+ StatePtr state; /* private to state table builder */
280
+ EventSeqPtr next; /* next event on line */
281
+ ActionPtr actions; /* r.h.s. list of actions to perform */
282
+ } EventSeqRec;
283
+
284
+ typedef EventSeqRec EventRec;
285
+ typedef EventSeqPtr EventPtr;
286
+
287
+ typedef struct _TMEventRec {
288
+ XEvent *xev;
289
+ Event event;
290
+ }TMEventRec;
291
+
292
+ typedef struct _ActionHookRec {
293
+ struct _ActionHookRec* next; /* must remain first */
294
+ XtAppContext app;
295
+ XtActionHookProc proc;
296
+ XtPointer closure;
297
+ } ActionHookRec, *ActionHook;
298
+
299
+ /* choose a number between 2 and 8 */
300
+ #define TMKEYCACHELOG2 6
301
+ #define TMKEYCACHESIZE (1<<TMKEYCACHELOG2)
302
+
303
+ typedef struct _KeyCacheRec {
304
+ unsigned char modifiers_return[256]; /* constant per KeyCode, key proc */
305
+ KeyCode keycode[TMKEYCACHESIZE];
306
+ unsigned char modifiers[TMKEYCACHESIZE];
307
+ KeySym keysym[TMKEYCACHESIZE];
308
+ } TMKeyCache;
309
+
310
+ typedef struct _TMKeyContextRec {
311
+ XEvent *event;
312
+ unsigned long serial;
313
+ KeySym keysym;
314
+ Modifiers modifiers;
315
+ TMKeyCache keycache; /* keep this last, to keep offsets to others small */
316
+ } TMKeyContextRec, *TMKeyContext;
317
+
318
+ typedef struct _TMGlobalRec{
319
+ TMTypeMatchRec **typeMatchSegmentTbl;
320
+ TMShortCard numTypeMatches;
321
+ TMShortCard numTypeMatchSegments;
322
+ TMShortCard typeMatchSegmentTblSize;
323
+ TMModifierMatchRec **modMatchSegmentTbl;
324
+ TMShortCard numModMatches;
325
+ TMShortCard numModMatchSegments;
326
+ TMShortCard modMatchSegmentTblSize;
327
+ Boolean newMatchSemantics;
328
+ #ifdef TRACE_TM
329
+ XtTranslations *tmTbl;
330
+ TMShortCard numTms;
331
+ TMShortCard tmTblSize;
332
+ struct _TMBindCacheRec **bindCacheTbl;
333
+ TMShortCard numBindCache;
334
+ TMShortCard bindCacheTblSize;
335
+ TMShortCard numLateBindings;
336
+ TMShortCard numBranchHeads;
337
+ TMShortCard numComplexStates;
338
+ TMShortCard numComplexActions;
339
+ #endif /* TRACE_TM */
340
+ }TMGlobalRec;
341
+
342
+ _XFUNCPROTOBEGIN
343
+
344
+ extern TMGlobalRec _XtGlobalTM;
345
+
346
+ #define TM_MOD_SEGMENT_SIZE 16
347
+ #define TM_TYPE_SEGMENT_SIZE 16
348
+
349
+ #define TMGetTypeMatch(idx) \
350
+ ((TMTypeMatch) \
351
+ &((_XtGlobalTM.typeMatchSegmentTbl[((idx) >> 4)])[(idx) & 15]))
352
+ #define TMGetModifierMatch(idx) \
353
+ ((TMModifierMatch) \
354
+ &((_XtGlobalTM.modMatchSegmentTbl[(idx) >> 4])[(idx) & 15]))
355
+
356
+ /* Useful Access Macros */
357
+ #define TMNewMatchSemantics() (_XtGlobalTM.newMatchSemantics)
358
+ #define TMBranchMore(branch) (branch->more)
359
+ #define TMComplexBranchHead(tree, br) \
360
+ (((TMComplexStateTree)tree)->complexBranchHeadTbl[TMBranchMore(br)])
361
+
362
+ #define TMGetComplexBindEntry(bindData, idx) \
363
+ ((TMComplexBindProcs)&(((TMComplexBindData)bindData)->bindTbl[idx]))
364
+
365
+ #define TMGetSimpleBindEntry(bindData, idx) \
366
+ ((TMSimpleBindProcs)&(((TMSimpleBindData)bindData)->bindTbl[idx]))
367
+
368
+
369
+ #define _InitializeKeysymTables(dpy, pd) \
370
+ if (pd->keysyms == NULL) \
371
+ _XtBuildKeysymTables(dpy, pd)
372
+
373
+ /*
374
+ * Internal Functions
375
+ */
376
+
377
+ extern void _XtPopup(
378
+ Widget /* widget */,
379
+ XtGrabKind /* grab_kind */,
380
+ _XtBoolean /* spring_loaded */
381
+ );
382
+
383
+ extern _XtString _XtPrintXlations(
384
+ Widget /* w */,
385
+ XtTranslations /* xlations */,
386
+ Widget /* accelWidget */,
387
+ _XtBoolean /* includeRHS */
388
+ );
389
+
390
+ extern void _XtRegisterGrabs(
391
+ Widget /* widget */
392
+ );
393
+
394
+ extern XtPointer _XtInitializeActionData(
395
+ struct _XtActionsRec * /* actions */,
396
+ Cardinal /* count */,
397
+ _XtBoolean /* inPlace */
398
+ );
399
+
400
+ extern void _XtAddEventSeqToStateTree(
401
+ EventSeqPtr /* eventSeq */,
402
+ TMParseStateTree /* stateTree */
403
+ );
404
+
405
+ extern Boolean _XtMatchUsingStandardMods(
406
+ TMTypeMatch /* typeMatch */,
407
+ TMModifierMatch /* modMatch */,
408
+ TMEventPtr /* eventSeq */
409
+ );
410
+
411
+ extern Boolean _XtMatchUsingDontCareMods(
412
+ TMTypeMatch /* typeMatch */,
413
+ TMModifierMatch /* modMatch */,
414
+ TMEventPtr /* eventSeq */
415
+ );
416
+
417
+ extern Boolean _XtRegularMatch(
418
+ TMTypeMatch /* typeMatch */,
419
+ TMModifierMatch /* modMatch */,
420
+ TMEventPtr /* eventSeq */
421
+ );
422
+
423
+ extern Boolean _XtMatchAtom(
424
+ TMTypeMatch /* typeMatch */,
425
+ TMModifierMatch /* modMatch */,
426
+ TMEventPtr /* eventSeq */
427
+ );
428
+
429
+ extern void _XtTranslateEvent(
430
+ Widget /* widget */,
431
+ XEvent* /* event */
432
+ );
433
+
434
+ #include "CallbackI.h"
435
+ #include "EventI.h"
436
+ #include "HookObjI.h"
437
+ #include "PassivGraI.h"
438
+ #include "ThreadsI.h"
439
+ #include "InitialI.h"
440
+ #include "ResourceI.h"
441
+ #include "StringDefs.h"
442
+
443
+ extern void _XtBuildKeysymTables(Display *dpy, XtPerDisplay pd);
444
+
445
+ #ifndef NO_MIT_HACKS
446
+ extern void _XtDisplayTranslations(
447
+ Widget /* widget */,
448
+ XEvent* /* event */,
449
+ String* /* params */,
450
+ Cardinal* /* num_params */
451
+ );
452
+
453
+ extern void _XtDisplayAccelerators(
454
+ Widget /* widget */,
455
+ XEvent* /* event */,
456
+ String* /* params */,
457
+ Cardinal* /* num_params */
458
+ );
459
+
460
+ extern void _XtDisplayInstalledAccelerators(
461
+ Widget /* widget */,
462
+ XEvent* /* event */,
463
+ String* /* params */,
464
+ Cardinal* /* num_params */
465
+ );
466
+ #endif /* ifndef NO_MIT_HACKS */
467
+
468
+ extern void _XtPopupInitialize(
469
+ XtAppContext /* app_context */
470
+ );
471
+
472
+ extern void _XtBindActions(
473
+ Widget /* widget */,
474
+ XtTM /* tm_rec */
475
+ );
476
+
477
+ extern Boolean _XtComputeLateBindings(
478
+ Display* /* dpy */,
479
+ LateBindingsPtr /* lateModifiers */,
480
+ Modifiers* /* computed */,
481
+ Modifiers* /* computedMask */
482
+ );
483
+
484
+ extern XtTranslations _XtCreateXlations(
485
+ TMStateTree * /* stateTrees */,
486
+ TMShortCard /* numStateTrees */,
487
+ XtTranslations /* first */,
488
+ XtTranslations /* second */
489
+ );
490
+
491
+ extern Boolean _XtCvtMergeTranslations(
492
+ Display* /* dpy */,
493
+ XrmValuePtr /* args */,
494
+ Cardinal* /* num_args */,
495
+ XrmValuePtr /* from */,
496
+ XrmValuePtr /* to */,
497
+ XtPointer* /* closure_ret */
498
+ );
499
+
500
+ void _XtRemoveStateTreeByIndex(
501
+ XtTranslations /* xlations */,
502
+ TMShortCard /* i */);
503
+
504
+ void _XtFreeTranslations(
505
+ XtAppContext /* app */,
506
+ XrmValuePtr /* toVal */,
507
+ XtPointer /* closure */,
508
+ XrmValuePtr /* args */,
509
+ Cardinal* /* num_args */
510
+ );
511
+
512
+ extern TMShortCard _XtGetModifierIndex(
513
+ Event* /* event */
514
+ );
515
+
516
+ extern TMShortCard _XtGetQuarkIndex(
517
+ TMParseStateTree /* stateTreePtr */,
518
+ XrmQuark /* quark */
519
+ );
520
+
521
+ extern XtTranslations _XtGetTranslationValue(
522
+ Widget /* widget */
523
+ );
524
+
525
+ extern TMShortCard _XtGetTypeIndex(
526
+ Event* /* event */
527
+ );
528
+
529
+ extern void _XtGrabInitialize(
530
+ XtAppContext /* app */
531
+ );
532
+
533
+ extern void _XtInstallTranslations(
534
+ Widget /* widget */
535
+ );
536
+
537
+ extern void _XtRemoveTranslations(
538
+ Widget /* widget */
539
+ );
540
+
541
+ extern void _XtDestroyTMData(
542
+ Widget /* widget */
543
+ );
544
+
545
+ extern void _XtMergeTranslations(
546
+ Widget /* widget */,
547
+ XtTranslations /* newXlations */,
548
+ _XtTranslateOp /* operation */
549
+ );
550
+
551
+ extern void _XtActionInitialize(
552
+ XtAppContext /* app */
553
+ );
554
+
555
+ extern TMStateTree _XtParseTreeToStateTree(
556
+ TMParseStateTree /* parseTree */
557
+ );
558
+
559
+ extern String _XtPrintActions(
560
+ ActionRec* /* actions */,
561
+ XrmQuark* /* quarkTbl */
562
+ );
563
+
564
+ extern String _XtPrintState(
565
+ TMStateTree /* stateTree */,
566
+ TMBranchHead /* branchHead */);
567
+
568
+ extern String _XtPrintEventSeq(
569
+ EventSeqPtr /* eventSeq */,
570
+ Display* /* dpy */
571
+ );
572
+
573
+ typedef Boolean (*_XtTraversalProc)(
574
+ StatePtr /* state */,
575
+ XtPointer /* data */
576
+ );
577
+
578
+ extern void _XtTraverseStateTree(
579
+ TMStateTree /* tree */,
580
+ _XtTraversalProc /* func */,
581
+ XtPointer /* data */
582
+ );
583
+
584
+ extern void _XtTranslateInitialize(
585
+ void
586
+ );
587
+
588
+ extern void _XtAddTMConverters(
589
+ ConverterTable /* table */
590
+ );
591
+
592
+ extern void _XtUnbindActions(
593
+ Widget /* widget */,
594
+ XtTranslations /* xlations */,
595
+ TMBindData /* bindData */
596
+ );
597
+
598
+ extern void _XtUnmergeTranslations(
599
+ Widget /* widget */,
600
+ XtTranslations /* xlations */
601
+ );
602
+
603
+ /* TMKey.c */
604
+ extern void _XtAllocTMContext(XtPerDisplay pd);
605
+
606
+ _XFUNCPROTOEND
data/miniconda3/include/X11/VarargsI.h ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1985, 1986, 1987, 1988, 1989, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+ */
26
+
27
+ #ifndef _VarargsI_h_
28
+ #define _VarargsI_h_
29
+
30
+ #include <stdarg.h>
31
+
32
+ /* private routines */
33
+
34
+ _XFUNCPROTOBEGIN
35
+
36
+ extern void _XtCountVaList(
37
+ va_list /*var*/, int* /*total_count*/, int* /*typed_count*/
38
+ );
39
+
40
+ extern void _XtVaToArgList(
41
+ Widget /*widget*/, va_list /*var*/, int /*max_count*/, ArgList* /*args_return*/, Cardinal* /*num_args_return*/
42
+ );
43
+
44
+ extern void _XtVaToTypedArgList(
45
+ va_list /*var*/, int /*count*/, XtTypedArgList* /*args_return*/, Cardinal* /*num_args_return*/
46
+ );
47
+
48
+ extern XtTypedArgList _XtVaCreateTypedArgList(
49
+ va_list /*var*/, int /*count*/
50
+ );
51
+
52
+ extern void _XtFreeArgList(
53
+ ArgList /*args*/, int /*total_count*/, int /*typed_count*/
54
+ );
55
+
56
+ extern void _XtGetApplicationResources(
57
+ Widget /*w*/, XtPointer /*base*/, XtResourceList /*resources*/, Cardinal /*num_resources*/, ArgList /*args*/, Cardinal /*num_args*/, XtTypedArgList /*typed_args*/, Cardinal /*num_typed_args*/
58
+ );
59
+
60
+ extern void _XtGetSubresources(
61
+ Widget /*w*/, XtPointer /*base*/, const char* /*name*/, const char* /*class*/, XtResourceList /*resources*/, Cardinal /*num_resources*/, ArgList /*args*/, Cardinal /*num_args*/, XtTypedArgList /*typed_args*/, Cardinal /*num_typed_args*/
62
+ );
63
+
64
+ _XFUNCPROTOEND
65
+
66
+ #endif /* _VarargsI_h_ */
data/miniconda3/include/X11/Vendor.h ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ #ifndef _XtVendor_h
49
+ #define _XtVendor_h
50
+
51
+ #include <X11/Intrinsic.h>
52
+
53
+ /***********************************************************************
54
+ *
55
+ * VendorShell Widget
56
+ *
57
+ ***********************************************************************/
58
+
59
+ /* Class record constants */
60
+
61
+ typedef struct _VendorShellClassRec *VendorShellWidgetClass;
62
+
63
+ _XFUNCPROTOBEGIN
64
+
65
+ externalref WidgetClass vendorShellWidgetClass;
66
+
67
+ _XFUNCPROTOEND
68
+
69
+ #endif /* _XtVendor_h */
70
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/VendorP.h ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+
48
+ /*
49
+ * VendorP.h - Private definitions for VendorShell widget
50
+ *
51
+ * Author: Paul Asente
52
+ * Digital Equipment Corporation
53
+ * Western Software Laboratory
54
+ * Date: Thu Dec 3, 1987
55
+ */
56
+
57
+ /***********************************************************************
58
+ *
59
+ * VendorShell Widget Private Data
60
+ *
61
+ ***********************************************************************/
62
+
63
+ #ifndef _XtVendorPrivate_h
64
+ #define _XtVendorPrivate_h
65
+
66
+ #include <X11/Vendor.h>
67
+
68
+ /* New fields for the VendorShell widget class record */
69
+
70
+ _XFUNCPROTOBEGIN
71
+
72
+ typedef struct {
73
+ XtPointer extension; /* pointer to extension record */
74
+ } VendorShellClassPart;
75
+
76
+ typedef struct _VendorShellClassRec {
77
+ CoreClassPart core_class;
78
+ CompositeClassPart composite_class;
79
+ ShellClassPart shell_class;
80
+ WMShellClassPart wm_shell_class;
81
+ VendorShellClassPart vendor_shell_class;
82
+ } VendorShellClassRec;
83
+
84
+ externalref VendorShellClassRec vendorShellClassRec;
85
+
86
+ /* New fields for the vendor shell widget. */
87
+
88
+ typedef struct {
89
+ int vendor_specific;
90
+ } VendorShellPart;
91
+
92
+ typedef struct {
93
+ CorePart core;
94
+ CompositePart composite;
95
+ ShellPart shell;
96
+ WMShellPart wm;
97
+ VendorShellPart vendor;
98
+ } VendorShellRec, *VendorShellWidget;
99
+
100
+ _XFUNCPROTOEND
101
+
102
+ #endif /* _XtVendorPrivate_h */
data/miniconda3/include/X11/X.h ADDED
@@ -0,0 +1,717 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Definitions for the X window system likely to be used by applications */
2
+
3
+ #ifndef X_H
4
+ #define X_H
5
+
6
+ /***********************************************************
7
+
8
+ Copyright 1987, 1998 The Open Group
9
+
10
+ Permission to use, copy, modify, distribute, and sell this software and its
11
+ documentation for any purpose is hereby granted without fee, provided that
12
+ the above copyright notice appear in all copies and that both that
13
+ copyright notice and this permission notice appear in supporting
14
+ documentation.
15
+
16
+ The above copyright notice and this permission notice shall be included in
17
+ all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+
26
+ Except as contained in this notice, the name of The Open Group shall not be
27
+ used in advertising or otherwise to promote the sale, use or other dealings
28
+ in this Software without prior written authorization from The Open Group.
29
+
30
+
31
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
32
+
33
+ All Rights Reserved
34
+
35
+ Permission to use, copy, modify, and distribute this software and its
36
+ documentation for any purpose and without fee is hereby granted,
37
+ provided that the above copyright notice appear in all copies and that
38
+ both that copyright notice and this permission notice appear in
39
+ supporting documentation, and that the name of Digital not be
40
+ used in advertising or publicity pertaining to distribution of the
41
+ software without specific, written prior permission.
42
+
43
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
44
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
46
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
47
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
48
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
49
+ SOFTWARE.
50
+
51
+ ******************************************************************/
52
+
53
+ #define X_PROTOCOL 11 /* current protocol version */
54
+ #define X_PROTOCOL_REVISION 0 /* current minor version */
55
+
56
+ /* Resources */
57
+
58
+ /*
59
+ * _XSERVER64 must ONLY be defined when compiling X server sources on
60
+ * systems where unsigned long is not 32 bits, must NOT be used in
61
+ * client or library code.
62
+ */
63
+ #ifndef _XSERVER64
64
+ # ifndef _XTYPEDEF_XID
65
+ # define _XTYPEDEF_XID
66
+ typedef unsigned long XID;
67
+ # endif
68
+ # ifndef _XTYPEDEF_MASK
69
+ # define _XTYPEDEF_MASK
70
+ typedef unsigned long Mask;
71
+ # endif
72
+ # ifndef _XTYPEDEF_ATOM
73
+ # define _XTYPEDEF_ATOM
74
+ typedef unsigned long Atom; /* Also in Xdefs.h */
75
+ # endif
76
+ typedef unsigned long VisualID;
77
+ typedef unsigned long Time;
78
+ #else
79
+ # include <X11/Xmd.h>
80
+ # ifndef _XTYPEDEF_XID
81
+ # define _XTYPEDEF_XID
82
+ typedef CARD32 XID;
83
+ # endif
84
+ # ifndef _XTYPEDEF_MASK
85
+ # define _XTYPEDEF_MASK
86
+ typedef CARD32 Mask;
87
+ # endif
88
+ # ifndef _XTYPEDEF_ATOM
89
+ # define _XTYPEDEF_ATOM
90
+ typedef CARD32 Atom;
91
+ # endif
92
+ typedef CARD32 VisualID;
93
+ typedef CARD32 Time;
94
+ #endif
95
+
96
+ typedef XID Window;
97
+ typedef XID Drawable;
98
+ #ifndef _XTYPEDEF_FONT
99
+ # define _XTYPEDEF_FONT
100
+ typedef XID Font;
101
+ #endif
102
+ typedef XID Pixmap;
103
+ typedef XID Cursor;
104
+ typedef XID Colormap;
105
+ typedef XID GContext;
106
+ typedef XID KeySym;
107
+
108
+ typedef unsigned char KeyCode;
109
+
110
+ /*****************************************************************
111
+ * RESERVED RESOURCE AND CONSTANT DEFINITIONS
112
+ *****************************************************************/
113
+
114
+ #ifndef None
115
+ #define None 0L /* universal null resource or null atom */
116
+ #endif
117
+
118
+ #define ParentRelative 1L /* background pixmap in CreateWindow
119
+ and ChangeWindowAttributes */
120
+
121
+ #define CopyFromParent 0L /* border pixmap in CreateWindow
122
+ and ChangeWindowAttributes
123
+ special VisualID and special window
124
+ class passed to CreateWindow */
125
+
126
+ #define PointerWindow 0L /* destination window in SendEvent */
127
+ #define InputFocus 1L /* destination window in SendEvent */
128
+
129
+ #define PointerRoot 1L /* focus window in SetInputFocus */
130
+
131
+ #define AnyPropertyType 0L /* special Atom, passed to GetProperty */
132
+
133
+ #define AnyKey 0L /* special Key Code, passed to GrabKey */
134
+
135
+ #define AnyButton 0L /* special Button Code, passed to GrabButton */
136
+
137
+ #define AllTemporary 0L /* special Resource ID passed to KillClient */
138
+
139
+ #define CurrentTime 0L /* special Time */
140
+
141
+ #define NoSymbol 0L /* special KeySym */
142
+
143
+ /*****************************************************************
144
+ * EVENT DEFINITIONS
145
+ *****************************************************************/
146
+
147
+ /* Input Event Masks. Used as event-mask window attribute and as arguments
148
+ to Grab requests. Not to be confused with event names. */
149
+
150
+ #define NoEventMask 0L
151
+ #define KeyPressMask (1L<<0)
152
+ #define KeyReleaseMask (1L<<1)
153
+ #define ButtonPressMask (1L<<2)
154
+ #define ButtonReleaseMask (1L<<3)
155
+ #define EnterWindowMask (1L<<4)
156
+ #define LeaveWindowMask (1L<<5)
157
+ #define PointerMotionMask (1L<<6)
158
+ #define PointerMotionHintMask (1L<<7)
159
+ #define Button1MotionMask (1L<<8)
160
+ #define Button2MotionMask (1L<<9)
161
+ #define Button3MotionMask (1L<<10)
162
+ #define Button4MotionMask (1L<<11)
163
+ #define Button5MotionMask (1L<<12)
164
+ #define ButtonMotionMask (1L<<13)
165
+ #define KeymapStateMask (1L<<14)
166
+ #define ExposureMask (1L<<15)
167
+ #define VisibilityChangeMask (1L<<16)
168
+ #define StructureNotifyMask (1L<<17)
169
+ #define ResizeRedirectMask (1L<<18)
170
+ #define SubstructureNotifyMask (1L<<19)
171
+ #define SubstructureRedirectMask (1L<<20)
172
+ #define FocusChangeMask (1L<<21)
173
+ #define PropertyChangeMask (1L<<22)
174
+ #define ColormapChangeMask (1L<<23)
175
+ #define OwnerGrabButtonMask (1L<<24)
176
+
177
+ /* Event names. Used in "type" field in XEvent structures. Not to be
178
+ confused with event masks above. They start from 2 because 0 and 1
179
+ are reserved in the protocol for errors and replies. */
180
+
181
+ #define KeyPress 2
182
+ #define KeyRelease 3
183
+ #define ButtonPress 4
184
+ #define ButtonRelease 5
185
+ #define MotionNotify 6
186
+ #define EnterNotify 7
187
+ #define LeaveNotify 8
188
+ #define FocusIn 9
189
+ #define FocusOut 10
190
+ #define KeymapNotify 11
191
+ #define Expose 12
192
+ #define GraphicsExpose 13
193
+ #define NoExpose 14
194
+ #define VisibilityNotify 15
195
+ #define CreateNotify 16
196
+ #define DestroyNotify 17
197
+ #define UnmapNotify 18
198
+ #define MapNotify 19
199
+ #define MapRequest 20
200
+ #define ReparentNotify 21
201
+ #define ConfigureNotify 22
202
+ #define ConfigureRequest 23
203
+ #define GravityNotify 24
204
+ #define ResizeRequest 25
205
+ #define CirculateNotify 26
206
+ #define CirculateRequest 27
207
+ #define PropertyNotify 28
208
+ #define SelectionClear 29
209
+ #define SelectionRequest 30
210
+ #define SelectionNotify 31
211
+ #define ColormapNotify 32
212
+ #define ClientMessage 33
213
+ #define MappingNotify 34
214
+ #define GenericEvent 35
215
+ #define LASTEvent 36 /* must be bigger than any event # */
216
+
217
+
218
+ /* Key masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer,
219
+ state in various key-, mouse-, and button-related events. */
220
+
221
+ #define ShiftMask (1<<0)
222
+ #define LockMask (1<<1)
223
+ #define ControlMask (1<<2)
224
+ #define Mod1Mask (1<<3)
225
+ #define Mod2Mask (1<<4)
226
+ #define Mod3Mask (1<<5)
227
+ #define Mod4Mask (1<<6)
228
+ #define Mod5Mask (1<<7)
229
+
230
+ /* modifier names. Used to build a SetModifierMapping request or
231
+ to read a GetModifierMapping request. These correspond to the
232
+ masks defined above. */
233
+ #define ShiftMapIndex 0
234
+ #define LockMapIndex 1
235
+ #define ControlMapIndex 2
236
+ #define Mod1MapIndex 3
237
+ #define Mod2MapIndex 4
238
+ #define Mod3MapIndex 5
239
+ #define Mod4MapIndex 6
240
+ #define Mod5MapIndex 7
241
+
242
+
243
+ /* button masks. Used in same manner as Key masks above. Not to be confused
244
+ with button names below. */
245
+
246
+ #define Button1Mask (1<<8)
247
+ #define Button2Mask (1<<9)
248
+ #define Button3Mask (1<<10)
249
+ #define Button4Mask (1<<11)
250
+ #define Button5Mask (1<<12)
251
+
252
+ #define AnyModifier (1<<15) /* used in GrabButton, GrabKey */
253
+
254
+
255
+ /* button names. Used as arguments to GrabButton and as detail in ButtonPress
256
+ and ButtonRelease events. Not to be confused with button masks above.
257
+ Note that 0 is already defined above as "AnyButton". */
258
+
259
+ #define Button1 1
260
+ #define Button2 2
261
+ #define Button3 3
262
+ #define Button4 4
263
+ #define Button5 5
264
+
265
+ /* Notify modes */
266
+
267
+ #define NotifyNormal 0
268
+ #define NotifyGrab 1
269
+ #define NotifyUngrab 2
270
+ #define NotifyWhileGrabbed 3
271
+
272
+ #define NotifyHint 1 /* for MotionNotify events */
273
+
274
+ /* Notify detail */
275
+
276
+ #define NotifyAncestor 0
277
+ #define NotifyVirtual 1
278
+ #define NotifyInferior 2
279
+ #define NotifyNonlinear 3
280
+ #define NotifyNonlinearVirtual 4
281
+ #define NotifyPointer 5
282
+ #define NotifyPointerRoot 6
283
+ #define NotifyDetailNone 7
284
+
285
+ /* Visibility notify */
286
+
287
+ #define VisibilityUnobscured 0
288
+ #define VisibilityPartiallyObscured 1
289
+ #define VisibilityFullyObscured 2
290
+
291
+ /* Circulation request */
292
+
293
+ #define PlaceOnTop 0
294
+ #define PlaceOnBottom 1
295
+
296
+ /* protocol families */
297
+
298
+ #define FamilyInternet 0 /* IPv4 */
299
+ #define FamilyDECnet 1
300
+ #define FamilyChaos 2
301
+ #define FamilyInternet6 6 /* IPv6 */
302
+
303
+ /* authentication families not tied to a specific protocol */
304
+ #define FamilyServerInterpreted 5
305
+
306
+ /* Property notification */
307
+
308
+ #define PropertyNewValue 0
309
+ #define PropertyDelete 1
310
+
311
+ /* Color Map notification */
312
+
313
+ #define ColormapUninstalled 0
314
+ #define ColormapInstalled 1
315
+
316
+ /* GrabPointer, GrabButton, GrabKeyboard, GrabKey Modes */
317
+
318
+ #define GrabModeSync 0
319
+ #define GrabModeAsync 1
320
+
321
+ /* GrabPointer, GrabKeyboard reply status */
322
+
323
+ #define GrabSuccess 0
324
+ #define AlreadyGrabbed 1
325
+ #define GrabInvalidTime 2
326
+ #define GrabNotViewable 3
327
+ #define GrabFrozen 4
328
+
329
+ /* AllowEvents modes */
330
+
331
+ #define AsyncPointer 0
332
+ #define SyncPointer 1
333
+ #define ReplayPointer 2
334
+ #define AsyncKeyboard 3
335
+ #define SyncKeyboard 4
336
+ #define ReplayKeyboard 5
337
+ #define AsyncBoth 6
338
+ #define SyncBoth 7
339
+
340
+ /* Used in SetInputFocus, GetInputFocus */
341
+
342
+ #define RevertToNone (int)None
343
+ #define RevertToPointerRoot (int)PointerRoot
344
+ #define RevertToParent 2
345
+
346
+ /*****************************************************************
347
+ * ERROR CODES
348
+ *****************************************************************/
349
+
350
+ #define Success 0 /* everything's okay */
351
+ #define BadRequest 1 /* bad request code */
352
+ #define BadValue 2 /* int parameter out of range */
353
+ #define BadWindow 3 /* parameter not a Window */
354
+ #define BadPixmap 4 /* parameter not a Pixmap */
355
+ #define BadAtom 5 /* parameter not an Atom */
356
+ #define BadCursor 6 /* parameter not a Cursor */
357
+ #define BadFont 7 /* parameter not a Font */
358
+ #define BadMatch 8 /* parameter mismatch */
359
+ #define BadDrawable 9 /* parameter not a Pixmap or Window */
360
+ #define BadAccess 10 /* depending on context:
361
+ - key/button already grabbed
362
+ - attempt to free an illegal
363
+ cmap entry
364
+ - attempt to store into a read-only
365
+ color map entry.
366
+ - attempt to modify the access control
367
+ list from other than the local host.
368
+ */
369
+ #define BadAlloc 11 /* insufficient resources */
370
+ #define BadColor 12 /* no such colormap */
371
+ #define BadGC 13 /* parameter not a GC */
372
+ #define BadIDChoice 14 /* choice not in range or already used */
373
+ #define BadName 15 /* font or color name doesn't exist */
374
+ #define BadLength 16 /* Request length incorrect */
375
+ #define BadImplementation 17 /* server is defective */
376
+
377
+ #define FirstExtensionError 128
378
+ #define LastExtensionError 255
379
+
380
+ /*****************************************************************
381
+ * WINDOW DEFINITIONS
382
+ *****************************************************************/
383
+
384
+ /* Window classes used by CreateWindow */
385
+ /* Note that CopyFromParent is already defined as 0 above */
386
+
387
+ #define InputOutput 1
388
+ #define InputOnly 2
389
+
390
+ /* Window attributes for CreateWindow and ChangeWindowAttributes */
391
+
392
+ #define CWBackPixmap (1L<<0)
393
+ #define CWBackPixel (1L<<1)
394
+ #define CWBorderPixmap (1L<<2)
395
+ #define CWBorderPixel (1L<<3)
396
+ #define CWBitGravity (1L<<4)
397
+ #define CWWinGravity (1L<<5)
398
+ #define CWBackingStore (1L<<6)
399
+ #define CWBackingPlanes (1L<<7)
400
+ #define CWBackingPixel (1L<<8)
401
+ #define CWOverrideRedirect (1L<<9)
402
+ #define CWSaveUnder (1L<<10)
403
+ #define CWEventMask (1L<<11)
404
+ #define CWDontPropagate (1L<<12)
405
+ #define CWColormap (1L<<13)
406
+ #define CWCursor (1L<<14)
407
+
408
+ /* ConfigureWindow structure */
409
+
410
+ #define CWX (1<<0)
411
+ #define CWY (1<<1)
412
+ #define CWWidth (1<<2)
413
+ #define CWHeight (1<<3)
414
+ #define CWBorderWidth (1<<4)
415
+ #define CWSibling (1<<5)
416
+ #define CWStackMode (1<<6)
417
+
418
+
419
+ /* Bit Gravity */
420
+
421
+ #define ForgetGravity 0
422
+ #define NorthWestGravity 1
423
+ #define NorthGravity 2
424
+ #define NorthEastGravity 3
425
+ #define WestGravity 4
426
+ #define CenterGravity 5
427
+ #define EastGravity 6
428
+ #define SouthWestGravity 7
429
+ #define SouthGravity 8
430
+ #define SouthEastGravity 9
431
+ #define StaticGravity 10
432
+
433
+ /* Window gravity + bit gravity above */
434
+
435
+ #define UnmapGravity 0
436
+
437
+ /* Used in CreateWindow for backing-store hint */
438
+
439
+ #define NotUseful 0
440
+ #define WhenMapped 1
441
+ #define Always 2
442
+
443
+ /* Used in GetWindowAttributes reply */
444
+
445
+ #define IsUnmapped 0
446
+ #define IsUnviewable 1
447
+ #define IsViewable 2
448
+
449
+ /* Used in ChangeSaveSet */
450
+
451
+ #define SetModeInsert 0
452
+ #define SetModeDelete 1
453
+
454
+ /* Used in ChangeCloseDownMode */
455
+
456
+ #define DestroyAll 0
457
+ #define RetainPermanent 1
458
+ #define RetainTemporary 2
459
+
460
+ /* Window stacking method (in configureWindow) */
461
+
462
+ #define Above 0
463
+ #define Below 1
464
+ #define TopIf 2
465
+ #define BottomIf 3
466
+ #define Opposite 4
467
+
468
+ /* Circulation direction */
469
+
470
+ #define RaiseLowest 0
471
+ #define LowerHighest 1
472
+
473
+ /* Property modes */
474
+
475
+ #define PropModeReplace 0
476
+ #define PropModePrepend 1
477
+ #define PropModeAppend 2
478
+
479
+ /*****************************************************************
480
+ * GRAPHICS DEFINITIONS
481
+ *****************************************************************/
482
+
483
+ /* graphics functions, as in GC.alu */
484
+
485
+ #define GXclear 0x0 /* 0 */
486
+ #define GXand 0x1 /* src AND dst */
487
+ #define GXandReverse 0x2 /* src AND NOT dst */
488
+ #define GXcopy 0x3 /* src */
489
+ #define GXandInverted 0x4 /* NOT src AND dst */
490
+ #define GXnoop 0x5 /* dst */
491
+ #define GXxor 0x6 /* src XOR dst */
492
+ #define GXor 0x7 /* src OR dst */
493
+ #define GXnor 0x8 /* NOT src AND NOT dst */
494
+ #define GXequiv 0x9 /* NOT src XOR dst */
495
+ #define GXinvert 0xa /* NOT dst */
496
+ #define GXorReverse 0xb /* src OR NOT dst */
497
+ #define GXcopyInverted 0xc /* NOT src */
498
+ #define GXorInverted 0xd /* NOT src OR dst */
499
+ #define GXnand 0xe /* NOT src OR NOT dst */
500
+ #define GXset 0xf /* 1 */
501
+
502
+ /* LineStyle */
503
+
504
+ #define LineSolid 0
505
+ #define LineOnOffDash 1
506
+ #define LineDoubleDash 2
507
+
508
+ /* capStyle */
509
+
510
+ #define CapNotLast 0
511
+ #define CapButt 1
512
+ #define CapRound 2
513
+ #define CapProjecting 3
514
+
515
+ /* joinStyle */
516
+
517
+ #define JoinMiter 0
518
+ #define JoinRound 1
519
+ #define JoinBevel 2
520
+
521
+ /* fillStyle */
522
+
523
+ #define FillSolid 0
524
+ #define FillTiled 1
525
+ #define FillStippled 2
526
+ #define FillOpaqueStippled 3
527
+
528
+ /* fillRule */
529
+
530
+ #define EvenOddRule 0
531
+ #define WindingRule 1
532
+
533
+ /* subwindow mode */
534
+
535
+ #define ClipByChildren 0
536
+ #define IncludeInferiors 1
537
+
538
+ /* SetClipRectangles ordering */
539
+
540
+ #define Unsorted 0
541
+ #define YSorted 1
542
+ #define YXSorted 2
543
+ #define YXBanded 3
544
+
545
+ /* CoordinateMode for drawing routines */
546
+
547
+ #define CoordModeOrigin 0 /* relative to the origin */
548
+ #define CoordModePrevious 1 /* relative to previous point */
549
+
550
+ /* Polygon shapes */
551
+
552
+ #define Complex 0 /* paths may intersect */
553
+ #define Nonconvex 1 /* no paths intersect, but not convex */
554
+ #define Convex 2 /* wholly convex */
555
+
556
+ /* Arc modes for PolyFillArc */
557
+
558
+ #define ArcChord 0 /* join endpoints of arc */
559
+ #define ArcPieSlice 1 /* join endpoints to center of arc */
560
+
561
+ /* GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into
562
+ GC.stateChanges */
563
+
564
+ #define GCFunction (1L<<0)
565
+ #define GCPlaneMask (1L<<1)
566
+ #define GCForeground (1L<<2)
567
+ #define GCBackground (1L<<3)
568
+ #define GCLineWidth (1L<<4)
569
+ #define GCLineStyle (1L<<5)
570
+ #define GCCapStyle (1L<<6)
571
+ #define GCJoinStyle (1L<<7)
572
+ #define GCFillStyle (1L<<8)
573
+ #define GCFillRule (1L<<9)
574
+ #define GCTile (1L<<10)
575
+ #define GCStipple (1L<<11)
576
+ #define GCTileStipXOrigin (1L<<12)
577
+ #define GCTileStipYOrigin (1L<<13)
578
+ #define GCFont (1L<<14)
579
+ #define GCSubwindowMode (1L<<15)
580
+ #define GCGraphicsExposures (1L<<16)
581
+ #define GCClipXOrigin (1L<<17)
582
+ #define GCClipYOrigin (1L<<18)
583
+ #define GCClipMask (1L<<19)
584
+ #define GCDashOffset (1L<<20)
585
+ #define GCDashList (1L<<21)
586
+ #define GCArcMode (1L<<22)
587
+
588
+ #define GCLastBit 22
589
+ /*****************************************************************
590
+ * FONTS
591
+ *****************************************************************/
592
+
593
+ /* used in QueryFont -- draw direction */
594
+
595
+ #define FontLeftToRight 0
596
+ #define FontRightToLeft 1
597
+
598
+ #define FontChange 255
599
+
600
+ /*****************************************************************
601
+ * IMAGING
602
+ *****************************************************************/
603
+
604
+ /* ImageFormat -- PutImage, GetImage */
605
+
606
+ #define XYBitmap 0 /* depth 1, XYFormat */
607
+ #define XYPixmap 1 /* depth == drawable depth */
608
+ #define ZPixmap 2 /* depth == drawable depth */
609
+
610
+ /*****************************************************************
611
+ * COLOR MAP STUFF
612
+ *****************************************************************/
613
+
614
+ /* For CreateColormap */
615
+
616
+ #define AllocNone 0 /* create map with no entries */
617
+ #define AllocAll 1 /* allocate entire map writeable */
618
+
619
+
620
+ /* Flags used in StoreNamedColor, StoreColors */
621
+
622
+ #define DoRed (1<<0)
623
+ #define DoGreen (1<<1)
624
+ #define DoBlue (1<<2)
625
+
626
+ /*****************************************************************
627
+ * CURSOR STUFF
628
+ *****************************************************************/
629
+
630
+ /* QueryBestSize Class */
631
+
632
+ #define CursorShape 0 /* largest size that can be displayed */
633
+ #define TileShape 1 /* size tiled fastest */
634
+ #define StippleShape 2 /* size stippled fastest */
635
+
636
+ /*****************************************************************
637
+ * KEYBOARD/POINTER STUFF
638
+ *****************************************************************/
639
+
640
+ #define AutoRepeatModeOff 0
641
+ #define AutoRepeatModeOn 1
642
+ #define AutoRepeatModeDefault 2
643
+
644
+ #define LedModeOff 0
645
+ #define LedModeOn 1
646
+
647
+ /* masks for ChangeKeyboardControl */
648
+
649
+ #define KBKeyClickPercent (1L<<0)
650
+ #define KBBellPercent (1L<<1)
651
+ #define KBBellPitch (1L<<2)
652
+ #define KBBellDuration (1L<<3)
653
+ #define KBLed (1L<<4)
654
+ #define KBLedMode (1L<<5)
655
+ #define KBKey (1L<<6)
656
+ #define KBAutoRepeatMode (1L<<7)
657
+
658
+ #define MappingSuccess 0
659
+ #define MappingBusy 1
660
+ #define MappingFailed 2
661
+
662
+ #define MappingModifier 0
663
+ #define MappingKeyboard 1
664
+ #define MappingPointer 2
665
+
666
+ /*****************************************************************
667
+ * SCREEN SAVER STUFF
668
+ *****************************************************************/
669
+
670
+ #define DontPreferBlanking 0
671
+ #define PreferBlanking 1
672
+ #define DefaultBlanking 2
673
+
674
+ #define DisableScreenSaver 0
675
+ #define DisableScreenInterval 0
676
+
677
+ #define DontAllowExposures 0
678
+ #define AllowExposures 1
679
+ #define DefaultExposures 2
680
+
681
+ /* for ForceScreenSaver */
682
+
683
+ #define ScreenSaverReset 0
684
+ #define ScreenSaverActive 1
685
+
686
+ /*****************************************************************
687
+ * HOSTS AND CONNECTIONS
688
+ *****************************************************************/
689
+
690
+ /* for ChangeHosts */
691
+
692
+ #define HostInsert 0
693
+ #define HostDelete 1
694
+
695
+ /* for ChangeAccessControl */
696
+
697
+ #define EnableAccess 1
698
+ #define DisableAccess 0
699
+
700
+ /* Display classes used in opening the connection
701
+ * Note that the statically allocated ones are even numbered and the
702
+ * dynamically changeable ones are odd numbered */
703
+
704
+ #define StaticGray 0
705
+ #define GrayScale 1
706
+ #define StaticColor 2
707
+ #define PseudoColor 3
708
+ #define TrueColor 4
709
+ #define DirectColor 5
710
+
711
+
712
+ /* Byte order used in imageByteOrder and bitmapBitOrder */
713
+
714
+ #define LSBFirst 0
715
+ #define MSBFirst 1
716
+
717
+ #endif /* X_H */
data/miniconda3/include/X11/XF86keysym.h ADDED
@@ -0,0 +1,487 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * XFree86 vendor specific keysyms.
3
+ *
4
+ * The XFree86 keysym range is 0x10080001 - 0x1008ffff.
5
+ *
6
+ * The XF86 set of keysyms is a catch-all set of defines for keysyms found
7
+ * on various multimedia keyboards. Originally specific to XFree86 they have
8
+ * been been adopted over time and are considered a "standard" part of X
9
+ * keysym definitions.
10
+ * XFree86 never properly commented these keysyms, so we have done our
11
+ * best to explain the semantic meaning of these keys.
12
+ *
13
+ * XFree86 has removed their mail archives of the period, that might have
14
+ * shed more light on some of these definitions. Until/unless we resurrect
15
+ * these archives, these are from memory and usage.
16
+ */
17
+
18
+ /*
19
+ * ModeLock
20
+ *
21
+ * This one is old, and not really used any more since XKB offers this
22
+ * functionality.
23
+ */
24
+
25
+ #define XF86XK_ModeLock 0x1008ff01 /* Mode Switch Lock */
26
+
27
+ /* Backlight controls. */
28
+ #define XF86XK_MonBrightnessUp 0x1008ff02 /* Monitor/panel brightness */
29
+ #define XF86XK_MonBrightnessDown 0x1008ff03 /* Monitor/panel brightness */
30
+ #define XF86XK_KbdLightOnOff 0x1008ff04 /* Keyboards may be lit */
31
+ #define XF86XK_KbdBrightnessUp 0x1008ff05 /* Keyboards may be lit */
32
+ #define XF86XK_KbdBrightnessDown 0x1008ff06 /* Keyboards may be lit */
33
+ #define XF86XK_MonBrightnessCycle 0x1008ff07 /* Monitor/panel brightness */
34
+
35
+ /*
36
+ * Keys found on some "Internet" keyboards.
37
+ */
38
+ #define XF86XK_Standby 0x1008ff10 /* System into standby mode */
39
+ #define XF86XK_AudioLowerVolume 0x1008ff11 /* Volume control down */
40
+ #define XF86XK_AudioMute 0x1008ff12 /* Mute sound from the system */
41
+ #define XF86XK_AudioRaiseVolume 0x1008ff13 /* Volume control up */
42
+ #define XF86XK_AudioPlay 0x1008ff14 /* Start playing of audio > */
43
+ #define XF86XK_AudioStop 0x1008ff15 /* Stop playing audio */
44
+ #define XF86XK_AudioPrev 0x1008ff16 /* Previous track */
45
+ #define XF86XK_AudioNext 0x1008ff17 /* Next track */
46
+ #define XF86XK_HomePage 0x1008ff18 /* Display user's home page */
47
+ #define XF86XK_Mail 0x1008ff19 /* Invoke user's mail program */
48
+ #define XF86XK_Start 0x1008ff1a /* Start application */
49
+ #define XF86XK_Search 0x1008ff1b /* Search */
50
+ #define XF86XK_AudioRecord 0x1008ff1c /* Record audio application */
51
+
52
+ /* These are sometimes found on PDA's (e.g. Palm, PocketPC or elsewhere) */
53
+ #define XF86XK_Calculator 0x1008ff1d /* Invoke calculator program */
54
+ #define XF86XK_Memo 0x1008ff1e /* Invoke Memo taking program */
55
+ #define XF86XK_ToDoList 0x1008ff1f /* Invoke To Do List program */
56
+ #define XF86XK_Calendar 0x1008ff20 /* Invoke Calendar program */
57
+ #define XF86XK_PowerDown 0x1008ff21 /* Deep sleep the system */
58
+ #define XF86XK_ContrastAdjust 0x1008ff22 /* Adjust screen contrast */
59
+ #define XF86XK_RockerUp 0x1008ff23 /* Rocker switches exist up */
60
+ #define XF86XK_RockerDown 0x1008ff24 /* and down */
61
+ #define XF86XK_RockerEnter 0x1008ff25 /* and let you press them */
62
+
63
+ /* Some more "Internet" keyboard symbols */
64
+ #define XF86XK_Back 0x1008ff26 /* Like back on a browser */
65
+ #define XF86XK_Forward 0x1008ff27 /* Like forward on a browser */
66
+ #define XF86XK_Stop 0x1008ff28 /* Stop current operation */
67
+ #define XF86XK_Refresh 0x1008ff29 /* Refresh the page */
68
+ #define XF86XK_PowerOff 0x1008ff2a /* Power off system entirely */
69
+ #define XF86XK_WakeUp 0x1008ff2b /* Wake up system from sleep */
70
+ #define XF86XK_Eject 0x1008ff2c /* Eject device (e.g. DVD) */
71
+ #define XF86XK_ScreenSaver 0x1008ff2d /* Invoke screensaver */
72
+ #define XF86XK_WWW 0x1008ff2e /* Invoke web browser */
73
+ #define XF86XK_Sleep 0x1008ff2f /* Put system to sleep */
74
+ #define XF86XK_Favorites 0x1008ff30 /* Show favorite locations */
75
+ #define XF86XK_AudioPause 0x1008ff31 /* Pause audio playing */
76
+ #define XF86XK_AudioMedia 0x1008ff32 /* Launch media collection app */
77
+ #define XF86XK_MyComputer 0x1008ff33 /* Display "My Computer" window */
78
+ #define XF86XK_VendorHome 0x1008ff34 /* Display vendor home web site */
79
+ #define XF86XK_LightBulb 0x1008ff35 /* Light bulb keys exist */
80
+ #define XF86XK_Shop 0x1008ff36 /* Display shopping web site */
81
+ #define XF86XK_History 0x1008ff37 /* Show history of web surfing */
82
+ #define XF86XK_OpenURL 0x1008ff38 /* Open selected URL */
83
+ #define XF86XK_AddFavorite 0x1008ff39 /* Add URL to favorites list */
84
+ #define XF86XK_HotLinks 0x1008ff3a /* Show "hot" links */
85
+ #define XF86XK_BrightnessAdjust 0x1008ff3b /* Invoke brightness adj. UI */
86
+ #define XF86XK_Finance 0x1008ff3c /* Display financial site */
87
+ #define XF86XK_Community 0x1008ff3d /* Display user's community */
88
+ #define XF86XK_AudioRewind 0x1008ff3e /* "rewind" audio track */
89
+ #define XF86XK_BackForward 0x1008ff3f /* ??? */
90
+ #define XF86XK_Launch0 0x1008ff40 /* Launch Application */
91
+ #define XF86XK_Launch1 0x1008ff41 /* Launch Application */
92
+ #define XF86XK_Launch2 0x1008ff42 /* Launch Application */
93
+ #define XF86XK_Launch3 0x1008ff43 /* Launch Application */
94
+ #define XF86XK_Launch4 0x1008ff44 /* Launch Application */
95
+ #define XF86XK_Launch5 0x1008ff45 /* Launch Application */
96
+ #define XF86XK_Launch6 0x1008ff46 /* Launch Application */
97
+ #define XF86XK_Launch7 0x1008ff47 /* Launch Application */
98
+ #define XF86XK_Launch8 0x1008ff48 /* Launch Application */
99
+ #define XF86XK_Launch9 0x1008ff49 /* Launch Application */
100
+ #define XF86XK_LaunchA 0x1008ff4a /* Launch Application */
101
+ #define XF86XK_LaunchB 0x1008ff4b /* Launch Application */
102
+ #define XF86XK_LaunchC 0x1008ff4c /* Launch Application */
103
+ #define XF86XK_LaunchD 0x1008ff4d /* Launch Application */
104
+ #define XF86XK_LaunchE 0x1008ff4e /* Launch Application */
105
+ #define XF86XK_LaunchF 0x1008ff4f /* Launch Application */
106
+
107
+ #define XF86XK_ApplicationLeft 0x1008ff50 /* switch to application, left */
108
+ #define XF86XK_ApplicationRight 0x1008ff51 /* switch to application, right*/
109
+ #define XF86XK_Book 0x1008ff52 /* Launch bookreader */
110
+ #define XF86XK_CD 0x1008ff53 /* Launch CD/DVD player */
111
+ #define XF86XK_Calculater 0x1008ff54 /* Launch Calculater */
112
+ #define XF86XK_Clear 0x1008ff55 /* Clear window, screen */
113
+ #define XF86XK_Close 0x1008ff56 /* Close window */
114
+ #define XF86XK_Copy 0x1008ff57 /* Copy selection */
115
+ #define XF86XK_Cut 0x1008ff58 /* Cut selection */
116
+ #define XF86XK_Display 0x1008ff59 /* Output switch key */
117
+ #define XF86XK_DOS 0x1008ff5a /* Launch DOS (emulation) */
118
+ #define XF86XK_Documents 0x1008ff5b /* Open documents window */
119
+ #define XF86XK_Excel 0x1008ff5c /* Launch spread sheet */
120
+ #define XF86XK_Explorer 0x1008ff5d /* Launch file explorer */
121
+ #define XF86XK_Game 0x1008ff5e /* Launch game */
122
+ #define XF86XK_Go 0x1008ff5f /* Go to URL */
123
+ #define XF86XK_iTouch 0x1008ff60 /* Logitech iTouch- don't use */
124
+ #define XF86XK_LogOff 0x1008ff61 /* Log off system */
125
+ #define XF86XK_Market 0x1008ff62 /* ?? */
126
+ #define XF86XK_Meeting 0x1008ff63 /* enter meeting in calendar */
127
+ #define XF86XK_MenuKB 0x1008ff65 /* distinguish keyboard from PB */
128
+ #define XF86XK_MenuPB 0x1008ff66 /* distinguish PB from keyboard */
129
+ #define XF86XK_MySites 0x1008ff67 /* Favourites */
130
+ #define XF86XK_New 0x1008ff68 /* New (folder, document... */
131
+ #define XF86XK_News 0x1008ff69 /* News */
132
+ #define XF86XK_OfficeHome 0x1008ff6a /* Office home (old Staroffice)*/
133
+ #define XF86XK_Open 0x1008ff6b /* Open */
134
+ #define XF86XK_Option 0x1008ff6c /* ?? */
135
+ #define XF86XK_Paste 0x1008ff6d /* Paste */
136
+ #define XF86XK_Phone 0x1008ff6e /* Launch phone; dial number */
137
+ #define XF86XK_Q 0x1008ff70 /* Compaq's Q - don't use */
138
+ #define XF86XK_Reply 0x1008ff72 /* Reply e.g., mail */
139
+ #define XF86XK_Reload 0x1008ff73 /* Reload web page, file, etc. */
140
+ #define XF86XK_RotateWindows 0x1008ff74 /* Rotate windows e.g. xrandr */
141
+ #define XF86XK_RotationPB 0x1008ff75 /* don't use */
142
+ #define XF86XK_RotationKB 0x1008ff76 /* don't use */
143
+ #define XF86XK_Save 0x1008ff77 /* Save (file, document, state */
144
+ #define XF86XK_ScrollUp 0x1008ff78 /* Scroll window/contents up */
145
+ #define XF86XK_ScrollDown 0x1008ff79 /* Scrool window/contentd down */
146
+ #define XF86XK_ScrollClick 0x1008ff7a /* Use XKB mousekeys instead */
147
+ #define XF86XK_Send 0x1008ff7b /* Send mail, file, object */
148
+ #define XF86XK_Spell 0x1008ff7c /* Spell checker */
149
+ #define XF86XK_SplitScreen 0x1008ff7d /* Split window or screen */
150
+ #define XF86XK_Support 0x1008ff7e /* Get support (??) */
151
+ #define XF86XK_TaskPane 0x1008ff7f /* Show tasks */
152
+ #define XF86XK_Terminal 0x1008ff80 /* Launch terminal emulator */
153
+ #define XF86XK_Tools 0x1008ff81 /* toolbox of desktop/app. */
154
+ #define XF86XK_Travel 0x1008ff82 /* ?? */
155
+ #define XF86XK_UserPB 0x1008ff84 /* ?? */
156
+ #define XF86XK_User1KB 0x1008ff85 /* ?? */
157
+ #define XF86XK_User2KB 0x1008ff86 /* ?? */
158
+ #define XF86XK_Video 0x1008ff87 /* Launch video player */
159
+ #define XF86XK_WheelButton 0x1008ff88 /* button from a mouse wheel */
160
+ #define XF86XK_Word 0x1008ff89 /* Launch word processor */
161
+ #define XF86XK_Xfer 0x1008ff8a
162
+ #define XF86XK_ZoomIn 0x1008ff8b /* zoom in view, map, etc. */
163
+ #define XF86XK_ZoomOut 0x1008ff8c /* zoom out view, map, etc. */
164
+
165
+ #define XF86XK_Away 0x1008ff8d /* mark yourself as away */
166
+ #define XF86XK_Messenger 0x1008ff8e /* as in instant messaging */
167
+ #define XF86XK_WebCam 0x1008ff8f /* Launch web camera app. */
168
+ #define XF86XK_MailForward 0x1008ff90 /* Forward in mail */
169
+ #define XF86XK_Pictures 0x1008ff91 /* Show pictures */
170
+ #define XF86XK_Music 0x1008ff92 /* Launch music application */
171
+
172
+ #define XF86XK_Battery 0x1008ff93 /* Display battery information */
173
+ #define XF86XK_Bluetooth 0x1008ff94 /* Enable/disable Bluetooth */
174
+ #define XF86XK_WLAN 0x1008ff95 /* Enable/disable WLAN */
175
+ #define XF86XK_UWB 0x1008ff96 /* Enable/disable UWB */
176
+
177
+ #define XF86XK_AudioForward 0x1008ff97 /* fast-forward audio track */
178
+ #define XF86XK_AudioRepeat 0x1008ff98 /* toggle repeat mode */
179
+ #define XF86XK_AudioRandomPlay 0x1008ff99 /* toggle shuffle mode */
180
+ #define XF86XK_Subtitle 0x1008ff9a /* cycle through subtitle */
181
+ #define XF86XK_AudioCycleTrack 0x1008ff9b /* cycle through audio tracks */
182
+ #define XF86XK_CycleAngle 0x1008ff9c /* cycle through angles */
183
+ #define XF86XK_FrameBack 0x1008ff9d /* video: go one frame back */
184
+ #define XF86XK_FrameForward 0x1008ff9e /* video: go one frame forward */
185
+ #define XF86XK_Time 0x1008ff9f /* display, or shows an entry for time seeking */
186
+ #define XF86XK_Select 0x1008ffa0 /* Select button on joypads and remotes */
187
+ #define XF86XK_View 0x1008ffa1 /* Show a view options/properties */
188
+ #define XF86XK_TopMenu 0x1008ffa2 /* Go to a top-level menu in a video */
189
+
190
+ #define XF86XK_Red 0x1008ffa3 /* Red button */
191
+ #define XF86XK_Green 0x1008ffa4 /* Green button */
192
+ #define XF86XK_Yellow 0x1008ffa5 /* Yellow button */
193
+ #define XF86XK_Blue 0x1008ffa6 /* Blue button */
194
+
195
+ #define XF86XK_Suspend 0x1008ffa7 /* Sleep to RAM */
196
+ #define XF86XK_Hibernate 0x1008ffa8 /* Sleep to disk */
197
+ #define XF86XK_TouchpadToggle 0x1008ffa9 /* Toggle between touchpad/trackstick */
198
+ #define XF86XK_TouchpadOn 0x1008ffb0 /* The touchpad got switched on */
199
+ #define XF86XK_TouchpadOff 0x1008ffb1 /* The touchpad got switched off */
200
+
201
+ #define XF86XK_AudioMicMute 0x1008ffb2 /* Mute the Mic from the system */
202
+
203
+ #define XF86XK_Keyboard 0x1008ffb3 /* User defined keyboard related action */
204
+
205
+ #define XF86XK_WWAN 0x1008ffb4 /* Toggle WWAN (LTE, UMTS, etc.) radio */
206
+ #define XF86XK_RFKill 0x1008ffb5 /* Toggle radios on/off */
207
+
208
+ #define XF86XK_AudioPreset 0x1008ffb6 /* Select equalizer preset, e.g. theatre-mode */
209
+
210
+ #define XF86XK_RotationLockToggle 0x1008ffb7 /* Toggle screen rotation lock on/off */
211
+
212
+ #define XF86XK_FullScreen 0x1008ffb8 /* Toggle fullscreen */
213
+
214
+ /* Keys for special action keys (hot keys) */
215
+ /* Virtual terminals on some operating systems */
216
+ #define XF86XK_Switch_VT_1 0x1008fe01
217
+ #define XF86XK_Switch_VT_2 0x1008fe02
218
+ #define XF86XK_Switch_VT_3 0x1008fe03
219
+ #define XF86XK_Switch_VT_4 0x1008fe04
220
+ #define XF86XK_Switch_VT_5 0x1008fe05
221
+ #define XF86XK_Switch_VT_6 0x1008fe06
222
+ #define XF86XK_Switch_VT_7 0x1008fe07
223
+ #define XF86XK_Switch_VT_8 0x1008fe08
224
+ #define XF86XK_Switch_VT_9 0x1008fe09
225
+ #define XF86XK_Switch_VT_10 0x1008fe0a
226
+ #define XF86XK_Switch_VT_11 0x1008fe0b
227
+ #define XF86XK_Switch_VT_12 0x1008fe0c
228
+
229
+ #define XF86XK_Ungrab 0x1008fe20 /* force ungrab */
230
+ #define XF86XK_ClearGrab 0x1008fe21 /* kill application with grab */
231
+ #define XF86XK_Next_VMode 0x1008fe22 /* next video mode available */
232
+ #define XF86XK_Prev_VMode 0x1008fe23 /* prev. video mode available */
233
+ #define XF86XK_LogWindowTree 0x1008fe24 /* print window tree to log */
234
+ #define XF86XK_LogGrabInfo 0x1008fe25 /* print all active grabs to log */
235
+
236
+
237
+ /*
238
+ * Reserved range for evdev symbols: 0x10081000-0x10081FFF
239
+ *
240
+ * Key syms within this range must match the Linux kernel
241
+ * input-event-codes.h file in the format:
242
+ * XF86XK_CamelCaseKernelName _EVDEVK(kernel value)
243
+ * For example, the kernel
244
+ * #define KEY_MACRO_RECORD_START 0x2b0
245
+ * effectively ends up as:
246
+ * #define XF86XK_MacroRecordStart 0x100812b0
247
+ *
248
+ * For historical reasons, some keysyms within the reserved range will be
249
+ * missing, most notably all "normal" keys that are mapped through default
250
+ * XKB layouts (e.g. KEY_Q).
251
+ *
252
+ * CamelCasing is done with a human control as last authority, e.g. see VOD
253
+ * instead of Vod for the Video on Demand key.
254
+ *
255
+ * The format for #defines is strict:
256
+ *
257
+ * #define XF86XK_FOO<tab...>_EVDEVK(0xABC)<tab><tab> |* kver KEY_FOO *|
258
+ *
259
+ * Where
260
+ * - alignment by tabs
261
+ * - the _EVDEVK macro must be used
262
+ * - the hex code must be in uppercase hex
263
+ * - the kernel version (kver) is in the form v5.10
264
+ * - kver and key name are within a slash-star comment (a pipe is used in
265
+ * this example for technical reasons)
266
+ * These #defines are parsed by scripts. Do not stray from the given format.
267
+ *
268
+ * Where the evdev keycode is mapped to a different symbol, please add a
269
+ * comment line starting with Use: but otherwise the same format, e.g.
270
+ * Use: XF86XK_RotationLockToggle _EVDEVK(0x231) v4.16 KEY_ROTATE_LOCK_TOGGLE
271
+ *
272
+ */
273
+ #define _EVDEVK(_v) (0x10081000 + _v)
274
+ /* Use: XF86XK_Eject _EVDEVK(0x0a2) KEY_EJECTCLOSECD */
275
+ /* Use: XF86XK_New _EVDEVK(0x0b5) v2.6.14 KEY_NEW */
276
+ /* Use: XK_Redo _EVDEVK(0x0b6) v2.6.14 KEY_REDO */
277
+ /* KEY_DASHBOARD has been mapped to LaunchB in xkeyboard-config since 2011 */
278
+ /* Use: XF86XK_LaunchB _EVDEVK(0x0cc) v2.6.28 KEY_DASHBOARD */
279
+ /* Use: XF86XK_Display _EVDEVK(0x0e3) v2.6.12 KEY_SWITCHVIDEOMODE */
280
+ /* Use: XF86XK_KbdLightOnOff _EVDEVK(0x0e4) v2.6.12 KEY_KBDILLUMTOGGLE */
281
+ /* Use: XF86XK_KbdBrightnessDown _EVDEVK(0x0e5) v2.6.12 KEY_KBDILLUMDOWN */
282
+ /* Use: XF86XK_KbdBrightnessUp _EVDEVK(0x0e6) v2.6.12 KEY_KBDILLUMUP */
283
+ /* Use: XF86XK_Send _EVDEVK(0x0e7) v2.6.14 KEY_SEND */
284
+ /* Use: XF86XK_Reply _EVDEVK(0x0e8) v2.6.14 KEY_REPLY */
285
+ /* Use: XF86XK_MailForward _EVDEVK(0x0e9) v2.6.14 KEY_FORWARDMAIL */
286
+ /* Use: XF86XK_Save _EVDEVK(0x0ea) v2.6.14 KEY_SAVE */
287
+ /* Use: XF86XK_Documents _EVDEVK(0x0eb) v2.6.14 KEY_DOCUMENTS */
288
+ /* Use: XF86XK_Battery _EVDEVK(0x0ec) v2.6.17 KEY_BATTERY */
289
+ /* Use: XF86XK_Bluetooth _EVDEVK(0x0ed) v2.6.19 KEY_BLUETOOTH */
290
+ /* Use: XF86XK_WLAN _EVDEVK(0x0ee) v2.6.19 KEY_WLAN */
291
+ /* Use: XF86XK_UWB _EVDEVK(0x0ef) v2.6.24 KEY_UWB */
292
+ /* Use: XF86XK_Next_VMode _EVDEVK(0x0f1) v2.6.23 KEY_VIDEO_NEXT */
293
+ /* Use: XF86XK_Prev_VMode _EVDEVK(0x0f2) v2.6.23 KEY_VIDEO_PREV */
294
+ /* Use: XF86XK_MonBrightnessCycle _EVDEVK(0x0f3) v2.6.23 KEY_BRIGHTNESS_CYCLE */
295
+ #define XF86XK_BrightnessAuto _EVDEVK(0x0f4) /* v3.16 KEY_BRIGHTNESS_AUTO */
296
+ #define XF86XK_DisplayOff _EVDEVK(0x0f5) /* v2.6.23 KEY_DISPLAY_OFF */
297
+ /* Use: XF86XK_WWAN _EVDEVK(0x0f6) v3.13 KEY_WWAN */
298
+ /* Use: XF86XK_RFKill _EVDEVK(0x0f7) v2.6.33 KEY_RFKILL */
299
+ /* Use: XF86XK_AudioMicMute _EVDEVK(0x0f8) v3.1 KEY_MICMUTE */
300
+ #define XF86XK_Info _EVDEVK(0x166) /* KEY_INFO */
301
+ /* Use: XF86XK_CycleAngle _EVDEVK(0x173) KEY_ANGLE */
302
+ /* Use: XF86XK_FullScreen _EVDEVK(0x174) v5.1 KEY_FULL_SCREEN */
303
+ #define XF86XK_AspectRatio _EVDEVK(0x177) /* v5.1 KEY_ASPECT_RATIO */
304
+ #define XF86XK_DVD _EVDEVK(0x185) /* KEY_DVD */
305
+ #define XF86XK_Audio _EVDEVK(0x188) /* KEY_AUDIO */
306
+ /* Use: XF86XK_Video _EVDEVK(0x189) KEY_VIDEO */
307
+ /* Use: XF86XK_Calendar _EVDEVK(0x18d) KEY_CALENDAR */
308
+ #define XF86XK_ChannelUp _EVDEVK(0x192) /* KEY_CHANNELUP */
309
+ #define XF86XK_ChannelDown _EVDEVK(0x193) /* KEY_CHANNELDOWN */
310
+ /* Use: XF86XK_AudioRandomPlay _EVDEVK(0x19a) KEY_SHUFFLE */
311
+ #define XF86XK_Break _EVDEVK(0x19b) /* KEY_BREAK */
312
+ #define XF86XK_VideoPhone _EVDEVK(0x1a0) /* v2.6.20 KEY_VIDEOPHONE */
313
+ /* Use: XF86XK_Game _EVDEVK(0x1a1) v2.6.20 KEY_GAMES */
314
+ /* Use: XF86XK_ZoomIn _EVDEVK(0x1a2) v2.6.20 KEY_ZOOMIN */
315
+ /* Use: XF86XK_ZoomOut _EVDEVK(0x1a3) v2.6.20 KEY_ZOOMOUT */
316
+ #define XF86XK_ZoomReset _EVDEVK(0x1a4) /* v2.6.20 KEY_ZOOMRESET */
317
+ /* Use: XF86XK_Word _EVDEVK(0x1a5) v2.6.20 KEY_WORDPROCESSOR */
318
+ #define XF86XK_Editor _EVDEVK(0x1a6) /* v2.6.20 KEY_EDITOR */
319
+ /* Use: XF86XK_Excel _EVDEVK(0x1a7) v2.6.20 KEY_SPREADSHEET */
320
+ #define XF86XK_GraphicsEditor _EVDEVK(0x1a8) /* v2.6.20 KEY_GRAPHICSEDITOR */
321
+ #define XF86XK_Presentation _EVDEVK(0x1a9) /* v2.6.20 KEY_PRESENTATION */
322
+ #define XF86XK_Database _EVDEVK(0x1aa) /* v2.6.20 KEY_DATABASE */
323
+ /* Use: XF86XK_News _EVDEVK(0x1ab) v2.6.20 KEY_NEWS */
324
+ #define XF86XK_Voicemail _EVDEVK(0x1ac) /* v2.6.20 KEY_VOICEMAIL */
325
+ #define XF86XK_Addressbook _EVDEVK(0x1ad) /* v2.6.20 KEY_ADDRESSBOOK */
326
+ /* Use: XF86XK_Messenger _EVDEVK(0x1ae) v2.6.20 KEY_MESSENGER */
327
+ #define XF86XK_DisplayToggle _EVDEVK(0x1af) /* v2.6.20 KEY_DISPLAYTOGGLE */
328
+ #define XF86XK_SpellCheck _EVDEVK(0x1b0) /* v2.6.24 KEY_SPELLCHECK */
329
+ /* Use: XF86XK_LogOff _EVDEVK(0x1b1) v2.6.24 KEY_LOGOFF */
330
+ /* Use: XK_dollar _EVDEVK(0x1b2) v2.6.24 KEY_DOLLAR */
331
+ /* Use: XK_EuroSign _EVDEVK(0x1b3) v2.6.24 KEY_EURO */
332
+ /* Use: XF86XK_FrameBack _EVDEVK(0x1b4) v2.6.24 KEY_FRAMEBACK */
333
+ /* Use: XF86XK_FrameForward _EVDEVK(0x1b5) v2.6.24 KEY_FRAMEFORWARD */
334
+ #define XF86XK_ContextMenu _EVDEVK(0x1b6) /* v2.6.24 KEY_CONTEXT_MENU */
335
+ #define XF86XK_MediaRepeat _EVDEVK(0x1b7) /* v2.6.26 KEY_MEDIA_REPEAT */
336
+ #define XF86XK_10ChannelsUp _EVDEVK(0x1b8) /* v2.6.38 KEY_10CHANNELSUP */
337
+ #define XF86XK_10ChannelsDown _EVDEVK(0x1b9) /* v2.6.38 KEY_10CHANNELSDOWN */
338
+ #define XF86XK_Images _EVDEVK(0x1ba) /* v2.6.39 KEY_IMAGES */
339
+ #define XF86XK_NotificationCenter _EVDEVK(0x1bc) /* v5.10 KEY_NOTIFICATION_CENTER */
340
+ #define XF86XK_PickupPhone _EVDEVK(0x1bd) /* v5.10 KEY_PICKUP_PHONE */
341
+ #define XF86XK_HangupPhone _EVDEVK(0x1be) /* v5.10 KEY_HANGUP_PHONE */
342
+ #define XF86XK_Fn _EVDEVK(0x1d0) /* KEY_FN */
343
+ #define XF86XK_Fn_Esc _EVDEVK(0x1d1) /* KEY_FN_ESC */
344
+ #define XF86XK_FnRightShift _EVDEVK(0x1e5) /* v5.10 KEY_FN_RIGHT_SHIFT */
345
+ /* Use: XK_braille_dot_1 _EVDEVK(0x1f1) v2.6.17 KEY_BRL_DOT1 */
346
+ /* Use: XK_braille_dot_2 _EVDEVK(0x1f2) v2.6.17 KEY_BRL_DOT2 */
347
+ /* Use: XK_braille_dot_3 _EVDEVK(0x1f3) v2.6.17 KEY_BRL_DOT3 */
348
+ /* Use: XK_braille_dot_4 _EVDEVK(0x1f4) v2.6.17 KEY_BRL_DOT4 */
349
+ /* Use: XK_braille_dot_5 _EVDEVK(0x1f5) v2.6.17 KEY_BRL_DOT5 */
350
+ /* Use: XK_braille_dot_6 _EVDEVK(0x1f6) v2.6.17 KEY_BRL_DOT6 */
351
+ /* Use: XK_braille_dot_7 _EVDEVK(0x1f7) v2.6.17 KEY_BRL_DOT7 */
352
+ /* Use: XK_braille_dot_8 _EVDEVK(0x1f8) v2.6.17 KEY_BRL_DOT8 */
353
+ /* Use: XK_braille_dot_9 _EVDEVK(0x1f9) v2.6.23 KEY_BRL_DOT9 */
354
+ /* Use: XK_braille_dot_1 _EVDEVK(0x1fa) v2.6.23 KEY_BRL_DOT10 */
355
+ #define XF86XK_Numeric0 _EVDEVK(0x200) /* v2.6.28 KEY_NUMERIC_0 */
356
+ #define XF86XK_Numeric1 _EVDEVK(0x201) /* v2.6.28 KEY_NUMERIC_1 */
357
+ #define XF86XK_Numeric2 _EVDEVK(0x202) /* v2.6.28 KEY_NUMERIC_2 */
358
+ #define XF86XK_Numeric3 _EVDEVK(0x203) /* v2.6.28 KEY_NUMERIC_3 */
359
+ #define XF86XK_Numeric4 _EVDEVK(0x204) /* v2.6.28 KEY_NUMERIC_4 */
360
+ #define XF86XK_Numeric5 _EVDEVK(0x205) /* v2.6.28 KEY_NUMERIC_5 */
361
+ #define XF86XK_Numeric6 _EVDEVK(0x206) /* v2.6.28 KEY_NUMERIC_6 */
362
+ #define XF86XK_Numeric7 _EVDEVK(0x207) /* v2.6.28 KEY_NUMERIC_7 */
363
+ #define XF86XK_Numeric8 _EVDEVK(0x208) /* v2.6.28 KEY_NUMERIC_8 */
364
+ #define XF86XK_Numeric9 _EVDEVK(0x209) /* v2.6.28 KEY_NUMERIC_9 */
365
+ #define XF86XK_NumericStar _EVDEVK(0x20a) /* v2.6.28 KEY_NUMERIC_STAR */
366
+ #define XF86XK_NumericPound _EVDEVK(0x20b) /* v2.6.28 KEY_NUMERIC_POUND */
367
+ #define XF86XK_NumericA _EVDEVK(0x20c) /* v4.1 KEY_NUMERIC_A */
368
+ #define XF86XK_NumericB _EVDEVK(0x20d) /* v4.1 KEY_NUMERIC_B */
369
+ #define XF86XK_NumericC _EVDEVK(0x20e) /* v4.1 KEY_NUMERIC_C */
370
+ #define XF86XK_NumericD _EVDEVK(0x20f) /* v4.1 KEY_NUMERIC_D */
371
+ #define XF86XK_CameraFocus _EVDEVK(0x210) /* v2.6.33 KEY_CAMERA_FOCUS */
372
+ #define XF86XK_WPSButton _EVDEVK(0x211) /* v2.6.34 KEY_WPS_BUTTON */
373
+ /* Use: XF86XK_TouchpadToggle _EVDEVK(0x212) v2.6.37 KEY_TOUCHPAD_TOGGLE */
374
+ /* Use: XF86XK_TouchpadOn _EVDEVK(0x213) v2.6.37 KEY_TOUCHPAD_ON */
375
+ /* Use: XF86XK_TouchpadOff _EVDEVK(0x214) v2.6.37 KEY_TOUCHPAD_OFF */
376
+ #define XF86XK_CameraZoomIn _EVDEVK(0x215) /* v2.6.39 KEY_CAMERA_ZOOMIN */
377
+ #define XF86XK_CameraZoomOut _EVDEVK(0x216) /* v2.6.39 KEY_CAMERA_ZOOMOUT */
378
+ #define XF86XK_CameraUp _EVDEVK(0x217) /* v2.6.39 KEY_CAMERA_UP */
379
+ #define XF86XK_CameraDown _EVDEVK(0x218) /* v2.6.39 KEY_CAMERA_DOWN */
380
+ #define XF86XK_CameraLeft _EVDEVK(0x219) /* v2.6.39 KEY_CAMERA_LEFT */
381
+ #define XF86XK_CameraRight _EVDEVK(0x21a) /* v2.6.39 KEY_CAMERA_RIGHT */
382
+ #define XF86XK_AttendantOn _EVDEVK(0x21b) /* v3.10 KEY_ATTENDANT_ON */
383
+ #define XF86XK_AttendantOff _EVDEVK(0x21c) /* v3.10 KEY_ATTENDANT_OFF */
384
+ #define XF86XK_AttendantToggle _EVDEVK(0x21d) /* v3.10 KEY_ATTENDANT_TOGGLE */
385
+ #define XF86XK_LightsToggle _EVDEVK(0x21e) /* v3.10 KEY_LIGHTS_TOGGLE */
386
+ #define XF86XK_ALSToggle _EVDEVK(0x230) /* v3.13 KEY_ALS_TOGGLE */
387
+ /* Use: XF86XK_RotationLockToggle _EVDEVK(0x231) v4.16 KEY_ROTATE_LOCK_TOGGLE */
388
+ #define XF86XK_Buttonconfig _EVDEVK(0x240) /* v3.16 KEY_BUTTONCONFIG */
389
+ #define XF86XK_Taskmanager _EVDEVK(0x241) /* v3.16 KEY_TASKMANAGER */
390
+ #define XF86XK_Journal _EVDEVK(0x242) /* v3.16 KEY_JOURNAL */
391
+ #define XF86XK_ControlPanel _EVDEVK(0x243) /* v3.16 KEY_CONTROLPANEL */
392
+ #define XF86XK_AppSelect _EVDEVK(0x244) /* v3.16 KEY_APPSELECT */
393
+ #define XF86XK_Screensaver _EVDEVK(0x245) /* v3.16 KEY_SCREENSAVER */
394
+ #define XF86XK_VoiceCommand _EVDEVK(0x246) /* v3.16 KEY_VOICECOMMAND */
395
+ #define XF86XK_Assistant _EVDEVK(0x247) /* v4.13 KEY_ASSISTANT */
396
+ /* Use: XK_ISO_Next_Group _EVDEVK(0x248) v5.2 KEY_KBD_LAYOUT_NEXT */
397
+ #define XF86XK_EmojiPicker _EVDEVK(0x249) /* v5.13 KEY_EMOJI_PICKER */
398
+ #define XF86XK_Dictate _EVDEVK(0x24a) /* v5.17 KEY_DICTATE */
399
+ #define XF86XK_CameraAccessEnable _EVDEVK(0x24b) /* v6.2 KEY_CAMERA_ACCESS_ENABLE */
400
+ #define XF86XK_CameraAccessDisable _EVDEVK(0x24c) /* v6.2 KEY_CAMERA_ACCESS_DISABLE */
401
+ #define XF86XK_CameraAccessToggle _EVDEVK(0x24d) /* v6.2 KEY_CAMERA_ACCESS_TOGGLE */
402
+ #define XF86XK_BrightnessMin _EVDEVK(0x250) /* v3.16 KEY_BRIGHTNESS_MIN */
403
+ #define XF86XK_BrightnessMax _EVDEVK(0x251) /* v3.16 KEY_BRIGHTNESS_MAX */
404
+ #define XF86XK_KbdInputAssistPrev _EVDEVK(0x260) /* v3.18 KEY_KBDINPUTASSIST_PREV */
405
+ #define XF86XK_KbdInputAssistNext _EVDEVK(0x261) /* v3.18 KEY_KBDINPUTASSIST_NEXT */
406
+ #define XF86XK_KbdInputAssistPrevgroup _EVDEVK(0x262) /* v3.18 KEY_KBDINPUTASSIST_PREVGROUP */
407
+ #define XF86XK_KbdInputAssistNextgroup _EVDEVK(0x263) /* v3.18 KEY_KBDINPUTASSIST_NEXTGROUP */
408
+ #define XF86XK_KbdInputAssistAccept _EVDEVK(0x264) /* v3.18 KEY_KBDINPUTASSIST_ACCEPT */
409
+ #define XF86XK_KbdInputAssistCancel _EVDEVK(0x265) /* v3.18 KEY_KBDINPUTASSIST_CANCEL */
410
+ #define XF86XK_RightUp _EVDEVK(0x266) /* v4.7 KEY_RIGHT_UP */
411
+ #define XF86XK_RightDown _EVDEVK(0x267) /* v4.7 KEY_RIGHT_DOWN */
412
+ #define XF86XK_LeftUp _EVDEVK(0x268) /* v4.7 KEY_LEFT_UP */
413
+ #define XF86XK_LeftDown _EVDEVK(0x269) /* v4.7 KEY_LEFT_DOWN */
414
+ #define XF86XK_RootMenu _EVDEVK(0x26a) /* v4.7 KEY_ROOT_MENU */
415
+ #define XF86XK_MediaTopMenu _EVDEVK(0x26b) /* v4.7 KEY_MEDIA_TOP_MENU */
416
+ #define XF86XK_Numeric11 _EVDEVK(0x26c) /* v4.7 KEY_NUMERIC_11 */
417
+ #define XF86XK_Numeric12 _EVDEVK(0x26d) /* v4.7 KEY_NUMERIC_12 */
418
+ #define XF86XK_AudioDesc _EVDEVK(0x26e) /* v4.7 KEY_AUDIO_DESC */
419
+ #define XF86XK_3DMode _EVDEVK(0x26f) /* v4.7 KEY_3D_MODE */
420
+ #define XF86XK_NextFavorite _EVDEVK(0x270) /* v4.7 KEY_NEXT_FAVORITE */
421
+ #define XF86XK_StopRecord _EVDEVK(0x271) /* v4.7 KEY_STOP_RECORD */
422
+ #define XF86XK_PauseRecord _EVDEVK(0x272) /* v4.7 KEY_PAUSE_RECORD */
423
+ #define XF86XK_VOD _EVDEVK(0x273) /* v4.7 KEY_VOD */
424
+ #define XF86XK_Unmute _EVDEVK(0x274) /* v4.7 KEY_UNMUTE */
425
+ #define XF86XK_FastReverse _EVDEVK(0x275) /* v4.7 KEY_FASTREVERSE */
426
+ #define XF86XK_SlowReverse _EVDEVK(0x276) /* v4.7 KEY_SLOWREVERSE */
427
+ #define XF86XK_Data _EVDEVK(0x277) /* v4.7 KEY_DATA */
428
+ #define XF86XK_OnScreenKeyboard _EVDEVK(0x278) /* v4.12 KEY_ONSCREEN_KEYBOARD */
429
+ #define XF86XK_PrivacyScreenToggle _EVDEVK(0x279) /* v5.5 KEY_PRIVACY_SCREEN_TOGGLE */
430
+ #define XF86XK_SelectiveScreenshot _EVDEVK(0x27a) /* v5.6 KEY_SELECTIVE_SCREENSHOT */
431
+ #define XF86XK_NextElement _EVDEVK(0x27b) /* v5.18 KEY_NEXT_ELEMENT */
432
+ #define XF86XK_PreviousElement _EVDEVK(0x27c) /* v5.18 KEY_PREVIOUS_ELEMENT */
433
+ #define XF86XK_AutopilotEngageToggle _EVDEVK(0x27d) /* v5.18 KEY_AUTOPILOT_ENGAGE_TOGGLE */
434
+ #define XF86XK_MarkWaypoint _EVDEVK(0x27e) /* v5.18 KEY_MARK_WAYPOINT */
435
+ #define XF86XK_Sos _EVDEVK(0x27f) /* v5.18 KEY_SOS */
436
+ #define XF86XK_NavChart _EVDEVK(0x280) /* v5.18 KEY_NAV_CHART */
437
+ #define XF86XK_FishingChart _EVDEVK(0x281) /* v5.18 KEY_FISHING_CHART */
438
+ #define XF86XK_SingleRangeRadar _EVDEVK(0x282) /* v5.18 KEY_SINGLE_RANGE_RADAR */
439
+ #define XF86XK_DualRangeRadar _EVDEVK(0x283) /* v5.18 KEY_DUAL_RANGE_RADAR */
440
+ #define XF86XK_RadarOverlay _EVDEVK(0x284) /* v5.18 KEY_RADAR_OVERLAY */
441
+ #define XF86XK_TraditionalSonar _EVDEVK(0x285) /* v5.18 KEY_TRADITIONAL_SONAR */
442
+ #define XF86XK_ClearvuSonar _EVDEVK(0x286) /* v5.18 KEY_CLEARVU_SONAR */
443
+ #define XF86XK_SidevuSonar _EVDEVK(0x287) /* v5.18 KEY_SIDEVU_SONAR */
444
+ #define XF86XK_NavInfo _EVDEVK(0x288) /* v5.18 KEY_NAV_INFO */
445
+ /* Use: XF86XK_BrightnessAdjust _EVDEVK(0x289) v5.18 KEY_BRIGHTNESS_MENU */
446
+ #define XF86XK_Macro1 _EVDEVK(0x290) /* v5.5 KEY_MACRO1 */
447
+ #define XF86XK_Macro2 _EVDEVK(0x291) /* v5.5 KEY_MACRO2 */
448
+ #define XF86XK_Macro3 _EVDEVK(0x292) /* v5.5 KEY_MACRO3 */
449
+ #define XF86XK_Macro4 _EVDEVK(0x293) /* v5.5 KEY_MACRO4 */
450
+ #define XF86XK_Macro5 _EVDEVK(0x294) /* v5.5 KEY_MACRO5 */
451
+ #define XF86XK_Macro6 _EVDEVK(0x295) /* v5.5 KEY_MACRO6 */
452
+ #define XF86XK_Macro7 _EVDEVK(0x296) /* v5.5 KEY_MACRO7 */
453
+ #define XF86XK_Macro8 _EVDEVK(0x297) /* v5.5 KEY_MACRO8 */
454
+ #define XF86XK_Macro9 _EVDEVK(0x298) /* v5.5 KEY_MACRO9 */
455
+ #define XF86XK_Macro10 _EVDEVK(0x299) /* v5.5 KEY_MACRO10 */
456
+ #define XF86XK_Macro11 _EVDEVK(0x29a) /* v5.5 KEY_MACRO11 */
457
+ #define XF86XK_Macro12 _EVDEVK(0x29b) /* v5.5 KEY_MACRO12 */
458
+ #define XF86XK_Macro13 _EVDEVK(0x29c) /* v5.5 KEY_MACRO13 */
459
+ #define XF86XK_Macro14 _EVDEVK(0x29d) /* v5.5 KEY_MACRO14 */
460
+ #define XF86XK_Macro15 _EVDEVK(0x29e) /* v5.5 KEY_MACRO15 */
461
+ #define XF86XK_Macro16 _EVDEVK(0x29f) /* v5.5 KEY_MACRO16 */
462
+ #define XF86XK_Macro17 _EVDEVK(0x2a0) /* v5.5 KEY_MACRO17 */
463
+ #define XF86XK_Macro18 _EVDEVK(0x2a1) /* v5.5 KEY_MACRO18 */
464
+ #define XF86XK_Macro19 _EVDEVK(0x2a2) /* v5.5 KEY_MACRO19 */
465
+ #define XF86XK_Macro20 _EVDEVK(0x2a3) /* v5.5 KEY_MACRO20 */
466
+ #define XF86XK_Macro21 _EVDEVK(0x2a4) /* v5.5 KEY_MACRO21 */
467
+ #define XF86XK_Macro22 _EVDEVK(0x2a5) /* v5.5 KEY_MACRO22 */
468
+ #define XF86XK_Macro23 _EVDEVK(0x2a6) /* v5.5 KEY_MACRO23 */
469
+ #define XF86XK_Macro24 _EVDEVK(0x2a7) /* v5.5 KEY_MACRO24 */
470
+ #define XF86XK_Macro25 _EVDEVK(0x2a8) /* v5.5 KEY_MACRO25 */
471
+ #define XF86XK_Macro26 _EVDEVK(0x2a9) /* v5.5 KEY_MACRO26 */
472
+ #define XF86XK_Macro27 _EVDEVK(0x2aa) /* v5.5 KEY_MACRO27 */
473
+ #define XF86XK_Macro28 _EVDEVK(0x2ab) /* v5.5 KEY_MACRO28 */
474
+ #define XF86XK_Macro29 _EVDEVK(0x2ac) /* v5.5 KEY_MACRO29 */
475
+ #define XF86XK_Macro30 _EVDEVK(0x2ad) /* v5.5 KEY_MACRO30 */
476
+ #define XF86XK_MacroRecordStart _EVDEVK(0x2b0) /* v5.5 KEY_MACRO_RECORD_START */
477
+ #define XF86XK_MacroRecordStop _EVDEVK(0x2b1) /* v5.5 KEY_MACRO_RECORD_STOP */
478
+ #define XF86XK_MacroPresetCycle _EVDEVK(0x2b2) /* v5.5 KEY_MACRO_PRESET_CYCLE */
479
+ #define XF86XK_MacroPreset1 _EVDEVK(0x2b3) /* v5.5 KEY_MACRO_PRESET1 */
480
+ #define XF86XK_MacroPreset2 _EVDEVK(0x2b4) /* v5.5 KEY_MACRO_PRESET2 */
481
+ #define XF86XK_MacroPreset3 _EVDEVK(0x2b5) /* v5.5 KEY_MACRO_PRESET3 */
482
+ #define XF86XK_KbdLcdMenu1 _EVDEVK(0x2b8) /* v5.5 KEY_KBD_LCD_MENU1 */
483
+ #define XF86XK_KbdLcdMenu2 _EVDEVK(0x2b9) /* v5.5 KEY_KBD_LCD_MENU2 */
484
+ #define XF86XK_KbdLcdMenu3 _EVDEVK(0x2ba) /* v5.5 KEY_KBD_LCD_MENU3 */
485
+ #define XF86XK_KbdLcdMenu4 _EVDEVK(0x2bb) /* v5.5 KEY_KBD_LCD_MENU4 */
486
+ #define XF86XK_KbdLcdMenu5 _EVDEVK(0x2bc) /* v5.5 KEY_KBD_LCD_MENU5 */
487
+ #undef _EVDEVK
data/miniconda3/include/X11/XWDFile.h ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1985, 1986, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+ */
26
+
27
+ /*
28
+ * XWDFile.h MIT Project Athena, X Window system window raster
29
+ * image dumper, dump file format header file.
30
+ *
31
+ * Author: Tony Della Fera, DEC
32
+ * 27-Jun-85
33
+ *
34
+ * Modifier: William F. Wyatt, SAO
35
+ * 18-Nov-86 - version 6 for saving/restoring color maps
36
+ */
37
+
38
+ #ifndef XWDFILE_H
39
+ #define XWDFILE_H
40
+
41
+ #include <X11/Xmd.h>
42
+
43
+ #define XWD_FILE_VERSION 7
44
+ #define sz_XWDheader 100
45
+ #define sz_XWDColor 12
46
+
47
+ typedef CARD32 xwdval; /* for old broken programs */
48
+
49
+ /* Values in the file are most significant byte first. */
50
+
51
+ typedef struct _xwd_file_header {
52
+ /* header_size = SIZEOF(XWDheader) + length of null-terminated
53
+ * window name. */
54
+ CARD32 header_size;
55
+
56
+ CARD32 file_version; /* = XWD_FILE_VERSION above */
57
+ CARD32 pixmap_format; /* ZPixmap or XYPixmap */
58
+ CARD32 pixmap_depth; /* Pixmap depth */
59
+ CARD32 pixmap_width; /* Pixmap width */
60
+ CARD32 pixmap_height; /* Pixmap height */
61
+ CARD32 xoffset; /* Bitmap x offset, normally 0 */
62
+ CARD32 byte_order; /* of image data: MSBFirst, LSBFirst */
63
+
64
+ /* bitmap_unit applies to bitmaps (depth 1 format XY) only.
65
+ * It is the number of bits that each scanline is padded to. */
66
+ CARD32 bitmap_unit;
67
+
68
+ CARD32 bitmap_bit_order; /* bitmaps only: MSBFirst, LSBFirst */
69
+
70
+ /* bitmap_pad applies to pixmaps (non-bitmaps) only.
71
+ * It is the number of bits that each scanline is padded to. */
72
+ CARD32 bitmap_pad;
73
+
74
+ CARD32 bits_per_pixel; /* Bits per pixel */
75
+
76
+ /* bytes_per_line is pixmap_width padded to bitmap_unit (bitmaps)
77
+ * or bitmap_pad (pixmaps). It is the delta (in bytes) to get
78
+ * to the same x position on an adjacent row. */
79
+ CARD32 bytes_per_line;
80
+ CARD32 visual_class; /* Class of colormap */
81
+ CARD32 red_mask; /* Z red mask */
82
+ CARD32 green_mask; /* Z green mask */
83
+ CARD32 blue_mask; /* Z blue mask */
84
+ CARD32 bits_per_rgb; /* Log2 of distinct color values */
85
+ CARD32 colormap_entries; /* Number of entries in colormap; not used? */
86
+ CARD32 ncolors; /* Number of XWDColor structures */
87
+ CARD32 window_width; /* Window width */
88
+ CARD32 window_height; /* Window height */
89
+ CARD32 window_x; /* Window upper left X coordinate */
90
+ CARD32 window_y; /* Window upper left Y coordinate */
91
+ CARD32 window_bdrwidth; /* Window border width */
92
+ } XWDFileHeader;
93
+
94
+ /* Null-terminated window name follows the above structure. */
95
+
96
+ /* Next comes XWDColor structures, at offset XWDFileHeader.header_size in
97
+ * the file. XWDFileHeader.ncolors tells how many XWDColor structures
98
+ * there are.
99
+ */
100
+
101
+ typedef struct {
102
+ CARD32 pixel;
103
+ CARD16 red;
104
+ CARD16 green;
105
+ CARD16 blue;
106
+ CARD8 flags;
107
+ CARD8 pad;
108
+ } XWDColor;
109
+
110
+ /* Last comes the image data in the format described by XWDFileHeader. */
111
+
112
+ #endif /* XWDFILE_H */
113
+
data/miniconda3/include/X11/Xalloca.h ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1995, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
+ OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall
23
+ not be used in advertising or otherwise to promote the sale, use or
24
+ other dealings in this Software without prior written authorization
25
+ from The Open Group.
26
+
27
+ */
28
+ /*
29
+ * The purpose of this header is to define the macros ALLOCATE_LOCAL and
30
+ * DEALLOCATE_LOCAL appropriately for the platform being compiled on.
31
+ * These macros are used to make fast, function-local memory allocations.
32
+ * Their characteristics are as follows:
33
+ *
34
+ * void *ALLOCATE_LOCAL(size_t size)
35
+ * Returns a pointer to size bytes of memory, or NULL if the allocation
36
+ * failed. The memory must be freed with DEALLOCATE_LOCAL before the
37
+ * function that made the allocation returns. You should not ask for
38
+ * large blocks of memory with this function, since on many platforms
39
+ * the memory comes from the stack, which may have limited size.
40
+ *
41
+ * void DEALLOCATE_LOCAL(void *)
42
+ * Frees the memory allocated by ALLOCATE_LOCAL. Omission of this
43
+ * step may be harmless on some platforms, but will result in
44
+ * memory leaks or worse on others.
45
+ *
46
+ * Before including this file, you should define two macros,
47
+ * ALLOCATE_LOCAL_FALLBACK and DEALLOCATE_LOCAL_FALLBACK, that have the
48
+ * same characteristics as ALLOCATE_LOCAL and DEALLOCATE_LOCAL. The
49
+ * header uses the fallbacks if it doesn't know a "better" way to define
50
+ * ALLOCATE_LOCAL and DEALLOCATE_LOCAL. Typical usage would be:
51
+ *
52
+ * #define ALLOCATE_LOCAL_FALLBACK(_size) malloc(_size)
53
+ * #define DEALLOCATE_LOCAL_FALLBACK(_ptr) free(_ptr)
54
+ * #include "Xalloca.h"
55
+ */
56
+
57
+ #ifndef XALLOCA_H
58
+ #define XALLOCA_H 1
59
+
60
+ #ifndef INCLUDE_ALLOCA_H
61
+ /* Need to add more here to match Imake *.cf's */
62
+ # if defined(HAVE_ALLOCA_H) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
63
+ # define INCLUDE_ALLOCA_H
64
+ # endif
65
+ #endif
66
+
67
+ #ifdef INCLUDE_ALLOCA_H
68
+ # include <alloca.h>
69
+ #endif
70
+
71
+ #ifndef NO_ALLOCA
72
+ /*
73
+ * os-dependent definition of local allocation and deallocation
74
+ * If you want something other than (DE)ALLOCATE_LOCAL_FALLBACK
75
+ * for ALLOCATE/DEALLOCATE_LOCAL then you add that in here.
76
+ */
77
+
78
+
79
+ # ifdef __GNUC__
80
+ # ifndef alloca
81
+ # define alloca __builtin_alloca
82
+ # endif /* !alloca */
83
+ # define ALLOCATE_LOCAL(size) alloca((size_t)(size))
84
+ # else /* ! __GNUC__ */
85
+
86
+ /*
87
+ * warning: old mips alloca (pre 2.10) is unusable, new one is built in
88
+ * Test is easy, the new one is named __builtin_alloca and comes
89
+ * from alloca.h which #defines alloca.
90
+ */
91
+ # if defined(__sun) || defined(alloca)
92
+ /*
93
+ * Some System V boxes extract alloca.o from /lib/libPW.a; if you
94
+ * decide that you don't want to use alloca, you might want to fix it here.
95
+ */
96
+ /* alloca might be a macro taking one arg (hi, Sun!), so give it one. */
97
+ # if !defined(__cplusplus)
98
+ # define __Xnullarg /* as nothing */
99
+ extern void *alloca(__Xnullarg);
100
+ # endif
101
+ # define ALLOCATE_LOCAL(size) alloca((size_t)(size))
102
+ # endif /* who does alloca */
103
+ # endif /* __GNUC__ */
104
+
105
+ #endif /* NO_ALLOCA */
106
+
107
+ #if !defined(ALLOCATE_LOCAL)
108
+ # if defined(ALLOCATE_LOCAL_FALLBACK) && defined(DEALLOCATE_LOCAL_FALLBACK)
109
+ # define ALLOCATE_LOCAL(_size) ALLOCATE_LOCAL_FALLBACK(_size)
110
+ # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK(_ptr)
111
+ # else /* no fallbacks supplied; error */
112
+ # define ALLOCATE_LOCAL(_size) ALLOCATE_LOCAL_FALLBACK undefined!
113
+ # define DEALLOCATE_LOCAL(_ptr) DEALLOCATE_LOCAL_FALLBACK undefined!
114
+ # endif /* defined(ALLOCATE_LOCAL_FALLBACK && DEALLOCATE_LOCAL_FALLBACK) */
115
+ #else
116
+ # if !defined(DEALLOCATE_LOCAL)
117
+ # define DEALLOCATE_LOCAL(_ptr) do {} while(0)
118
+ # endif
119
+ #endif /* defined(ALLOCATE_LOCAL) */
120
+
121
+ #endif /* XALLOCA_H */
data/miniconda3/include/X11/Xarch.h ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef _XARCH_H_
2
+ # define _XARCH_H_
3
+
4
+ /*
5
+ * Copyright 1997 Metro Link Incorporated
6
+ *
7
+ * All Rights Reserved
8
+ *
9
+ * Permission to use, copy, modify, distribute, and sell this software and its
10
+ * documentation for any purpose is hereby granted without fee, provided that
11
+ * the above copyright notice appear in all copies and that both that
12
+ * copyright notice and this permission notice appear in supporting
13
+ * documentation, and that the names of the above listed copyright holder(s)
14
+ * not be used in advertising or publicity pertaining to distribution of
15
+ * the software without specific, written prior permission. The above listed
16
+ * copyright holder(s) make(s) no representations about the suitability of
17
+ * this software for any purpose. It is provided "as is" without express or
18
+ * implied warranty.
19
+ *
20
+ * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD
21
+ * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
+ * AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
23
+ * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
24
+ * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
25
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
26
+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27
+ */
28
+
29
+
30
+ /*
31
+ * Determine the machine's byte order.
32
+ */
33
+
34
+ /* See if it is set in the imake config first */
35
+ # ifdef X_BYTE_ORDER
36
+
37
+ # define X_BIG_ENDIAN 4321
38
+ # define X_LITTLE_ENDIAN 1234
39
+
40
+ # else
41
+
42
+ # if defined(SVR4) || defined(__SVR4)
43
+ # include <sys/types.h>
44
+ # include <sys/byteorder.h>
45
+ # elif defined(CSRG_BASED)
46
+ # if defined(__NetBSD__) || defined(__OpenBSD__)
47
+ # include <sys/types.h>
48
+ # endif
49
+ # include <machine/endian.h>
50
+ # elif defined(linux)
51
+ # if defined __STRICT_ANSI__
52
+ # undef __STRICT_ANSI__
53
+ # include <endian.h>
54
+ # define __STRICT_ANSI__
55
+ # else
56
+ # include <endian.h>
57
+ # endif
58
+ /* 'endian.h' might have been included before 'Xarch.h' */
59
+ # if !defined(LITTLE_ENDIAN) && defined(__LITTLE_ENDIAN)
60
+ # define LITTLE_ENDIAN __LITTLE_ENDIAN
61
+ # endif
62
+ # if !defined(BIG_ENDIAN) && defined(__BIG_ENDIAN)
63
+ # define BIG_ENDIAN __BIG_ENDIAN
64
+ # endif
65
+ # if !defined(PDP_ENDIAN) && defined(__PDP_ENDIAN)
66
+ # define PDP_ENDIAN __PDP_ENDIAN
67
+ # endif
68
+ # if !defined(BYTE_ORDER) && defined(__BYTE_ORDER)
69
+ # define BYTE_ORDER __BYTE_ORDER
70
+ # endif
71
+ # endif
72
+
73
+ # ifndef BYTE_ORDER
74
+ # define LITTLE_ENDIAN 1234
75
+ # define BIG_ENDIAN 4321
76
+
77
+ # if defined(__sun) && defined(__SVR4)
78
+ # include <sys/isa_defs.h>
79
+ # ifdef _LITTLE_ENDIAN
80
+ # define BYTE_ORDER LITTLE_ENDIAN
81
+ # endif
82
+ # ifdef _BIG_ENDIAN
83
+ # define BYTE_ORDER BIG_ENDIAN
84
+ # endif
85
+ # endif /* sun */
86
+ # endif /* BYTE_ORDER */
87
+
88
+ # define X_BYTE_ORDER BYTE_ORDER
89
+ # define X_BIG_ENDIAN BIG_ENDIAN
90
+ # define X_LITTLE_ENDIAN LITTLE_ENDIAN
91
+
92
+ # endif /* not in imake config */
93
+
94
+ #endif /* _XARCH_H_ */
data/miniconda3/include/X11/Xatom.h ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef XATOM_H
2
+ #define XATOM_H 1
3
+
4
+ /* THIS IS A GENERATED FILE
5
+ *
6
+ * Do not change! Changing this file implies a protocol change!
7
+ */
8
+
9
+ #define XA_PRIMARY ((Atom) 1)
10
+ #define XA_SECONDARY ((Atom) 2)
11
+ #define XA_ARC ((Atom) 3)
12
+ #define XA_ATOM ((Atom) 4)
13
+ #define XA_BITMAP ((Atom) 5)
14
+ #define XA_CARDINAL ((Atom) 6)
15
+ #define XA_COLORMAP ((Atom) 7)
16
+ #define XA_CURSOR ((Atom) 8)
17
+ #define XA_CUT_BUFFER0 ((Atom) 9)
18
+ #define XA_CUT_BUFFER1 ((Atom) 10)
19
+ #define XA_CUT_BUFFER2 ((Atom) 11)
20
+ #define XA_CUT_BUFFER3 ((Atom) 12)
21
+ #define XA_CUT_BUFFER4 ((Atom) 13)
22
+ #define XA_CUT_BUFFER5 ((Atom) 14)
23
+ #define XA_CUT_BUFFER6 ((Atom) 15)
24
+ #define XA_CUT_BUFFER7 ((Atom) 16)
25
+ #define XA_DRAWABLE ((Atom) 17)
26
+ #define XA_FONT ((Atom) 18)
27
+ #define XA_INTEGER ((Atom) 19)
28
+ #define XA_PIXMAP ((Atom) 20)
29
+ #define XA_POINT ((Atom) 21)
30
+ #define XA_RECTANGLE ((Atom) 22)
31
+ #define XA_RESOURCE_MANAGER ((Atom) 23)
32
+ #define XA_RGB_COLOR_MAP ((Atom) 24)
33
+ #define XA_RGB_BEST_MAP ((Atom) 25)
34
+ #define XA_RGB_BLUE_MAP ((Atom) 26)
35
+ #define XA_RGB_DEFAULT_MAP ((Atom) 27)
36
+ #define XA_RGB_GRAY_MAP ((Atom) 28)
37
+ #define XA_RGB_GREEN_MAP ((Atom) 29)
38
+ #define XA_RGB_RED_MAP ((Atom) 30)
39
+ #define XA_STRING ((Atom) 31)
40
+ #define XA_VISUALID ((Atom) 32)
41
+ #define XA_WINDOW ((Atom) 33)
42
+ #define XA_WM_COMMAND ((Atom) 34)
43
+ #define XA_WM_HINTS ((Atom) 35)
44
+ #define XA_WM_CLIENT_MACHINE ((Atom) 36)
45
+ #define XA_WM_ICON_NAME ((Atom) 37)
46
+ #define XA_WM_ICON_SIZE ((Atom) 38)
47
+ #define XA_WM_NAME ((Atom) 39)
48
+ #define XA_WM_NORMAL_HINTS ((Atom) 40)
49
+ #define XA_WM_SIZE_HINTS ((Atom) 41)
50
+ #define XA_WM_ZOOM_HINTS ((Atom) 42)
51
+ #define XA_MIN_SPACE ((Atom) 43)
52
+ #define XA_NORM_SPACE ((Atom) 44)
53
+ #define XA_MAX_SPACE ((Atom) 45)
54
+ #define XA_END_SPACE ((Atom) 46)
55
+ #define XA_SUPERSCRIPT_X ((Atom) 47)
56
+ #define XA_SUPERSCRIPT_Y ((Atom) 48)
57
+ #define XA_SUBSCRIPT_X ((Atom) 49)
58
+ #define XA_SUBSCRIPT_Y ((Atom) 50)
59
+ #define XA_UNDERLINE_POSITION ((Atom) 51)
60
+ #define XA_UNDERLINE_THICKNESS ((Atom) 52)
61
+ #define XA_STRIKEOUT_ASCENT ((Atom) 53)
62
+ #define XA_STRIKEOUT_DESCENT ((Atom) 54)
63
+ #define XA_ITALIC_ANGLE ((Atom) 55)
64
+ #define XA_X_HEIGHT ((Atom) 56)
65
+ #define XA_QUAD_WIDTH ((Atom) 57)
66
+ #define XA_WEIGHT ((Atom) 58)
67
+ #define XA_POINT_SIZE ((Atom) 59)
68
+ #define XA_RESOLUTION ((Atom) 60)
69
+ #define XA_COPYRIGHT ((Atom) 61)
70
+ #define XA_NOTICE ((Atom) 62)
71
+ #define XA_FONT_NAME ((Atom) 63)
72
+ #define XA_FAMILY_NAME ((Atom) 64)
73
+ #define XA_FULL_NAME ((Atom) 65)
74
+ #define XA_CAP_HEIGHT ((Atom) 66)
75
+ #define XA_WM_CLASS ((Atom) 67)
76
+ #define XA_WM_TRANSIENT_FOR ((Atom) 68)
77
+
78
+ #define XA_LAST_PREDEFINED ((Atom) 68)
79
+ #endif /* XATOM_H */
data/miniconda3/include/X11/Xauth.h ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1988, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+ */
26
+
27
+ #ifndef _Xauth_h
28
+ #define _Xauth_h
29
+
30
+ /* struct xauth is full of implicit padding to properly align the pointers
31
+ after the length fields. We can't clean that up without breaking ABI,
32
+ so tell clang not to bother complaining about it. */
33
+ #ifdef __clang__
34
+ #pragma clang diagnostic push
35
+ #pragma clang diagnostic ignored "-Wpadded"
36
+ #endif
37
+
38
+ typedef struct xauth {
39
+ unsigned short family;
40
+ unsigned short address_length;
41
+ char *address;
42
+ unsigned short number_length;
43
+ char *number;
44
+ unsigned short name_length;
45
+ char *name;
46
+ unsigned short data_length;
47
+ char *data;
48
+ } Xauth;
49
+
50
+ #ifdef __clang__
51
+ #pragma clang diagnostic pop
52
+ #endif
53
+
54
+ #ifndef _XAUTH_STRUCT_ONLY
55
+
56
+ # include <X11/Xfuncproto.h>
57
+ # include <X11/Xfuncs.h>
58
+
59
+ # include <stdio.h>
60
+
61
+ # define FamilyLocal (256) /* not part of X standard (i.e. X.h) */
62
+ # define FamilyWild (65535)
63
+ # define FamilyNetname (254) /* not part of X standard */
64
+ # define FamilyKrb5Principal (253) /* Kerberos 5 principal name */
65
+ # define FamilyLocalHost (252) /* for local non-net authentication */
66
+
67
+
68
+ _XFUNCPROTOBEGIN
69
+
70
+ #ifndef __has_attribute
71
+ # define __has_attribute(x) 0 /* Compatibility with older compilers */
72
+ #endif
73
+
74
+ #if __has_attribute(access)
75
+ # define XAU_ACCESS_ATTRIBUTE(X) __attribute__((access X))
76
+ #else
77
+ # define XAU_ACCESS_ATTRIBUTE(X)
78
+ #endif
79
+
80
+ #if __has_attribute(malloc)
81
+ # if defined(__clang__) || (defined(__GNUC__) && __GNUC__ < 11)
82
+ /* Clang or gcc do not support the optional deallocator argument */
83
+ # define XAU_MALLOC_ATTRIBUTE(X) __attribute__((malloc))
84
+ # else
85
+ # define XAU_MALLOC_ATTRIBUTE(X) __attribute__((malloc X))
86
+ # endif
87
+ #else
88
+ # define XAU_MALLOC_ATTRIBUTE(X)
89
+ #endif
90
+
91
+ char *XauFileName(void);
92
+
93
+ void XauDisposeAuth(
94
+ Xauth* /* auth */
95
+ );
96
+
97
+ XAU_MALLOC_ATTRIBUTE((XauDisposeAuth, 1))
98
+ Xauth *XauReadAuth(
99
+ FILE* /* auth_file */
100
+ );
101
+
102
+ XAU_ACCESS_ATTRIBUTE((read_only, 1)) /* file_name */
103
+ int XauLockAuth(
104
+ _Xconst char* /* file_name */,
105
+ int /* retries */,
106
+ int /* timeout */,
107
+ long /* dead */
108
+ );
109
+
110
+ XAU_ACCESS_ATTRIBUTE((read_only, 1)) /* file_name */
111
+ int XauUnlockAuth(
112
+ _Xconst char* /* file_name */
113
+ );
114
+
115
+ XAU_ACCESS_ATTRIBUTE((read_only, 2)) /* auth */
116
+ int XauWriteAuth(
117
+ FILE* /* auth_file */,
118
+ Xauth* /* auth */
119
+ );
120
+
121
+ XAU_ACCESS_ATTRIBUTE((read_only, 3, 2)) /* address */
122
+ XAU_ACCESS_ATTRIBUTE((read_only, 5, 4)) /* number */
123
+ XAU_ACCESS_ATTRIBUTE((read_only, 7, 6)) /* name */
124
+ Xauth *XauGetAuthByAddr(
125
+ #if NeedWidePrototypes
126
+ unsigned int /* family */,
127
+ unsigned int /* address_length */,
128
+ #else
129
+ unsigned short /* family */,
130
+ unsigned short /* address_length */,
131
+ #endif
132
+ _Xconst char* /* address */,
133
+ #if NeedWidePrototypes
134
+ unsigned int /* number_length */,
135
+ #else
136
+ unsigned short /* number_length */,
137
+ #endif
138
+ _Xconst char* /* number */,
139
+ #if NeedWidePrototypes
140
+ unsigned int /* name_length */,
141
+ #else
142
+ unsigned short /* name_length */,
143
+ #endif
144
+ _Xconst char* /* name */
145
+ );
146
+
147
+ XAU_ACCESS_ATTRIBUTE((read_only, 3, 2)) /* address */
148
+ XAU_ACCESS_ATTRIBUTE((read_only, 5, 4)) /* number */
149
+ XAU_ACCESS_ATTRIBUTE((read_only, 7, 6)) /* type_names */
150
+ XAU_ACCESS_ATTRIBUTE((read_only, 8, 6)) /* type_lengths */
151
+ Xauth *XauGetBestAuthByAddr(
152
+ #if NeedWidePrototypes
153
+ unsigned int /* family */,
154
+ unsigned int /* address_length */,
155
+ #else
156
+ unsigned short /* family */,
157
+ unsigned short /* address_length */,
158
+ #endif
159
+ _Xconst char* /* address */,
160
+ #if NeedWidePrototypes
161
+ unsigned int /* number_length */,
162
+ #else
163
+ unsigned short /* number_length */,
164
+ #endif
165
+ _Xconst char* /* number */,
166
+ int /* types_length */,
167
+ char** /* type_names */,
168
+ _Xconst int* /* type_lengths */
169
+ );
170
+
171
+ _XFUNCPROTOEND
172
+
173
+ /* Return values from XauLockAuth */
174
+
175
+ # define LOCK_SUCCESS 0 /* lock succeeded */
176
+ # define LOCK_ERROR 1 /* lock unexpectedly failed, check errno */
177
+ # define LOCK_TIMEOUT 2 /* lock failed, timeouts expired */
178
+
179
+ #endif /* _XAUTH_STRUCT_ONLY */
180
+
181
+ #endif /* _Xauth_h */
data/miniconda3/include/X11/Xcms.h ADDED
@@ -0,0 +1,815 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*
3
+ * Code and supporting documentation (c) Copyright 1990 1991 Tektronix, Inc.
4
+ * All Rights Reserved
5
+ *
6
+ * This file is a component of an X Window System-specific implementation
7
+ * of Xcms based on the TekColor Color Management System. Permission is
8
+ * hereby granted to use, copy, modify, sell, and otherwise distribute this
9
+ * software and its documentation for any purpose and without fee, provided
10
+ * that this copyright, permission, and disclaimer notice is reproduced in
11
+ * all copies of this software and in supporting documentation. TekColor
12
+ * is a trademark of Tektronix, Inc.
13
+ *
14
+ * Tektronix makes no representation about the suitability of this software
15
+ * for any purpose. It is provided "as is" and with all faults.
16
+ *
17
+ * TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE,
18
+ * INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
19
+ * PARTICULAR PURPOSE. IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY
20
+ * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
21
+ * RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER IN AN ACTION OF
22
+ * CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
23
+ * CONNECTION WITH THE USE OR THE PERFORMANCE OF THIS SOFTWARE.
24
+ *
25
+ *
26
+ * DESCRIPTION
27
+ * Public include file for X Color Management System
28
+ */
29
+ #ifndef _X11_XCMS_H_
30
+ #define _X11_XCMS_H_
31
+
32
+ #include <X11/Xlib.h>
33
+
34
+ /* The Xcms structs are full of implicit padding to properly align members.
35
+ We can't clean that up without breaking ABI, so tell clang not to bother
36
+ complaining about it. */
37
+ #ifdef __clang__
38
+ #pragma clang diagnostic push
39
+ #pragma clang diagnostic ignored "-Wpadded"
40
+ #endif
41
+
42
+ /*
43
+ * XCMS Status Values
44
+ */
45
+ #define XcmsFailure 0
46
+ #define XcmsSuccess 1
47
+ #define XcmsSuccessWithCompression 2
48
+
49
+ /*
50
+ * Color Space Format ID's
51
+ * Color Space ID's are of XcmsColorFormat type.
52
+ *
53
+ * bit 31
54
+ * 0 == Device-Independent
55
+ * 1 == Device-Dependent
56
+ *
57
+ * bit 30:
58
+ * 0 == Registered with X Consortium
59
+ * 1 == Unregistered
60
+ */
61
+ #define XcmsUndefinedFormat (XcmsColorFormat)0x00000000
62
+ #define XcmsCIEXYZFormat (XcmsColorFormat)0x00000001
63
+ #define XcmsCIEuvYFormat (XcmsColorFormat)0x00000002
64
+ #define XcmsCIExyYFormat (XcmsColorFormat)0x00000003
65
+ #define XcmsCIELabFormat (XcmsColorFormat)0x00000004
66
+ #define XcmsCIELuvFormat (XcmsColorFormat)0x00000005
67
+ #define XcmsTekHVCFormat (XcmsColorFormat)0x00000006
68
+ #define XcmsRGBFormat (XcmsColorFormat)0x80000000
69
+ #define XcmsRGBiFormat (XcmsColorFormat)0x80000001
70
+
71
+ /*
72
+ * State of XcmsPerScrnInfo
73
+ */
74
+ #define XcmsInitNone 0x00 /* no initialization attempted */
75
+ #define XcmsInitSuccess 0x01 /* initialization successful */
76
+ #define XcmsInitFailure 0xff /* failure, use defaults */
77
+
78
+ #define DisplayOfCCC(ccc) ((ccc)->dpy)
79
+ #define ScreenNumberOfCCC(ccc) ((ccc)->screenNumber)
80
+ #define VisualOfCCC(ccc) ((ccc)->visual)
81
+ #define ClientWhitePointOfCCC(ccc) (&(ccc)->clientWhitePt)
82
+ #define ScreenWhitePointOfCCC(ccc) (&(ccc)->pPerScrnInfo->screenWhitePt)
83
+ #define FunctionSetOfCCC(ccc) ((ccc)->pPerScrnInfo->functionSet)
84
+
85
+ typedef unsigned long XcmsColorFormat; /* Color Space Format ID */
86
+
87
+ typedef double XcmsFloat;
88
+
89
+ /*
90
+ * Device RGB
91
+ */
92
+ typedef struct {
93
+ unsigned short red; /* scaled from 0x0000 to 0xffff */
94
+ unsigned short green; /* scaled from 0x0000 to 0xffff */
95
+ unsigned short blue; /* scaled from 0x0000 to 0xffff */
96
+ } XcmsRGB;
97
+
98
+ /*
99
+ * RGB Intensity
100
+ */
101
+ typedef struct {
102
+ XcmsFloat red; /* 0.0 - 1.0 */
103
+ XcmsFloat green; /* 0.0 - 1.0 */
104
+ XcmsFloat blue; /* 0.0 - 1.0 */
105
+ } XcmsRGBi;
106
+
107
+ /*
108
+ * CIE XYZ
109
+ */
110
+ typedef struct {
111
+ XcmsFloat X;
112
+ XcmsFloat Y;
113
+ XcmsFloat Z;
114
+ } XcmsCIEXYZ;
115
+
116
+ /*
117
+ * CIE u'v'Y
118
+ */
119
+ typedef struct {
120
+ XcmsFloat u_prime; /* 0.0 - 1.0 */
121
+ XcmsFloat v_prime; /* 0.0 - 1.0 */
122
+ XcmsFloat Y; /* 0.0 - 1.0 */
123
+ } XcmsCIEuvY;
124
+
125
+ /*
126
+ * CIE xyY
127
+ */
128
+ typedef struct {
129
+ XcmsFloat x; /* 0.0 - 1.0 */
130
+ XcmsFloat y; /* 0.0 - 1.0 */
131
+ XcmsFloat Y; /* 0.0 - 1.0 */
132
+ } XcmsCIExyY;
133
+
134
+ /*
135
+ * CIE L*a*b*
136
+ */
137
+ typedef struct {
138
+ XcmsFloat L_star; /* 0.0 - 100.0 */
139
+ XcmsFloat a_star;
140
+ XcmsFloat b_star;
141
+ } XcmsCIELab;
142
+
143
+ /*
144
+ * CIE L*u*v*
145
+ */
146
+ typedef struct {
147
+ XcmsFloat L_star; /* 0.0 - 100.0 */
148
+ XcmsFloat u_star;
149
+ XcmsFloat v_star;
150
+ } XcmsCIELuv;
151
+
152
+ /*
153
+ * TekHVC
154
+ */
155
+ typedef struct {
156
+ XcmsFloat H; /* 0.0 - 360.0 */
157
+ XcmsFloat V; /* 0.0 - 100.0 */
158
+ XcmsFloat C; /* 0.0 - 100.0 */
159
+ } XcmsTekHVC;
160
+
161
+ /*
162
+ * PAD
163
+ */
164
+ typedef struct {
165
+ XcmsFloat pad0;
166
+ XcmsFloat pad1;
167
+ XcmsFloat pad2;
168
+ XcmsFloat pad3;
169
+ } XcmsPad;
170
+
171
+
172
+ /*
173
+ * XCMS Color Structure
174
+ */
175
+ typedef struct {
176
+ union {
177
+ XcmsRGB RGB;
178
+ XcmsRGBi RGBi;
179
+ XcmsCIEXYZ CIEXYZ;
180
+ XcmsCIEuvY CIEuvY;
181
+ XcmsCIExyY CIExyY;
182
+ XcmsCIELab CIELab;
183
+ XcmsCIELuv CIELuv;
184
+ XcmsTekHVC TekHVC;
185
+ XcmsPad Pad;
186
+ } spec; /* the color specification */
187
+ unsigned long pixel; /* pixel value (as needed) */
188
+ XcmsColorFormat format; /* the specification format */
189
+ } XcmsColor;
190
+
191
+
192
+ /*
193
+ * XCMS Per Screen related data
194
+ */
195
+
196
+ typedef struct _XcmsPerScrnInfo {
197
+ XcmsColor screenWhitePt; /* Screen White point */
198
+ XPointer functionSet; /* pointer to Screen Color Characterization */
199
+ /* Function Set structure */
200
+ XPointer screenData; /* pointer to corresponding Screen Color*/
201
+ /* Characterization Data */
202
+ unsigned char state; /* XcmsInitNone, XcmsInitSuccess, XcmsInitFailure */
203
+ char pad[3];
204
+ } XcmsPerScrnInfo;
205
+
206
+ typedef struct _XcmsCCC *XcmsCCC;
207
+
208
+ typedef Status (*XcmsCompressionProc)( /* Gamut Compression Proc */
209
+ XcmsCCC /* ccc */,
210
+ XcmsColor* /* colors_in_out */,
211
+ unsigned int /* ncolors */,
212
+ unsigned int /* index */,
213
+ Bool* /* compression_flags_return */
214
+ );
215
+
216
+ typedef Status (*XcmsWhiteAdjustProc)( /* White Point Adjust Proc */
217
+ XcmsCCC /* ccc */,
218
+ XcmsColor* /* initial_white_point*/,
219
+ XcmsColor* /* target_white_point*/,
220
+ XcmsColorFormat /* target_format */,
221
+ XcmsColor* /* colors_in_out */,
222
+ unsigned int /* ncolors */,
223
+ Bool* /* compression_flags_return */
224
+ );
225
+
226
+ /*
227
+ * XCMS Color Conversion Context
228
+ */
229
+ typedef struct _XcmsCCC {
230
+ Display *dpy; /* X Display */
231
+ int screenNumber; /* X screen number */
232
+ Visual *visual; /* X Visual */
233
+ XcmsColor clientWhitePt; /* Client White Point */
234
+ XcmsCompressionProc gamutCompProc; /* Gamut Compression Function */
235
+ XPointer gamutCompClientData; /* Gamut Comp Func Client Data */
236
+ XcmsWhiteAdjustProc whitePtAdjProc; /* White Point Adjustment Function */
237
+ XPointer whitePtAdjClientData; /* White Pt Adj Func Client Data */
238
+ XcmsPerScrnInfo *pPerScrnInfo; /* pointer to per screen information */
239
+ /* associated with the above display */
240
+ /* screenNumber */
241
+ } XcmsCCCRec;
242
+
243
+ typedef Status (*XcmsScreenInitProc)( /* Screen Initialization Proc */
244
+ Display* /* dpy */,
245
+ int /* screen_number */,
246
+ XcmsPerScrnInfo* /* screen_info */
247
+ );
248
+
249
+ typedef void (*XcmsScreenFreeProc)(
250
+ XPointer /* screenData */
251
+ );
252
+
253
+ /*
254
+ * Function List Pointer -- pointer to an array of function pointers.
255
+ * The end of list is indicated by a NULL pointer.
256
+ */
257
+ /*
258
+ * XXX: The use of the XcmsConversionProc type is broken. The
259
+ * device-independent colour conversion code uses it as:
260
+
261
+ typedef Status (*XcmsConversionProc)(XcmsCCC, XcmsColor *, XcmsColor *,
262
+ unsigned int);
263
+
264
+ * while the device-dependent code uses it as:
265
+
266
+ typedef Status (*XcmsConversionProc)(XcmsCCC, XcmsColor *, unsigned int,
267
+ Bool *);
268
+
269
+ * Until this is reworked, it's probably best to leave it unprotoized.
270
+ * The code works regardless.
271
+ */
272
+ typedef Status (*XcmsDDConversionProc)( /* using device-dependent version */
273
+ XcmsCCC /* ccc */,
274
+ XcmsColor* /* pcolors_in_out */,
275
+ unsigned int /* ncolors */,
276
+ Bool* /* pCompressed */
277
+ );
278
+
279
+ typedef Status (*XcmsDIConversionProc)( /* using device-independent version */
280
+ XcmsCCC /* ccc */,
281
+ XcmsColor* /* white_point */,
282
+ XcmsColor* /* pcolors_in_out */,
283
+ unsigned int /* ncolors */
284
+ );
285
+
286
+ typedef XcmsDIConversionProc XcmsConversionProc;
287
+ typedef XcmsConversionProc *XcmsFuncListPtr;
288
+
289
+ typedef int (*XcmsParseStringProc)( /* Color String Parsing Proc */
290
+ char* /* color_string */,
291
+ XcmsColor* /* color_return */
292
+ );
293
+
294
+ /*
295
+ * Color Space -- per Color Space related data (Device-Independent
296
+ * or Device-Dependent)
297
+ */
298
+ typedef struct _XcmsColorSpace {
299
+ const char *prefix; /* Prefix of string format. */
300
+ XcmsColorFormat id; /* Format ID number. */
301
+ XcmsParseStringProc parseString;
302
+ /* String format parsing function */
303
+ XcmsFuncListPtr to_CIEXYZ; /* Pointer to an array of function */
304
+ /* pointers such that when the */
305
+ /* functions are executed in sequence */
306
+ /* will convert a XcmsColor structure */
307
+ /* from this color space to CIEXYZ */
308
+ /* space. */
309
+ XcmsFuncListPtr from_CIEXYZ;/* Pointer to an array of function */
310
+ /* pointers such that when the */
311
+ /* functions are executed in sequence */
312
+ /* will convert a XcmsColor structure */
313
+ /* from CIEXYZ space to this color */
314
+ /* space. */
315
+ int inverse_flag; /* If 1, indicates that for 0 <= i < n */
316
+ /* where n is the number of function */
317
+ /* pointers in the lists to_CIEXYZ */
318
+ /* and from_CIEXYZ; for each function */
319
+ /* to_CIEXYZ[i] its inverse function */
320
+ /* is from_CIEXYZ[n - i]. */
321
+
322
+ } XcmsColorSpace;
323
+
324
+ /*
325
+ * Screen Color Characterization Function Set -- per device class
326
+ * color space conversion functions.
327
+ */
328
+ typedef struct _XcmsFunctionSet {
329
+ XcmsColorSpace **DDColorSpaces;
330
+ /* Pointer to an array of pointers to */
331
+ /* Device-DEPENDENT color spaces */
332
+ /* understood by this SCCFuncSet. */
333
+ XcmsScreenInitProc screenInitProc;
334
+ /* Screen initialization function that */
335
+ /* reads Screen Color Characterization*/
336
+ /* Data off properties on the screen's*/
337
+ /* root window. */
338
+ XcmsScreenFreeProc screenFreeProc;
339
+ /* Function that frees the SCCData */
340
+ /* structures. */
341
+ } XcmsFunctionSet;
342
+
343
+ _XFUNCPROTOBEGIN
344
+
345
+ extern Status XcmsAddColorSpace (
346
+ XcmsColorSpace* /* pColorSpace */
347
+ );
348
+
349
+ extern Status XcmsAddFunctionSet (
350
+ XcmsFunctionSet* /* functionSet */
351
+ );
352
+
353
+ extern Status XcmsAllocColor (
354
+ Display* /* dpy */,
355
+ Colormap /* colormap */,
356
+ XcmsColor* /* color_in_out */,
357
+ XcmsColorFormat /* result_format */
358
+ );
359
+
360
+ extern Status XcmsAllocNamedColor (
361
+ Display* /* dpy */,
362
+ Colormap /* colormap */,
363
+ _Xconst char* /* color_string */,
364
+ XcmsColor* /* color_scrn_return */,
365
+ XcmsColor* /* color_exact_return */,
366
+ XcmsColorFormat /* result_format */
367
+ );
368
+
369
+ extern XcmsCCC XcmsCCCOfColormap (
370
+ Display* /* dpy */,
371
+ Colormap /* colormap */
372
+ );
373
+
374
+ extern Status XcmsCIELabClipab(
375
+ XcmsCCC /* ccc */,
376
+ XcmsColor* /* colors_in_out */,
377
+ unsigned int /* ncolors */,
378
+ unsigned int /* index */,
379
+ Bool* /* compression_flags_return */
380
+ );
381
+
382
+ extern Status XcmsCIELabClipL(
383
+ XcmsCCC /* ccc */,
384
+ XcmsColor* /* colors_in_out */,
385
+ unsigned int /* ncolors */,
386
+ unsigned int /* index */,
387
+ Bool* /* compression_flags_return */
388
+ );
389
+
390
+ extern Status XcmsCIELabClipLab(
391
+ XcmsCCC /* ccc */,
392
+ XcmsColor* /* colors_in_out */,
393
+ unsigned int /* ncolors */,
394
+ unsigned int /* index */,
395
+ Bool* /* compression_flags_return */
396
+ );
397
+
398
+ extern Status XcmsCIELabQueryMaxC (
399
+ XcmsCCC /* ccc */,
400
+ XcmsFloat /* hue_angle */,
401
+ XcmsFloat /* L_star */,
402
+ XcmsColor* /* color_return */
403
+ );
404
+
405
+ extern Status XcmsCIELabQueryMaxL (
406
+ XcmsCCC /* ccc */,
407
+ XcmsFloat /* hue_angle */,
408
+ XcmsFloat /* chroma */,
409
+ XcmsColor* /* color_return */
410
+ );
411
+
412
+ extern Status XcmsCIELabQueryMaxLC (
413
+ XcmsCCC /* ccc */,
414
+ XcmsFloat /* hue_angle */,
415
+ XcmsColor* /* color_return */
416
+ );
417
+
418
+ extern Status XcmsCIELabQueryMinL (
419
+ XcmsCCC /* ccc */,
420
+ XcmsFloat /* hue_angle */,
421
+ XcmsFloat /* chroma */,
422
+ XcmsColor* /* color_return */
423
+ );
424
+
425
+ extern Status XcmsCIELabToCIEXYZ (
426
+ XcmsCCC /* ccc */,
427
+ XcmsColor* /* white_point */,
428
+ XcmsColor* /* colors */,
429
+ unsigned int /* ncolors */
430
+ );
431
+
432
+ extern Status XcmsCIELabWhiteShiftColors(
433
+ XcmsCCC /* ccc */,
434
+ XcmsColor* /* initial_white_point*/,
435
+ XcmsColor* /* target_white_point*/,
436
+ XcmsColorFormat /* target_format */,
437
+ XcmsColor* /* colors_in_out */,
438
+ unsigned int /* ncolors */,
439
+ Bool* /* compression_flags_return */
440
+ );
441
+
442
+ extern Status XcmsCIELuvClipL(
443
+ XcmsCCC /* ccc */,
444
+ XcmsColor* /* colors_in_out */,
445
+ unsigned int /* ncolors */,
446
+ unsigned int /* index */,
447
+ Bool* /* compression_flags_return */
448
+ );
449
+
450
+ extern Status XcmsCIELuvClipLuv(
451
+ XcmsCCC /* ccc */,
452
+ XcmsColor* /* colors_in_out */,
453
+ unsigned int /* ncolors */,
454
+ unsigned int /* index */,
455
+ Bool* /* compression_flags_return */
456
+ );
457
+
458
+ extern Status XcmsCIELuvClipuv(
459
+ XcmsCCC /* ccc */,
460
+ XcmsColor* /* colors_in_out */,
461
+ unsigned int /* ncolors */,
462
+ unsigned int /* index */,
463
+ Bool* /* compression_flags_return */
464
+ );
465
+
466
+ extern Status XcmsCIELuvQueryMaxC (
467
+ XcmsCCC /* ccc */,
468
+ XcmsFloat /* hue_angle */,
469
+ XcmsFloat /* L_star */,
470
+ XcmsColor* /* color_return */
471
+ );
472
+
473
+ extern Status XcmsCIELuvQueryMaxL (
474
+ XcmsCCC /* ccc */,
475
+ XcmsFloat /* hue_angle */,
476
+ XcmsFloat /* chroma */,
477
+ XcmsColor* /* color_return */
478
+ );
479
+
480
+ extern Status XcmsCIELuvQueryMaxLC (
481
+ XcmsCCC /* ccc */,
482
+ XcmsFloat /* hue_angle */,
483
+ XcmsColor* /* color_return */
484
+ );
485
+
486
+ extern Status XcmsCIELuvQueryMinL (
487
+ XcmsCCC /* ccc */,
488
+ XcmsFloat /* hue_angle */,
489
+ XcmsFloat /* chroma */,
490
+ XcmsColor* /* color_return */
491
+ );
492
+
493
+ extern Status XcmsCIELuvToCIEuvY (
494
+ XcmsCCC /* ccc */,
495
+ XcmsColor* /* white_point */,
496
+ XcmsColor* /* colors */,
497
+ unsigned int /* ncolors */
498
+ );
499
+
500
+ extern Status XcmsCIELuvWhiteShiftColors(
501
+ XcmsCCC /* ccc */,
502
+ XcmsColor* /* initial_white_point*/,
503
+ XcmsColor* /* target_white_point*/,
504
+ XcmsColorFormat /* target_format */,
505
+ XcmsColor* /* colors_in_out */,
506
+ unsigned int /* ncolors */,
507
+ Bool* /* compression_flags_return */
508
+ );
509
+
510
+ extern Status XcmsCIEXYZToCIELab (
511
+ XcmsCCC /* ccc */,
512
+ XcmsColor* /* white_point */,
513
+ XcmsColor* /* colors */,
514
+ unsigned int /* ncolors */
515
+ );
516
+
517
+ extern Status XcmsCIEXYZToCIEuvY (
518
+ XcmsCCC /* ccc */,
519
+ XcmsColor* /* white_point */,
520
+ XcmsColor* /* colors */,
521
+ unsigned int /* ncolors */
522
+ );
523
+
524
+ extern Status XcmsCIEXYZToCIExyY (
525
+ XcmsCCC /* ccc */,
526
+ XcmsColor* /* white_point */,
527
+ XcmsColor* /* colors */,
528
+ unsigned int /* ncolors */
529
+ );
530
+
531
+ extern Status XcmsCIEXYZToRGBi (
532
+ XcmsCCC /* ccc */,
533
+ XcmsColor* /* colors */,
534
+ unsigned int /* ncolors */,
535
+ Bool* /* compression_flags_return */
536
+ );
537
+
538
+ extern Status XcmsCIEuvYToCIELuv (
539
+ XcmsCCC /* ccc */,
540
+ XcmsColor* /* white_point */,
541
+ XcmsColor* /* colors */,
542
+ unsigned int /* ncolors */
543
+ );
544
+
545
+ extern Status XcmsCIEuvYToCIEXYZ (
546
+ XcmsCCC /* ccc */,
547
+ XcmsColor* /* white_point */,
548
+ XcmsColor* /* colors */,
549
+ unsigned int /* ncolors */
550
+ );
551
+
552
+ extern Status XcmsCIEuvYToTekHVC (
553
+ XcmsCCC /* ccc */,
554
+ XcmsColor* /* white_point */,
555
+ XcmsColor* /* colors */,
556
+ unsigned int /* ncolors */
557
+ );
558
+
559
+ extern Status XcmsCIExyYToCIEXYZ (
560
+ XcmsCCC /* ccc */,
561
+ XcmsColor* /* white_point */,
562
+ XcmsColor* /* colors */,
563
+ unsigned int /* ncolors */
564
+ );
565
+
566
+ extern XcmsColor *XcmsClientWhitePointOfCCC (
567
+ XcmsCCC /* ccc */
568
+ );
569
+
570
+ extern Status XcmsConvertColors (
571
+ XcmsCCC /* ccc */,
572
+ XcmsColor* /* colorArry_in_out */,
573
+ unsigned int /* nColors */,
574
+ XcmsColorFormat /* targetFormat */,
575
+ Bool* /* compArry_return */
576
+ );
577
+
578
+ extern XcmsCCC XcmsCreateCCC (
579
+ Display* /* dpy */,
580
+ int /* screenNumber */,
581
+ Visual* /* visual */,
582
+ XcmsColor* /* clientWhitePt */,
583
+ XcmsCompressionProc /* gamutCompProc */,
584
+ XPointer /* gamutCompClientData */,
585
+ XcmsWhiteAdjustProc /* whitePtAdjProc */,
586
+ XPointer /* whitePtAdjClientData */
587
+ );
588
+
589
+ extern XcmsCCC XcmsDefaultCCC (
590
+ Display* /* dpy */,
591
+ int /* screenNumber */
592
+ );
593
+
594
+ extern Display *XcmsDisplayOfCCC (
595
+ XcmsCCC /* ccc */
596
+ );
597
+
598
+ extern XcmsColorFormat XcmsFormatOfPrefix (
599
+ char* /* prefix */
600
+ );
601
+
602
+ extern void XcmsFreeCCC (
603
+ XcmsCCC /* ccc */
604
+ );
605
+
606
+ extern Status XcmsLookupColor (
607
+ Display* /* dpy */,
608
+ Colormap /* colormap */,
609
+ _Xconst char* /* color_string */,
610
+ XcmsColor* /* pColor_exact_in_out */,
611
+ XcmsColor* /* pColor_scrn_in_out */,
612
+ XcmsColorFormat /* result_format */
613
+ );
614
+
615
+ extern char *XcmsPrefixOfFormat (
616
+ XcmsColorFormat /* id */
617
+ );
618
+
619
+ extern Status XcmsQueryBlack (
620
+ XcmsCCC /* ccc */,
621
+ XcmsColorFormat /* target_format */,
622
+ XcmsColor* /* color_return */
623
+ );
624
+
625
+ extern Status XcmsQueryBlue (
626
+ XcmsCCC /* ccc */,
627
+ XcmsColorFormat /* target_format */,
628
+ XcmsColor* /* color_return */
629
+ );
630
+
631
+ extern Status XcmsQueryColor (
632
+ Display* /* dpy */,
633
+ Colormap /* colormap */,
634
+ XcmsColor* /* pColor_in_out */,
635
+ XcmsColorFormat /* result_format */
636
+ );
637
+
638
+ extern Status XcmsQueryColors (
639
+ Display* /* dpy */,
640
+ Colormap /* colormap */,
641
+ XcmsColor* /* colorArry_in_out */,
642
+ unsigned int /* nColors */,
643
+ XcmsColorFormat /* result_format */
644
+ );
645
+
646
+ extern Status XcmsQueryGreen (
647
+ XcmsCCC /* ccc */,
648
+ XcmsColorFormat /* target_format */,
649
+ XcmsColor* /* color_return */
650
+ );
651
+
652
+ extern Status XcmsQueryRed (
653
+ XcmsCCC /* ccc */,
654
+ XcmsColorFormat /* target_format */,
655
+ XcmsColor* /* color_return */
656
+ );
657
+
658
+ extern Status XcmsQueryWhite (
659
+ XcmsCCC /* ccc */,
660
+ XcmsColorFormat /* target_format */,
661
+ XcmsColor* /* color_return */
662
+ );
663
+
664
+ extern Status XcmsRGBiToCIEXYZ (
665
+ XcmsCCC /* ccc */,
666
+ XcmsColor* /* colors */,
667
+ unsigned int /* ncolors */,
668
+ Bool* /* compression_flags_return */
669
+ );
670
+
671
+ extern Status XcmsRGBiToRGB (
672
+ XcmsCCC /* ccc */,
673
+ XcmsColor* /* colors */,
674
+ unsigned int /* ncolors */,
675
+ Bool* /* compression_flags_return */
676
+ );
677
+
678
+ extern Status XcmsRGBToRGBi (
679
+ XcmsCCC /* ccc */,
680
+ XcmsColor* /* colors */,
681
+ unsigned int /* ncolors */,
682
+ Bool* /* compression_flags_return */
683
+ );
684
+
685
+ extern int XcmsScreenNumberOfCCC (
686
+ XcmsCCC /* ccc */
687
+ );
688
+
689
+ extern XcmsColor *XcmsScreenWhitePointOfCCC (
690
+ XcmsCCC /* ccc */
691
+ );
692
+
693
+ extern XcmsCCC XcmsSetCCCOfColormap(
694
+ Display* /* dpy */,
695
+ Colormap /* colormap */,
696
+ XcmsCCC /* ccc */
697
+ );
698
+
699
+ extern XcmsCompressionProc XcmsSetCompressionProc (
700
+ XcmsCCC /* ccc */,
701
+ XcmsCompressionProc /* compression_proc */,
702
+ XPointer /* client_data */
703
+ );
704
+
705
+ extern XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc (
706
+ XcmsCCC /* ccc */,
707
+ XcmsWhiteAdjustProc /* white_adjust_proc */,
708
+ XPointer /* client_data */
709
+ );
710
+
711
+ extern Status XcmsSetWhitePoint (
712
+ XcmsCCC /* ccc */,
713
+ XcmsColor* /* color */
714
+ );
715
+
716
+ extern Status XcmsStoreColor (
717
+ Display* /* dpy */,
718
+ Colormap /* colormap */,
719
+ XcmsColor* /* pColor_in */
720
+ );
721
+
722
+ extern Status XcmsStoreColors (
723
+ Display* /* dpy */,
724
+ Colormap /* colormap */,
725
+ XcmsColor* /* colorArry_in */,
726
+ unsigned int /* nColors */,
727
+ Bool* /* compArry_return */
728
+ );
729
+
730
+ extern Status XcmsTekHVCClipC(
731
+ XcmsCCC /* ccc */,
732
+ XcmsColor* /* colors_in_out */,
733
+ unsigned int /* ncolors */,
734
+ unsigned int /* index */,
735
+ Bool* /* compression_flags_return */
736
+ );
737
+
738
+ extern Status XcmsTekHVCClipV(
739
+ XcmsCCC /* ccc */,
740
+ XcmsColor* /* colors_in_out */,
741
+ unsigned int /* ncolors */,
742
+ unsigned int /* index */,
743
+ Bool* /* compression_flags_return */
744
+ );
745
+
746
+ extern Status XcmsTekHVCClipVC(
747
+ XcmsCCC /* ccc */,
748
+ XcmsColor* /* colors_in_out */,
749
+ unsigned int /* ncolors */,
750
+ unsigned int /* index */,
751
+ Bool* /* compression_flags_return */
752
+ );
753
+
754
+ extern Status XcmsTekHVCQueryMaxC (
755
+ XcmsCCC /* ccc */,
756
+ XcmsFloat /* hue */,
757
+ XcmsFloat /* value */,
758
+ XcmsColor* /* color_return */
759
+ );
760
+
761
+ extern Status XcmsTekHVCQueryMaxV (
762
+ XcmsCCC /* ccc */,
763
+ XcmsFloat /* hue */,
764
+ XcmsFloat /* chroma */,
765
+ XcmsColor* /* color_return */
766
+ );
767
+
768
+ extern Status XcmsTekHVCQueryMaxVC (
769
+ XcmsCCC /* ccc */,
770
+ XcmsFloat /* hue */,
771
+ XcmsColor* /* color_return */
772
+ );
773
+
774
+ extern Status XcmsTekHVCQueryMaxVSamples (
775
+ XcmsCCC /* ccc */,
776
+ XcmsFloat /* hue */,
777
+ XcmsColor* /* colors_return */,
778
+ unsigned int /* nsamples */
779
+ );
780
+
781
+ extern Status XcmsTekHVCQueryMinV (
782
+ XcmsCCC /* ccc */,
783
+ XcmsFloat /* hue */,
784
+ XcmsFloat /* chroma */,
785
+ XcmsColor* /* color_return */
786
+ );
787
+
788
+ extern Status XcmsTekHVCToCIEuvY (
789
+ XcmsCCC /* ccc */,
790
+ XcmsColor* /* white_point */,
791
+ XcmsColor* /* colors */,
792
+ unsigned int /* ncolors */
793
+ );
794
+
795
+ extern Status XcmsTekHVCWhiteShiftColors(
796
+ XcmsCCC /* ccc */,
797
+ XcmsColor* /* initial_white_point*/,
798
+ XcmsColor* /* target_white_point*/,
799
+ XcmsColorFormat /* target_format */,
800
+ XcmsColor* /* colors_in_out */,
801
+ unsigned int /* ncolors */,
802
+ Bool* /* compression_flags_return */
803
+ );
804
+
805
+ extern Visual *XcmsVisualOfCCC (
806
+ XcmsCCC /* ccc */
807
+ );
808
+
809
+ #ifdef __clang__
810
+ #pragma clang diagnostic pop
811
+ #endif
812
+
813
+ _XFUNCPROTOEND
814
+
815
+ #endif /* _X11_XCMS_H_ */
data/miniconda3/include/X11/Xdmcp.h ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1989 Network Computing Devices, Inc., Mountain View, California.
3
+ *
4
+ * Permission to use, copy, modify, and distribute this software and its
5
+ * documentation for any purpose and without fee is hereby granted, provided
6
+ * that the above copyright notice appear in all copies and that both that
7
+ * copyright notice and this permission notice appear in supporting
8
+ * documentation, and that the name of N.C.D. not be used in advertising or
9
+ * publicity pertaining to distribution of the software without specific,
10
+ * written prior permission. N.C.D. makes no representations about the
11
+ * suitability of this software for any purpose. It is provided "as is"
12
+ * without express or implied warranty.
13
+ *
14
+ */
15
+
16
+ #ifndef _XDMCP_H_
17
+ #define _XDMCP_H_
18
+
19
+ #include <X11/Xmd.h>
20
+
21
+ #include <X11/Xfuncproto.h>
22
+
23
+ _XFUNCPROTOBEGIN
24
+
25
+ #define XDM_PROTOCOL_VERSION 1
26
+ #define XDM_UDP_PORT 177
27
+
28
+ /* IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
29
+ * multicast addresses for XDMCP, where X in the prefix may be replaced
30
+ * by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
31
+ * 5 for Site-Local, and so on. We set the default here to the Link-Local
32
+ * version to most closely match the old IPv4 subnet broadcast behavior.
33
+ * Both xdm and X -query allow specifying a different address if a different
34
+ * scope is defined.
35
+ */
36
+ #define XDM_DEFAULT_MCAST_ADDR6 "ff02:0:0:0:0:0:0:12b"
37
+
38
+ #define XDM_MAX_MSGLEN 8192
39
+ #define XDM_MIN_RTX 2
40
+ #define XDM_MAX_RTX 32
41
+ #define XDM_RTX_LIMIT 7
42
+ #define XDM_KA_RTX_LIMIT 4
43
+ #define XDM_DEF_DORMANCY (3 * 60) /* 3 minutes */
44
+ #define XDM_MAX_DORMANCY (24 * 60 * 60) /* 24 hours */
45
+
46
+ typedef enum {
47
+ BROADCAST_QUERY = 1, QUERY, INDIRECT_QUERY, FORWARD_QUERY,
48
+ WILLING, UNWILLING, REQUEST, ACCEPT, DECLINE, MANAGE, REFUSE,
49
+ FAILED, KEEPALIVE, ALIVE
50
+ } xdmOpCode;
51
+
52
+ typedef enum {
53
+ XDM_QUERY, XDM_BROADCAST, XDM_INDIRECT, XDM_COLLECT_QUERY,
54
+ XDM_COLLECT_BROADCAST_QUERY, XDM_COLLECT_INDIRECT_QUERY,
55
+ XDM_START_CONNECTION, XDM_AWAIT_REQUEST_RESPONSE,
56
+ XDM_AWAIT_MANAGE_RESPONSE, XDM_MANAGE, XDM_RUN_SESSION, XDM_OFF,
57
+ XDM_AWAIT_USER_INPUT, XDM_KEEPALIVE, XDM_AWAIT_ALIVE_RESPONSE,
58
+ #if defined(IPv6) && defined(AF_INET6)
59
+ XDM_MULTICAST, XDM_COLLECT_MULTICAST_QUERY,
60
+ #endif
61
+ XDM_KEEP_ME_LAST
62
+ } xdmcp_states;
63
+
64
+ #ifdef NOTDEF
65
+ /* table of hosts */
66
+
67
+ #define XDM_MAX_STR_LEN 21
68
+ #define XDM_MAX_HOSTS 20
69
+ struct xdm_host_table {
70
+ struct sockaddr_in sockaddr;
71
+ char name[XDM_MAX_STR_LEN];
72
+ char status[XDM_MAX_STR_LEN];
73
+ };
74
+ #endif /* NOTDEF */
75
+
76
+ typedef CARD8 *CARD8Ptr;
77
+ typedef CARD16 *CARD16Ptr;
78
+ typedef CARD32 *CARD32Ptr;
79
+
80
+ typedef struct _ARRAY8 {
81
+ CARD16 length;
82
+ CARD8Ptr data;
83
+ } ARRAY8, *ARRAY8Ptr;
84
+
85
+ typedef struct _ARRAY16 {
86
+ CARD8 length;
87
+ CARD16Ptr data;
88
+ } ARRAY16, *ARRAY16Ptr;
89
+
90
+ typedef struct _ARRAY32 {
91
+ CARD8 length;
92
+ CARD32Ptr data;
93
+ } ARRAY32, *ARRAY32Ptr;
94
+
95
+ typedef struct _ARRAYofARRAY8 {
96
+ CARD8 length;
97
+ ARRAY8Ptr data;
98
+ } ARRAYofARRAY8, *ARRAYofARRAY8Ptr;
99
+
100
+ typedef struct _XdmcpHeader {
101
+ CARD16 version, opcode, length;
102
+ } XdmcpHeader, *XdmcpHeaderPtr;
103
+
104
+ typedef struct _XdmcpBuffer {
105
+ BYTE *data;
106
+ int size; /* size of buffer pointed by to data */
107
+ int pointer; /* current index into data */
108
+ int count; /* bytes read from network into data */
109
+ } XdmcpBuffer, *XdmcpBufferPtr;
110
+
111
+ typedef struct _XdmAuthKey {
112
+ BYTE data[8];
113
+ } XdmAuthKeyRec, *XdmAuthKeyPtr;
114
+
115
+
116
+ /* implementation-independent network address structure.
117
+ Equiv to sockaddr* for sockets. */
118
+
119
+ typedef char *XdmcpNetaddr;
120
+
121
+ #ifndef __has_attribute
122
+ # define __has_attribute(x) 0 /* Compatibility with older compilers */
123
+ #endif
124
+
125
+ #if __has_attribute(access)
126
+ # define XDM_ACCESS_ATTRIBUTE(X) __attribute__((access X))
127
+ #else
128
+ # define XDM_ACCESS_ATTRIBUTE(X)
129
+ #endif
130
+
131
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
132
+ extern int XdmcpWriteARRAY16(XdmcpBufferPtr buffer, const ARRAY16Ptr array);
133
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
134
+ extern int XdmcpWriteARRAY32(XdmcpBufferPtr buffer, const ARRAY32Ptr array);
135
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
136
+ extern int XdmcpWriteARRAY8(XdmcpBufferPtr buffer, const ARRAY8Ptr array);
137
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
138
+ extern int XdmcpWriteARRAYofARRAY8(XdmcpBufferPtr buffer, const ARRAYofARRAY8Ptr array);
139
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
140
+ extern int XdmcpWriteCARD16(XdmcpBufferPtr buffer, unsigned value);
141
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
142
+ extern int XdmcpWriteCARD32(XdmcpBufferPtr buffer, unsigned value);
143
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
144
+ extern int XdmcpWriteCARD8(XdmcpBufferPtr buffer, unsigned value);
145
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
146
+ extern int XdmcpWriteHeader(XdmcpBufferPtr buffer, const XdmcpHeaderPtr header);
147
+
148
+ XDM_ACCESS_ATTRIBUTE((read_only, 2))
149
+ extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen);
150
+
151
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
152
+ extern int XdmcpReadARRAY16(XdmcpBufferPtr buffer, ARRAY16Ptr array);
153
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
154
+ extern int XdmcpReadARRAY32(XdmcpBufferPtr buffer, ARRAY32Ptr array);
155
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
156
+ extern int XdmcpReadARRAY8(XdmcpBufferPtr buffer, ARRAY8Ptr array);
157
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
158
+ extern int XdmcpReadARRAYofARRAY8(XdmcpBufferPtr buffer, ARRAYofARRAY8Ptr array);
159
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
160
+ extern int XdmcpReadCARD16(XdmcpBufferPtr buffer, CARD16Ptr valuep);
161
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
162
+ extern int XdmcpReadCARD32(XdmcpBufferPtr buffer, CARD32Ptr valuep);
163
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
164
+ extern int XdmcpReadCARD8(XdmcpBufferPtr buffer, CARD8Ptr valuep);
165
+ XDM_ACCESS_ATTRIBUTE((read_write, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
166
+ extern int XdmcpReadHeader(XdmcpBufferPtr buffer, XdmcpHeaderPtr header);
167
+
168
+ XDM_ACCESS_ATTRIBUTE((read_write, 2))
169
+ extern int XdmcpFill(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr from, int *fromlen);
170
+
171
+ XDM_ACCESS_ATTRIBUTE((read_only, 1))
172
+ extern int XdmcpReadRemaining(const XdmcpBufferPtr buffer);
173
+
174
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
175
+ extern void XdmcpDisposeARRAY8(ARRAY8Ptr array);
176
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
177
+ extern void XdmcpDisposeARRAY16(ARRAY16Ptr array);
178
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
179
+ extern void XdmcpDisposeARRAY32(ARRAY32Ptr array);
180
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
181
+ extern void XdmcpDisposeARRAYofARRAY8(ARRAYofARRAY8Ptr array);
182
+
183
+ XDM_ACCESS_ATTRIBUTE((read_only, 1)) XDM_ACCESS_ATTRIBUTE((write_only, 2))
184
+ extern int XdmcpCopyARRAY8(const ARRAY8Ptr src, ARRAY8Ptr dst);
185
+
186
+ XDM_ACCESS_ATTRIBUTE((read_only, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
187
+ extern int XdmcpARRAY8Equal(const ARRAY8Ptr array1, const ARRAY8Ptr array2);
188
+
189
+ XDM_ACCESS_ATTRIBUTE((write_only, 1))
190
+ extern void XdmcpGenerateKey (XdmAuthKeyPtr key);
191
+ extern void XdmcpIncrementKey (XdmAuthKeyPtr key);
192
+ extern void XdmcpDecrementKey (XdmAuthKeyPtr key);
193
+ #ifdef HASXDMAUTH
194
+ extern void XdmcpWrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes);
195
+ extern void XdmcpUnwrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes);
196
+ #endif
197
+
198
+ #ifndef TRUE
199
+ #define TRUE 1
200
+ #define FALSE 0
201
+ #endif
202
+
203
+ XDM_ACCESS_ATTRIBUTE((read_only, 1)) XDM_ACCESS_ATTRIBUTE((read_only, 2))
204
+ extern int XdmcpCompareKeys (const XdmAuthKeyPtr a, const XdmAuthKeyPtr b);
205
+
206
+ XDM_ACCESS_ATTRIBUTE((write_only, 1))
207
+ extern int XdmcpAllocARRAY16 (ARRAY16Ptr array, int length);
208
+ XDM_ACCESS_ATTRIBUTE((write_only, 1))
209
+ extern int XdmcpAllocARRAY32 (ARRAY32Ptr array, int length);
210
+ XDM_ACCESS_ATTRIBUTE((write_only, 1))
211
+ extern int XdmcpAllocARRAY8 (ARRAY8Ptr array, int length);
212
+ XDM_ACCESS_ATTRIBUTE((write_only, 1))
213
+ extern int XdmcpAllocARRAYofARRAY8 (ARRAYofARRAY8Ptr array, int length);
214
+
215
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
216
+ extern int XdmcpReallocARRAY16 (ARRAY16Ptr array, int length);
217
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
218
+ extern int XdmcpReallocARRAY32 (ARRAY32Ptr array, int length);
219
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
220
+ extern int XdmcpReallocARRAY8 (ARRAY8Ptr array, int length);
221
+ XDM_ACCESS_ATTRIBUTE((read_write, 1))
222
+ extern int XdmcpReallocARRAYofARRAY8 (ARRAYofARRAY8Ptr array, int length);
223
+
224
+ _XFUNCPROTOEND
225
+
226
+ #endif /* _XDMCP_H_ */
data/miniconda3/include/X11/Xfuncproto.h ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ *
3
+ Copyright 1989, 1991, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+ *
25
+ */
26
+
27
+ /* Definitions to make function prototypes manageable */
28
+
29
+ #ifndef _XFUNCPROTO_H_
30
+ #define _XFUNCPROTO_H_
31
+
32
+ #ifndef NeedFunctionPrototypes
33
+ #define NeedFunctionPrototypes 1
34
+ #endif /* NeedFunctionPrototypes */
35
+
36
+ #ifndef NeedVarargsPrototypes
37
+ #define NeedVarargsPrototypes 1
38
+ #endif /* NeedVarargsPrototypes */
39
+
40
+ #if NeedFunctionPrototypes
41
+
42
+ #ifndef NeedNestedPrototypes
43
+ #define NeedNestedPrototypes 1
44
+ #endif /* NeedNestedPrototypes */
45
+
46
+ #ifndef _Xconst
47
+ #define _Xconst const
48
+ #endif /* _Xconst */
49
+
50
+ /* Function prototype configuration (see configure for more info) */
51
+ #if !defined(NARROWPROTO) && \
52
+ (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
53
+ #define NARROWPROTO
54
+ #endif
55
+ #ifndef FUNCPROTO
56
+ #define FUNCPROTO 15
57
+ #endif
58
+
59
+ #ifndef NeedWidePrototypes
60
+ #ifdef NARROWPROTO
61
+ #define NeedWidePrototypes 0
62
+ #else
63
+ #define NeedWidePrototypes 1 /* default to make interropt. easier */
64
+ #endif
65
+ #endif /* NeedWidePrototypes */
66
+
67
+ #endif /* NeedFunctionPrototypes */
68
+
69
+ #ifndef _XFUNCPROTOBEGIN
70
+ #if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
71
+ #define _XFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
72
+ #define _XFUNCPROTOEND }
73
+ #else
74
+ #define _XFUNCPROTOBEGIN
75
+ #define _XFUNCPROTOEND
76
+ #endif
77
+ #endif /* _XFUNCPROTOBEGIN */
78
+
79
+ /* http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute */
80
+ #ifndef __has_attribute
81
+ # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */
82
+ #endif
83
+ #ifndef __has_feature
84
+ # define __has_feature(x) 0 /* Compatibility with non-clang compilers. */
85
+ #endif
86
+ #ifndef __has_extension
87
+ # define __has_extension(x) 0 /* Compatibility with non-clang compilers. */
88
+ #endif
89
+
90
+ /* Added in X11R6.9, so available in any version of modular xproto */
91
+ #if __has_attribute(__sentinel__) || (defined(__GNUC__) && (__GNUC__ >= 4))
92
+ # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
93
+ #else
94
+ # define _X_SENTINEL(x)
95
+ #endif /* GNUC >= 4 */
96
+
97
+ /* Added in X11R6.9, so available in any version of modular xproto */
98
+ #if (__has_attribute(visibility) || (defined(__GNUC__) && (__GNUC__ >= 4))) \
99
+ && !defined(__CYGWIN__) && !defined(__MINGW32__)
100
+ # define _X_EXPORT __attribute__((visibility("default")))
101
+ # define _X_HIDDEN __attribute__((visibility("hidden")))
102
+ # define _X_INTERNAL __attribute__((visibility("internal")))
103
+ #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
104
+ # define _X_EXPORT __global
105
+ # define _X_HIDDEN __hidden
106
+ # define _X_INTERNAL __hidden
107
+ #else /* not gcc >= 4 and not Sun Studio >= 8 */
108
+ # define _X_EXPORT
109
+ # define _X_HIDDEN
110
+ # define _X_INTERNAL
111
+ #endif /* GNUC >= 4 */
112
+
113
+ /* Branch prediction hints for individual conditionals */
114
+ /* requires xproto >= 7.0.9 */
115
+ #if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
116
+ # define _X_LIKELY(x) __builtin_expect(!!(x), 1)
117
+ # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
118
+ #else /* not gcc >= 3.3 */
119
+ # define _X_LIKELY(x) (x)
120
+ # define _X_UNLIKELY(x) (x)
121
+ #endif
122
+
123
+ /* Bulk branch prediction hints via marking error path functions as "cold" */
124
+ /* requires xproto >= 7.0.25 */
125
+ #if __has_attribute(__cold__) || \
126
+ (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 403)) /* 4.3+ */
127
+ # define _X_COLD __attribute__((__cold__))
128
+ #else
129
+ # define _X_COLD /* nothing */
130
+ #endif
131
+
132
+ /* Added in X11R6.9, so available in any version of modular xproto */
133
+ #if __has_attribute(deprecated) \
134
+ || (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 301)) \
135
+ || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5130))
136
+ # define _X_DEPRECATED __attribute__((deprecated))
137
+ #else /* not gcc >= 3.1 */
138
+ # define _X_DEPRECATED
139
+ #endif
140
+
141
+ /* requires xproto >= 7.0.30 */
142
+ #if __has_extension(attribute_deprecated_with_message) || \
143
+ (defined(__GNUC__) && ((__GNUC__ >= 5) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5))))
144
+ # define _X_DEPRECATED_MSG(_msg) __attribute__((deprecated(_msg)))
145
+ #else
146
+ # define _X_DEPRECATED_MSG(_msg) _X_DEPRECATED
147
+ #endif
148
+
149
+ /* requires xproto >= 7.0.17 */
150
+ #if __has_attribute(noreturn) \
151
+ || (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)) \
152
+ || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
153
+ # define _X_NORETURN __attribute((noreturn))
154
+ #else
155
+ # define _X_NORETURN
156
+ #endif /* GNUC */
157
+
158
+ /* Added in X11R6.9, so available in any version of modular xproto */
159
+ #if __has_attribute(__format__) \
160
+ || defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 203)
161
+ # define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y)))
162
+ #else /* not gcc >= 2.3 */
163
+ # define _X_ATTRIBUTE_PRINTF(x,y)
164
+ #endif
165
+
166
+ /* requires xproto >= 7.0.22 */
167
+ #if __has_attribute(__unused__) \
168
+ || defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)
169
+ #define _X_UNUSED __attribute__((__unused__))
170
+ #else
171
+ #define _X_UNUSED /* */
172
+ #endif
173
+
174
+ /* C99 keyword "inline" or equivalent extensions in pre-C99 compilers */
175
+ /* requires xproto >= 7.0.9
176
+ (introduced in 7.0.8 but didn't support all compilers until 7.0.9) */
177
+ #if defined(inline) /* assume autoconf set it correctly */ || \
178
+ (defined(__STDC_VERSION__) && (__STDC_VERSION__ - 0 >= 199901L)) /* C99 */ || \
179
+ (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550))
180
+ # define _X_INLINE inline
181
+ #elif defined(__GNUC__) && !defined(__STRICT_ANSI__) /* gcc w/C89+extensions */
182
+ # define _X_INLINE __inline__
183
+ #else
184
+ # define _X_INLINE
185
+ #endif
186
+
187
+ /* C99 keyword "restrict" or equivalent extensions in pre-C99 compilers */
188
+ /* requires xproto >= 7.0.21 */
189
+ #ifndef _X_RESTRICT_KYWD
190
+ # if defined(restrict) /* assume autoconf set it correctly */ || \
191
+ (defined(__STDC_VERSION__) && (__STDC_VERSION__ - 0 >= 199901L) /* C99 */ \
192
+ && !defined(__cplusplus)) /* Workaround g++ issue on Solaris */
193
+ # define _X_RESTRICT_KYWD restrict
194
+ # elif defined(__GNUC__) && !defined(__STRICT_ANSI__) /* gcc w/C89+extensions */
195
+ # define _X_RESTRICT_KYWD __restrict__
196
+ # else
197
+ # define _X_RESTRICT_KYWD
198
+ # endif
199
+ #endif
200
+
201
+ /* requires xproto >= 7.0.30 */
202
+ #if __has_attribute(no_sanitize_thread)
203
+ # define _X_NOTSAN __attribute__((no_sanitize_thread))
204
+ #else
205
+ # define _X_NOTSAN
206
+ #endif
207
+
208
+ /* Mark a char array/pointer as not containing a NUL-terminated string */
209
+ /* requires xproto >= 7.0.33 */
210
+ #if __has_attribute(nonstring)
211
+ # define _X_NONSTRING __attribute__((nonstring))
212
+ #else
213
+ # define _X_NONSTRING
214
+ #endif
215
+
216
+ #endif /* _XFUNCPROTO_H_ */
data/miniconda3/include/X11/Xfuncs.h ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ *
3
+ Copyright 1990, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+ *
25
+ */
26
+
27
+ #ifndef _XFUNCS_H_
28
+ # define _XFUNCS_H_
29
+
30
+ # include <X11/Xosdefs.h>
31
+
32
+ /* the old Xfuncs.h, for pre-R6 */
33
+ # if !(defined(XFree86LOADER) && defined(IN_MODULE))
34
+
35
+ # ifdef X_USEBFUNCS
36
+ void bcopy();
37
+ void bzero();
38
+ int bcmp();
39
+ # else
40
+ # if defined(SYSV) && !defined(__SCO__) && !defined(__sun) && !defined(__UNIXWARE__) && !defined(_AIX)
41
+ # include <memory.h>
42
+ void bcopy();
43
+ # define bzero(b,len) memset(b, 0, len)
44
+ # define bcmp(b1,b2,len) memcmp(b1, b2, len)
45
+ # else
46
+ # include <string.h>
47
+ # if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
48
+ # include <strings.h>
49
+ # endif
50
+ # define _XFUNCS_H_INCLUDED_STRING_H
51
+ # endif
52
+ # endif /* X_USEBFUNCS */
53
+
54
+ /* the new Xfuncs.h */
55
+
56
+ /* the ANSI C way */
57
+ # ifndef _XFUNCS_H_INCLUDED_STRING_H
58
+ # include <string.h>
59
+ # endif
60
+ # undef bzero
61
+ # define bzero(b,len) memset(b,0,len)
62
+
63
+ # if defined WIN32 && defined __MINGW32__
64
+ # define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
65
+ # endif
66
+
67
+ # endif /* !(defined(XFree86LOADER) && defined(IN_MODULE)) */
68
+
69
+ #endif /* _XFUNCS_H_ */
data/miniconda3/include/X11/Xlib-xcb.h ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Copyright (C) 2003-2006 Jamey Sharp, Josh Triplett
2
+ * This file is licensed under the MIT license. See the file COPYING. */
3
+
4
+ #ifndef _X11_XLIB_XCB_H_
5
+ #define _X11_XLIB_XCB_H_
6
+
7
+ #include <xcb/xcb.h>
8
+ #include <X11/Xlib.h>
9
+ #include <X11/Xfuncproto.h>
10
+
11
+ _XFUNCPROTOBEGIN
12
+
13
+ xcb_connection_t *XGetXCBConnection(Display *dpy);
14
+
15
+ enum XEventQueueOwner { XlibOwnsEventQueue = 0, XCBOwnsEventQueue };
16
+ void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
17
+
18
+ _XFUNCPROTOEND
19
+
20
+ #endif /* _X11_XLIB_XCB_H_ */
data/miniconda3/include/X11/XlibConf.h ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* include/X11/XlibConf.h. Generated from XlibConf.h.in by configure. */
2
+ /*
3
+ * Copyright © 2005 Keith Packard
4
+ *
5
+ * Permission to use, copy, modify, distribute, and sell this software and its
6
+ * documentation for any purpose is hereby granted without fee, provided that
7
+ * the above copyright notice appear in all copies and that both that
8
+ * copyright notice and this permission notice appear in supporting
9
+ * documentation, and that the name of Keith Packard not be used in
10
+ * advertising or publicity pertaining to distribution of the software without
11
+ * specific, written prior permission. Keith Packard makes no
12
+ * representations about the suitability of this software for any purpose. It
13
+ * is provided "as is" without express or implied warranty.
14
+ *
15
+ * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
17
+ * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
18
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
20
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
+ * PERFORMANCE OF THIS SOFTWARE.
22
+ */
23
+
24
+ #ifndef _XLIBCONF_H_
25
+ #define _XLIBCONF_H_
26
+ /*
27
+ * This header file exports defines necessary to correctly
28
+ * use Xlibint.h both inside Xlib and by external libraries
29
+ * such as extensions.
30
+ */
31
+
32
+ /* Threading support? */
33
+ #define XTHREADS 1
34
+
35
+ /* Use multi-threaded libc functions? */
36
+ #define XUSE_MTSAFE_API 1
37
+
38
+ #endif /* _XLIBCONF_H_ */
data/miniconda3/include/X11/Xlocale.h ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1991, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
+ OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall
23
+ not be used in advertising or otherwise to promote the sale, use or
24
+ other dealings in this Software without prior written authorization
25
+ from The Open Group.
26
+
27
+ */
28
+
29
+ #ifndef _X11_XLOCALE_H_
30
+ #define _X11_XLOCALE_H_
31
+
32
+ #include <X11/Xfuncproto.h>
33
+ #include <X11/Xosdefs.h>
34
+
35
+ #include <locale.h>
36
+
37
+ #endif /* _X11_XLOCALE_H_ */
data/miniconda3/include/X11/Xmd.h ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***********************************************************
2
+
3
+ Copyright 1987, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ******************************************************************/
47
+ #ifndef XMD_H
48
+ # define XMD_H 1
49
+ /*
50
+ * Xmd.h: MACHINE DEPENDENT DECLARATIONS.
51
+ */
52
+
53
+ /*
54
+ * Special per-machine configuration flags.
55
+ */
56
+ # if defined(__sun) && defined(__SVR4)
57
+ # include <sys/isa_defs.h> /* Solaris: defines _LP64 if necessary */
58
+ # endif
59
+
60
+ #if defined(__SIZEOF_LONG__)
61
+ # if __SIZEOF_LONG__ == 8
62
+ # define LONG64 /* 32/64-bit architecture */
63
+ # endif
64
+ # elif defined (_LP64) || defined(__LP64__) || \
65
+ defined(__alpha) || defined(__alpha__) || \
66
+ defined(__ia64__) || defined(ia64) || \
67
+ defined(__sparc64__) || \
68
+ defined(__s390x__) || \
69
+ defined(__amd64__) || defined(amd64) || \
70
+ defined(__powerpc64__)
71
+ # if !defined(__ILP32__) /* amd64-x32 is 32bit */
72
+ # define LONG64 /* 32/64-bit architecture */
73
+ # endif /* !__ILP32__ */
74
+ # endif
75
+
76
+ /*
77
+ * Definition of macro used to set constants for size of network structures;
78
+ * machines with preprocessors that can't handle all of the sz_ symbols
79
+ * can define this macro to be sizeof(x) if and only if their compiler doesn't
80
+ * pad out structures (esp. the xTextElt structure which contains only two
81
+ * one-byte fields). Network structures should always define sz_symbols.
82
+ *
83
+ * The sz_ prefix is used instead of something more descriptive so that the
84
+ * symbols are no more than 32 characters long (which causes problems for some
85
+ * compilers and preprocessors).
86
+ *
87
+ * The extra indirection is to get macro arguments to expand correctly before
88
+ * the concatenation, rather than afterward.
89
+ */
90
+ # define _SIZEOF(x) sz_##x
91
+ # define SIZEOF(x) _SIZEOF(x)
92
+
93
+ /*
94
+ * Bitfield suffixes for the protocol structure elements, if you
95
+ * need them. Note that bitfields are not guaranteed to be signed
96
+ * (or even unsigned) according to ANSI C.
97
+ */
98
+ # define B32 /* bitfield not needed on architectures with native 32-bit type */
99
+ # define B16 /* bitfield not needed on architectures with native 16-bit type */
100
+ # ifdef LONG64
101
+ typedef long INT64;
102
+ typedef int INT32;
103
+ # else
104
+ typedef long INT32;
105
+ # endif
106
+ typedef short INT16;
107
+
108
+ typedef signed char INT8;
109
+
110
+ # ifdef LONG64
111
+ typedef unsigned long CARD64;
112
+ typedef unsigned int CARD32;
113
+ # else
114
+ typedef unsigned long long CARD64;
115
+ typedef unsigned long CARD32;
116
+ # endif
117
+ typedef unsigned short CARD16;
118
+ typedef unsigned char CARD8;
119
+
120
+ typedef CARD32 BITS32;
121
+ typedef CARD16 BITS16;
122
+
123
+ typedef CARD8 BYTE;
124
+ typedef CARD8 BOOL;
125
+
126
+ /*
127
+ * was definitions for sign-extending bitfields on architectures without
128
+ * native types smaller than 64-bit, now just backwards compatibility
129
+ */
130
+ # define cvtINT8toInt(val) (val)
131
+ # define cvtINT16toInt(val) (val)
132
+ # define cvtINT32toInt(val) (val)
133
+ # define cvtINT8toShort(val) (val)
134
+ # define cvtINT16toShort(val) (val)
135
+ # define cvtINT32toShort(val) (val)
136
+ # define cvtINT8toLong(val) (val)
137
+ # define cvtINT16toLong(val) (val)
138
+ # define cvtINT32toLong(val) (val)
139
+
140
+ /*
141
+ * this version should leave result of type (t *), but that should only be
142
+ * used when not in MUSTCOPY
143
+ */
144
+ # define NEXTPTR(p,t) (((t *)(p)) + 1)
145
+
146
+ #endif /* XMD_H */
data/miniconda3/include/X11/Xos.h ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ *
3
+ Copyright 1987, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+ *
25
+ * The X Window System is a Trademark of The Open Group.
26
+ *
27
+ */
28
+
29
+ /* This is a collection of things to try and minimize system dependencies
30
+ * in a "significant" number of source files.
31
+ */
32
+
33
+ #ifndef _XOS_H_
34
+ # define _XOS_H_
35
+
36
+ # include <X11/Xosdefs.h>
37
+
38
+ /*
39
+ * Get major data types (esp. caddr_t)
40
+ */
41
+
42
+ # include <sys/types.h>
43
+
44
+ # if defined(__SCO__) || defined(__UNIXWARE__)
45
+ # include <stdint.h>
46
+ # endif
47
+
48
+
49
+ /*
50
+ * Just about everyone needs the strings routines. We provide both forms here,
51
+ * index/rindex and strchr/strrchr, so any systems that don't provide them all
52
+ * need to have #defines here.
53
+ *
54
+ * These macros are defined this way, rather than, e.g.:
55
+ * #defined index(s,c) strchr(s,c)
56
+ * because someone might be using them as function pointers, and such
57
+ * a change would break compatibility for anyone who's relying on them
58
+ * being the way they currently are. So we're stuck with them this way,
59
+ * which can be really inconvenient. :-(
60
+ */
61
+
62
+ # include <string.h>
63
+ # if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__)
64
+ # include <strings.h>
65
+ # else
66
+ # ifndef index
67
+ # define index(s,c) (strchr((s),(c)))
68
+ # endif
69
+ # ifndef rindex
70
+ # define rindex(s,c) (strrchr((s),(c)))
71
+ # endif
72
+ # endif
73
+
74
+ /*
75
+ * Get open(2) constants
76
+ */
77
+ # if defined(X_NOT_POSIX)
78
+ # include <fcntl.h>
79
+ # if defined(USL) || defined(__i386__) && (defined(SYSV) || defined(SVR4))
80
+ # include <unistd.h>
81
+ # endif
82
+ # ifdef WIN32
83
+ # include <X11/Xw32defs.h>
84
+ # else
85
+ # include <sys/file.h>
86
+ # endif
87
+ # else /* X_NOT_POSIX */
88
+ # include <fcntl.h>
89
+ # include <unistd.h>
90
+ # endif /* X_NOT_POSIX else */
91
+
92
+ /*
93
+ * Get struct timeval and struct tm
94
+ */
95
+
96
+ # if defined(_POSIX_SOURCE) && defined(SVR4)
97
+ /* need to omit _POSIX_SOURCE in order to get what we want in SVR4 */
98
+ # undef _POSIX_SOURCE
99
+ # include <sys/time.h>
100
+ # define _POSIX_SOURCE
101
+ # elif defined(WIN32)
102
+ # include <time.h>
103
+ # if !defined(_WINSOCKAPI_) && !defined(_WILLWINSOCK_) && !defined(_TIMEVAL_DEFINED) && !defined(_STRUCT_TIMEVAL)
104
+ struct timeval {
105
+ long tv_sec; /* seconds */
106
+ long tv_usec; /* and microseconds */
107
+ };
108
+ # define _TIMEVAL_DEFINED
109
+ # endif
110
+ # include <sys/timeb.h>
111
+ # define gettimeofday(t) \
112
+ { \
113
+ struct _timeb _gtodtmp; \
114
+ _ftime (&_gtodtmp); \
115
+ (t)->tv_sec = _gtodtmp.time; \
116
+ (t)->tv_usec = _gtodtmp.millitm * 1000; \
117
+ }
118
+ # else
119
+ # include <sys/time.h>
120
+ # include <time.h>
121
+ # endif /* defined(_POSIX_SOURCE) && defined(SVR4) */
122
+
123
+ /* define X_GETTIMEOFDAY macro, a portable gettimeofday() */
124
+ # if defined(_XOPEN_XPG4) || defined(_XOPEN_UNIX) /* _XOPEN_UNIX is XPG4.2 */
125
+ # define X_GETTIMEOFDAY(t) gettimeofday(t, (struct timezone*)0)
126
+ # else
127
+ # if defined(SVR4) || defined(__SVR4) || defined(WIN32)
128
+ # define X_GETTIMEOFDAY(t) gettimeofday(t)
129
+ # else
130
+ # define X_GETTIMEOFDAY(t) gettimeofday(t, (struct timezone*)0)
131
+ # endif
132
+ # endif /* XPG4 else */
133
+
134
+
135
+ # ifdef __GNU__
136
+ # define PATH_MAX 4096
137
+ # define MAXPATHLEN 4096
138
+ # define OPEN_MAX 256 /* We define a reasonable limit. */
139
+ # endif
140
+
141
+ /* use POSIX name for signal */
142
+ # if defined(X_NOT_POSIX) && defined(SYSV) && !defined(SIGCHLD)
143
+ # define SIGCHLD SIGCLD
144
+ # endif
145
+
146
+ # include <X11/Xarch.h>
147
+
148
+ #endif /* _XOS_H_ */
data/miniconda3/include/X11/Xosdefs.h ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * O/S-dependent (mis)feature macro definitions
3
+ *
4
+ Copyright 1991, 1998 The Open Group
5
+
6
+ Permission to use, copy, modify, distribute, and sell this software and its
7
+ documentation for any purpose is hereby granted without fee, provided that
8
+ the above copyright notice appear in all copies and that both that
9
+ copyright notice and this permission notice appear in supporting
10
+ documentation.
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall not be
23
+ used in advertising or otherwise to promote the sale, use or other dealings
24
+ in this Software without prior written authorization from The Open Group.
25
+ */
26
+
27
+ #ifndef _XOSDEFS_H_
28
+ # define _XOSDEFS_H_
29
+
30
+ /*
31
+ * X_NOT_POSIX means does not have POSIX header files. Lack of this
32
+ * symbol does NOT mean that the POSIX environment is the default.
33
+ * You may still have to define _POSIX_SOURCE to get it.
34
+ */
35
+
36
+
37
+ # ifdef _SCO_DS
38
+ # ifndef __SCO__
39
+ # define __SCO__
40
+ # endif
41
+ # endif
42
+
43
+ # ifdef __i386__
44
+ # ifdef SYSV
45
+ # if !defined(__SCO__) && \
46
+ !defined(__UNIXWARE__) && !defined(__sun)
47
+ # if !defined(_POSIX_SOURCE)
48
+ # define X_NOT_POSIX
49
+ # endif
50
+ # endif
51
+ # endif
52
+ # endif
53
+
54
+ # ifdef __sun
55
+ /* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
56
+ * This check allows non-Imake configured programs to build correctly.
57
+ */
58
+ # if defined(__SVR4) && !defined(SVR4)
59
+ # define SVR4 1
60
+ # endif
61
+ # ifdef SVR4
62
+ /* define this to whatever it needs to be */
63
+ # define X_POSIX_C_SOURCE 199300L
64
+ # endif
65
+ # endif
66
+
67
+ # ifdef WIN32
68
+ # ifndef _POSIX_
69
+ # define X_NOT_POSIX
70
+ # endif
71
+ # endif
72
+
73
+
74
+ # ifdef __APPLE__
75
+ # define NULL_NOT_ZERO
76
+
77
+ /* Defining any of these will sanitize the namespace to JUST want is defined by
78
+ * that particular standard. If that happens, we don't get some expected
79
+ * prototypes, typedefs, etc (like fd_mask). We can define _DARWIN_C_SOURCE to
80
+ * loosen our belts a tad.
81
+ */
82
+ # if defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE)
83
+ # ifndef _DARWIN_C_SOURCE
84
+ # define _DARWIN_C_SOURCE
85
+ # endif
86
+ # endif
87
+
88
+ # endif
89
+
90
+ # ifdef __GNU__
91
+ # ifndef PATH_MAX
92
+ # define PATH_MAX 4096
93
+ # endif
94
+ # ifndef MAXPATHLEN
95
+ # define MAXPATHLEN 4096
96
+ # endif
97
+ # endif
98
+
99
+ # if defined(__SCO__) || defined(__UNIXWARE__)
100
+ # ifndef PATH_MAX
101
+ # define PATH_MAX 1024
102
+ # endif
103
+ # ifndef MAXPATHLEN
104
+ # define MAXPATHLEN 1024
105
+ # endif
106
+ # endif
107
+
108
+ # if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
109
+ || defined(__APPLE__) || defined(__DragonFly__)
110
+ # ifndef CSRG_BASED
111
+ # define CSRG_BASED
112
+ # endif
113
+ # endif
114
+
115
+ #endif /* _XOSDEFS_H_ */
116
+
data/miniconda3/include/X11/Xpoll.h ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1994, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
+ OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall
23
+ not be used in advertising or otherwise to promote the sale, use or
24
+ other dealings in this Software without prior written authorization
25
+ from The Open Group.
26
+
27
+ */
28
+
29
+ /*
30
+ * Copyright © 2005 Daniel Stone
31
+ *
32
+ * Permission to use, copy, modify, distribute, and sell this software and its
33
+ * documentation for any purpose is hereby granted without fee, provided that
34
+ * the above copyright notice appear in all copies and that both that
35
+ * copyright notice and this permission notice appear in supporting
36
+ * documentation, and that the name of Daniel Stone not be used in advertising
37
+ * or publicity pertaining to distribution of the software without specific,
38
+ * written prior permission. Daniel Stone makes no representations about the
39
+ * suitability of this software for any purpose. It is provided "as is"
40
+ * without express or implied warranty.
41
+ *
42
+ * DANIEL STONE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
43
+ * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
44
+ * DANIEL STONE BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45
+ * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
46
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
47
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
48
+ */
49
+
50
+ #ifndef _XPOLL_H_
51
+ #define _XPOLL_H_
52
+
53
+ #if !defined(WIN32) || defined(__CYGWIN__)
54
+
55
+ #ifndef USE_POLL
56
+
57
+ #include <X11/Xos.h>
58
+
59
+ #include <sys/select.h> /* Get the FD_* macros. */
60
+
61
+ #include <X11/Xmd.h>
62
+
63
+ #ifdef CSRG_BASED
64
+ #include <sys/param.h>
65
+ # if BSD < 199103
66
+ typedef long fd_mask;
67
+ # endif
68
+ #endif
69
+
70
+ #if defined(FD_SETSIZE) && FD_SETSIZE < 512
71
+ # define XFD_SETSIZE FD_SETSIZE
72
+ #else
73
+ # define XFD_SETSIZE 512
74
+ # ifndef FD_SETSIZE
75
+ # define FD_SETSIZE XFD_SETSIZE
76
+ # endif
77
+ #endif
78
+
79
+ #ifndef NBBY
80
+ #define NBBY 8 /* number of bits in a byte */
81
+ #endif
82
+
83
+ #ifndef NFDBITS
84
+ #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */
85
+ #endif
86
+
87
+ #ifndef howmany
88
+ #define howmany(x,y) (((x)+((y)-1))/(y))
89
+ #endif
90
+
91
+ #if defined(BSD) && BSD < 198911
92
+ typedef struct fd_set {
93
+ fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
94
+ } fd_set;
95
+ #endif
96
+
97
+ # define Select(n,r,w,e,t) select(n,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t)
98
+
99
+ #define __X_FDS_BITS __fds_bits
100
+
101
+ #ifndef __FDS_BITS
102
+ # define __FDS_BITS(p) ((p)->__X_FDS_BITS)
103
+ #endif
104
+
105
+ #define __XFDS_BITS(p, n) (__FDS_BITS(p))[n]
106
+
107
+ #ifndef FD_SET
108
+ #define FD_SET(n, p) (__XFDS_BITS(p, ((n)/NFDBITS)) |= ((fd_mask)1 << ((n) % NFDBITS)))
109
+ #endif
110
+ #ifndef FD_CLR
111
+ #define FD_CLR(n, p) (__XFDS_BITS((p), ((n)/NFDBITS)) &= ~((fd_mask)1 << ((n) % NFDBITS)))
112
+ #endif
113
+ #ifndef FD_ISSET
114
+ #define FD_ISSET(n, p) ((__XFDS_BITS((p), ((n)/NFDBITS))) & ((fd_mask)1 << ((n) % NFDBITS)))
115
+ #endif
116
+ #ifndef FD_ZERO
117
+ #define FD_ZERO(p) bzero((char *)(p), sizeof(*(p)))
118
+ #endif
119
+
120
+ /*
121
+ * The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the
122
+ * array. before accessing an element in the array we check it exists.
123
+ * If it does not exist then the compiler discards the code to access it.
124
+ */
125
+ #define XFD_ANYSET(p) \
126
+ ((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \
127
+ (howmany(FD_SETSIZE, NFDBITS) > 1 && (__XFDS_BITS(p, 1))) || \
128
+ (howmany(FD_SETSIZE, NFDBITS) > 2 && (__XFDS_BITS(p, 2))) || \
129
+ (howmany(FD_SETSIZE, NFDBITS) > 3 && (__XFDS_BITS(p, 3))) || \
130
+ (howmany(FD_SETSIZE, NFDBITS) > 4 && (__XFDS_BITS(p, 4))) || \
131
+ (howmany(FD_SETSIZE, NFDBITS) > 5 && (__XFDS_BITS(p, 5))) || \
132
+ (howmany(FD_SETSIZE, NFDBITS) > 6 && (__XFDS_BITS(p, 6))) || \
133
+ (howmany(FD_SETSIZE, NFDBITS) > 7 && (__XFDS_BITS(p, 7))) || \
134
+ (howmany(FD_SETSIZE, NFDBITS) > 8 && (__XFDS_BITS(p, 8))) || \
135
+ (howmany(FD_SETSIZE, NFDBITS) > 9 && (__XFDS_BITS(p, 9))) || \
136
+ (howmany(FD_SETSIZE, NFDBITS) > 10 && (__XFDS_BITS(p, 10))) || \
137
+ (howmany(FD_SETSIZE, NFDBITS) > 11 && (__XFDS_BITS(p, 11))) || \
138
+ (howmany(FD_SETSIZE, NFDBITS) > 12 && (__XFDS_BITS(p, 12))) || \
139
+ (howmany(FD_SETSIZE, NFDBITS) > 13 && (__XFDS_BITS(p, 13))) || \
140
+ (howmany(FD_SETSIZE, NFDBITS) > 14 && (__XFDS_BITS(p, 14))) || \
141
+ (howmany(FD_SETSIZE, NFDBITS) > 15 && (__XFDS_BITS(p, 15))))
142
+
143
+
144
+ #define XFD_COPYSET(src,dst) { \
145
+ int __i__; \
146
+ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
147
+ __XFDS_BITS((dst), __i__) = __XFDS_BITS((src), __i__); \
148
+ }
149
+ #define XFD_ANDSET(dst,b1,b2) { \
150
+ int __i__; \
151
+ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
152
+ __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) & (__XFDS_BITS((b2), __i__))); \
153
+ }
154
+ #define XFD_ORSET(dst,b1,b2) { \
155
+ int __i__; \
156
+ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
157
+ __XFDS_BITS((dst), __i__) = ((__XFDS_BITS((b1), __i__)) | (__XFDS_BITS((b2), __i__))); \
158
+ }
159
+ #define XFD_UNSET(dst,b1) { \
160
+ int __i__; \
161
+ for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
162
+ __XFDS_BITS((dst), __i__) &= ~(__XFDS_BITS((b1), __i__)); \
163
+ }
164
+
165
+ #else /* USE_POLL */
166
+ #include <sys/poll.h>
167
+ #endif /* USE_POLL */
168
+
169
+ #else /* WIN32 */
170
+
171
+ #define XFD_SETSIZE 512
172
+ #ifndef FD_SETSIZE
173
+ #define FD_SETSIZE XFD_SETSIZE
174
+ #endif
175
+ #include <X11/Xwinsock.h>
176
+
177
+ #define Select(n,r,w,e,t) select(0,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t)
178
+
179
+ #define XFD_SETCOUNT(p) (((fd_set FAR *)(p))->fd_count)
180
+ #define XFD_FD(p,i) (((fd_set FAR *)(p))->fd_array[i])
181
+ #define XFD_ANYSET(p) XFD_SETCOUNT(p)
182
+
183
+ #define XFD_COPYSET(src,dst) { \
184
+ u_int __i; \
185
+ FD_ZERO(dst); \
186
+ for (__i = 0; __i < XFD_SETCOUNT(src) ; __i++) { \
187
+ XFD_FD(dst,__i) = XFD_FD(src,__i); \
188
+ } \
189
+ XFD_SETCOUNT(dst) = XFD_SETCOUNT(src); \
190
+ }
191
+
192
+ #define XFD_ANDSET(dst,b1,b2) { \
193
+ u_int __i; \
194
+ FD_ZERO(dst); \
195
+ for (__i = 0; __i < XFD_SETCOUNT(b1) ; __i++) { \
196
+ if (FD_ISSET(XFD_FD(b1,__i), b2)) \
197
+ FD_SET(XFD_FD(b1,__i), dst); \
198
+ } \
199
+ }
200
+
201
+ #define XFD_ORSET(dst,b1,b2) { \
202
+ u_int __i; \
203
+ if (dst != b1) XFD_COPYSET(b1,dst); \
204
+ for (__i = 0; __i < XFD_SETCOUNT(b2) ; __i++) { \
205
+ if (!FD_ISSET(XFD_FD(b2,__i), dst)) \
206
+ FD_SET(XFD_FD(b2,__i), dst); \
207
+ } \
208
+ }
209
+
210
+ /* this one is really sub-optimal */
211
+ #define XFD_UNSET(dst,b1) { \
212
+ u_int __i; \
213
+ for (__i = 0; __i < XFD_SETCOUNT(b1) ; __i++) { \
214
+ FD_CLR(XFD_FD(b1,__i), dst); \
215
+ } \
216
+ }
217
+
218
+ /* we have to pay the price of having an array here, unlike with bitmasks
219
+ calling twice FD_SET with the same fd is not transparent, so be careful */
220
+ #undef FD_SET
221
+ #define FD_SET(fd,set) do { \
222
+ if (XFD_SETCOUNT(set) < FD_SETSIZE && !FD_ISSET(fd,set)) \
223
+ XFD_FD(set,XFD_SETCOUNT(set)++)=(fd); \
224
+ } while(0)
225
+
226
+ #define getdtablesize() FD_SETSIZE
227
+
228
+ #endif /* WIN32 */
229
+
230
+ #endif /* _XPOLL_H_ */
data/miniconda3/include/X11/Xproto.h ADDED
@@ -0,0 +1,2157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Definitions for the X window system used by server and c bindings */
2
+
3
+ /*
4
+ * This packet-construction scheme makes the following assumptions:
5
+ *
6
+ * 1. The compiler is able
7
+ * to generate code which addresses one- and two-byte quantities.
8
+ * In the worst case, this would be done with bit-fields. If bit-fields
9
+ * are used it may be necessary to reorder the request fields in this file,
10
+ * depending on the order in which the machine assigns bit fields to
11
+ * machine words. There may also be a problem with sign extension,
12
+ * as K+R specify that bitfields are always unsigned.
13
+ *
14
+ * 2. 2- and 4-byte fields in packet structures must be ordered by hand
15
+ * such that they are naturally-aligned, so that no compiler will ever
16
+ * insert padding bytes.
17
+ *
18
+ * 3. All packets are hand-padded to a multiple of 4 bytes, for
19
+ * the same reason.
20
+ */
21
+
22
+ #ifndef XPROTO_H
23
+ #define XPROTO_H
24
+
25
+ /***********************************************************
26
+
27
+ Copyright 1987, 1998 The Open Group
28
+
29
+ Permission to use, copy, modify, distribute, and sell this software and its
30
+ documentation for any purpose is hereby granted without fee, provided that
31
+ the above copyright notice appear in all copies and that both that
32
+ copyright notice and this permission notice appear in supporting
33
+ documentation.
34
+
35
+ The above copyright notice and this permission notice shall be included in
36
+ all copies or substantial portions of the Software.
37
+
38
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
42
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
43
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
44
+
45
+ Except as contained in this notice, the name of The Open Group shall not be
46
+ used in advertising or otherwise to promote the sale, use or other dealings
47
+ in this Software without prior written authorization from The Open Group.
48
+
49
+
50
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
51
+
52
+ All Rights Reserved
53
+
54
+ Permission to use, copy, modify, and distribute this software and its
55
+ documentation for any purpose and without fee is hereby granted,
56
+ provided that the above copyright notice appear in all copies and that
57
+ both that copyright notice and this permission notice appear in
58
+ supporting documentation, and that the name of Digital not be
59
+ used in advertising or publicity pertaining to distribution of the
60
+ software without specific, written prior permission.
61
+
62
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
63
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
64
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
65
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
66
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
67
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
68
+ SOFTWARE.
69
+
70
+ ******************************************************************/
71
+
72
+ #include <X11/Xmd.h>
73
+ #include <X11/Xprotostr.h>
74
+
75
+ /*
76
+ * Define constants for the sizes of the network packets. The sz_ prefix is
77
+ * used instead of something more descriptive so that the symbols are no more
78
+ * than 32 characters in length (which causes problems for some compilers).
79
+ */
80
+ #define sz_xSegment 8
81
+ #define sz_xPoint 4
82
+ #define sz_xRectangle 8
83
+ #define sz_xArc 12
84
+ #define sz_xConnClientPrefix 12
85
+ #define sz_xConnSetupPrefix 8
86
+ #define sz_xConnSetup 32
87
+ #define sz_xPixmapFormat 8
88
+ #define sz_xDepth 8
89
+ #define sz_xVisualType 24
90
+ #define sz_xWindowRoot 40
91
+ #define sz_xTimecoord 8
92
+ #define sz_xHostEntry 4
93
+ #define sz_xCharInfo 12
94
+ #define sz_xFontProp 8
95
+ #define sz_xTextElt 2
96
+ #define sz_xColorItem 12
97
+ #define sz_xrgb 8
98
+ #define sz_xGenericReply 32
99
+ #define sz_xGetWindowAttributesReply 44
100
+ #define sz_xGetGeometryReply 32
101
+ #define sz_xQueryTreeReply 32
102
+ #define sz_xInternAtomReply 32
103
+ #define sz_xGetAtomNameReply 32
104
+ #define sz_xGetPropertyReply 32
105
+ #define sz_xListPropertiesReply 32
106
+ #define sz_xGetSelectionOwnerReply 32
107
+ #define sz_xGrabPointerReply 32
108
+ #define sz_xQueryPointerReply 32
109
+ #define sz_xGetMotionEventsReply 32
110
+ #define sz_xTranslateCoordsReply 32
111
+ #define sz_xGetInputFocusReply 32
112
+ #define sz_xQueryKeymapReply 40
113
+ #define sz_xQueryFontReply 60
114
+ #define sz_xQueryTextExtentsReply 32
115
+ #define sz_xListFontsReply 32
116
+ #define sz_xGetFontPathReply 32
117
+ #define sz_xGetImageReply 32
118
+ #define sz_xListInstalledColormapsReply 32
119
+ #define sz_xAllocColorReply 32
120
+ #define sz_xAllocNamedColorReply 32
121
+ #define sz_xAllocColorCellsReply 32
122
+ #define sz_xAllocColorPlanesReply 32
123
+ #define sz_xQueryColorsReply 32
124
+ #define sz_xLookupColorReply 32
125
+ #define sz_xQueryBestSizeReply 32
126
+ #define sz_xQueryExtensionReply 32
127
+ #define sz_xListExtensionsReply 32
128
+ #define sz_xSetMappingReply 32
129
+ #define sz_xGetKeyboardControlReply 52
130
+ #define sz_xGetPointerControlReply 32
131
+ #define sz_xGetScreenSaverReply 32
132
+ #define sz_xListHostsReply 32
133
+ #define sz_xSetModifierMappingReply 32
134
+ #define sz_xError 32
135
+ #define sz_xEvent 32
136
+ #define sz_xKeymapEvent 32
137
+ #define sz_xReq 4
138
+ #define sz_xResourceReq 8
139
+ #define sz_xCreateWindowReq 32
140
+ #define sz_xChangeWindowAttributesReq 12
141
+ #define sz_xChangeSaveSetReq 8
142
+ #define sz_xReparentWindowReq 16
143
+ #define sz_xConfigureWindowReq 12
144
+ #define sz_xCirculateWindowReq 8
145
+ #define sz_xInternAtomReq 8
146
+ #define sz_xChangePropertyReq 24
147
+ #define sz_xDeletePropertyReq 12
148
+ #define sz_xGetPropertyReq 24
149
+ #define sz_xSetSelectionOwnerReq 16
150
+ #define sz_xConvertSelectionReq 24
151
+ #define sz_xSendEventReq 44
152
+ #define sz_xGrabPointerReq 24
153
+ #define sz_xGrabButtonReq 24
154
+ #define sz_xUngrabButtonReq 12
155
+ #define sz_xChangeActivePointerGrabReq 16
156
+ #define sz_xGrabKeyboardReq 16
157
+ #define sz_xGrabKeyReq 16
158
+ #define sz_xUngrabKeyReq 12
159
+ #define sz_xAllowEventsReq 8
160
+ #define sz_xGetMotionEventsReq 16
161
+ #define sz_xTranslateCoordsReq 16
162
+ #define sz_xWarpPointerReq 24
163
+ #define sz_xSetInputFocusReq 12
164
+ #define sz_xOpenFontReq 12
165
+ #define sz_xQueryTextExtentsReq 8
166
+ #define sz_xListFontsReq 8
167
+ #define sz_xSetFontPathReq 8
168
+ #define sz_xCreatePixmapReq 16
169
+ #define sz_xCreateGCReq 16
170
+ #define sz_xChangeGCReq 12
171
+ #define sz_xCopyGCReq 16
172
+ #define sz_xSetDashesReq 12
173
+ #define sz_xSetClipRectanglesReq 12
174
+ #define sz_xCopyAreaReq 28
175
+ #define sz_xCopyPlaneReq 32
176
+ #define sz_xPolyPointReq 12
177
+ #define sz_xPolySegmentReq 12
178
+ #define sz_xFillPolyReq 16
179
+ #define sz_xPutImageReq 24
180
+ #define sz_xGetImageReq 20
181
+ #define sz_xPolyTextReq 16
182
+ #define sz_xImageTextReq 16
183
+ #define sz_xCreateColormapReq 16
184
+ #define sz_xCopyColormapAndFreeReq 12
185
+ #define sz_xAllocColorReq 16
186
+ #define sz_xAllocNamedColorReq 12
187
+ #define sz_xAllocColorCellsReq 12
188
+ #define sz_xAllocColorPlanesReq 16
189
+ #define sz_xFreeColorsReq 12
190
+ #define sz_xStoreColorsReq 8
191
+ #define sz_xStoreNamedColorReq 16
192
+ #define sz_xQueryColorsReq 8
193
+ #define sz_xLookupColorReq 12
194
+ #define sz_xCreateCursorReq 32
195
+ #define sz_xCreateGlyphCursorReq 32
196
+ #define sz_xRecolorCursorReq 20
197
+ #define sz_xQueryBestSizeReq 12
198
+ #define sz_xQueryExtensionReq 8
199
+ #define sz_xChangeKeyboardControlReq 8
200
+ #define sz_xBellReq 4
201
+ #define sz_xChangePointerControlReq 12
202
+ #define sz_xSetScreenSaverReq 12
203
+ #define sz_xChangeHostsReq 8
204
+ #define sz_xListHostsReq 4
205
+ #define sz_xChangeModeReq 4
206
+ #define sz_xRotatePropertiesReq 12
207
+ #define sz_xReply 32
208
+ #define sz_xGrabKeyboardReply 32
209
+ #define sz_xListFontsWithInfoReply 60
210
+ #define sz_xSetPointerMappingReply 32
211
+ #define sz_xGetKeyboardMappingReply 32
212
+ #define sz_xGetPointerMappingReply 32
213
+ #define sz_xGetModifierMappingReply 32
214
+ #define sz_xListFontsWithInfoReq 8
215
+ #define sz_xPolyLineReq 12
216
+ #define sz_xPolyArcReq 12
217
+ #define sz_xPolyRectangleReq 12
218
+ #define sz_xPolyFillRectangleReq 12
219
+ #define sz_xPolyFillArcReq 12
220
+ #define sz_xPolyText8Req 16
221
+ #define sz_xPolyText16Req 16
222
+ #define sz_xImageText8Req 16
223
+ #define sz_xImageText16Req 16
224
+ #define sz_xSetPointerMappingReq 4
225
+ #define sz_xForceScreenSaverReq 4
226
+ #define sz_xSetCloseDownModeReq 4
227
+ #define sz_xClearAreaReq 16
228
+ #define sz_xSetAccessControlReq 4
229
+ #define sz_xGetKeyboardMappingReq 8
230
+ #define sz_xSetModifierMappingReq 4
231
+ #define sz_xPropIconSize 24
232
+ #define sz_xChangeKeyboardMappingReq 8
233
+
234
+
235
+ /* For the purpose of the structure definitions in this file,
236
+ we must redefine the following types in terms of Xmd.h's types, which may
237
+ include bit fields. All of these are #undef'd at the end of this file,
238
+ restoring the definitions in X.h. */
239
+
240
+ #define Window CARD32
241
+ #define Drawable CARD32
242
+ #define Font CARD32
243
+ #define Pixmap CARD32
244
+ #define Cursor CARD32
245
+ #define Colormap CARD32
246
+ #define GContext CARD32
247
+ #define Atom CARD32
248
+ #define VisualID CARD32
249
+ #define Time CARD32
250
+ #define KeyCode CARD8
251
+ #define KeySym CARD32
252
+
253
+ #define X_TCP_PORT 6000 /* add display number */
254
+
255
+ #define xTrue 1
256
+ #define xFalse 0
257
+
258
+
259
+ typedef CARD16 KeyButMask;
260
+
261
+ /*****************
262
+ Connection setup structures. See Chapter 8: Connection Setup
263
+ of the X Window System Protocol specification for details.
264
+ *****************/
265
+
266
+ /* Client initiates handshake with this data, followed by the strings
267
+ * for the auth protocol & data.
268
+ */
269
+ typedef struct {
270
+ CARD8 byteOrder;
271
+ BYTE pad;
272
+ CARD16 majorVersion, minorVersion;
273
+ CARD16 nbytesAuthProto; /* Authorization protocol */
274
+ CARD16 nbytesAuthString; /* Authorization string */
275
+ CARD16 pad2;
276
+ } xConnClientPrefix;
277
+
278
+ /* Server response to xConnClientPrefix.
279
+ *
280
+ * If success == Success, this is followed by xConnSetup and
281
+ * numRoots xWindowRoot structs.
282
+ *
283
+ * If success == Failure, this is followed by a reason string.
284
+ *
285
+ * The protocol also defines a case of success == Authenticate, but
286
+ * that doesn't seem to have ever been implemented by the X Consortium.
287
+ */
288
+ typedef struct {
289
+ CARD8 success;
290
+ BYTE lengthReason; /*num bytes in string following if failure */
291
+ CARD16 majorVersion,
292
+ minorVersion;
293
+ CARD16 length; /* 1/4 additional bytes in setup info */
294
+ } xConnSetupPrefix;
295
+
296
+
297
+ typedef struct {
298
+ CARD32 release;
299
+ CARD32 ridBase,
300
+ ridMask;
301
+ CARD32 motionBufferSize;
302
+ CARD16 nbytesVendor; /* number of bytes in vendor string */
303
+ CARD16 maxRequestSize;
304
+ CARD8 numRoots; /* number of roots structs to follow */
305
+ CARD8 numFormats; /* number of pixmap formats */
306
+ CARD8 imageByteOrder; /* LSBFirst, MSBFirst */
307
+ CARD8 bitmapBitOrder; /* LeastSignificant, MostSign...*/
308
+ CARD8 bitmapScanlineUnit, /* 8, 16, 32 */
309
+ bitmapScanlinePad; /* 8, 16, 32 */
310
+ KeyCode minKeyCode, maxKeyCode;
311
+ CARD32 pad2;
312
+ } xConnSetup;
313
+
314
+ typedef struct {
315
+ CARD8 depth;
316
+ CARD8 bitsPerPixel;
317
+ CARD8 scanLinePad;
318
+ CARD8 pad1;
319
+ CARD32 pad2;
320
+ } xPixmapFormat;
321
+
322
+ /* window root */
323
+
324
+ typedef struct {
325
+ CARD8 depth;
326
+ CARD8 pad1;
327
+ CARD16 nVisuals; /* number of xVisualType structures following */
328
+ CARD32 pad2;
329
+ } xDepth;
330
+
331
+ typedef struct {
332
+ VisualID visualID;
333
+ #if defined(__cplusplus) || defined(c_plusplus)
334
+ CARD8 c_class;
335
+ #else
336
+ CARD8 class;
337
+ #endif
338
+ CARD8 bitsPerRGB;
339
+ CARD16 colormapEntries;
340
+ CARD32 redMask, greenMask, blueMask;
341
+ CARD32 pad;
342
+ } xVisualType;
343
+
344
+ typedef struct {
345
+ Window windowId;
346
+ Colormap defaultColormap;
347
+ CARD32 whitePixel, blackPixel;
348
+ CARD32 currentInputMask;
349
+ CARD16 pixWidth, pixHeight;
350
+ CARD16 mmWidth, mmHeight;
351
+ CARD16 minInstalledMaps, maxInstalledMaps;
352
+ VisualID rootVisualID;
353
+ CARD8 backingStore;
354
+ BOOL saveUnders;
355
+ CARD8 rootDepth;
356
+ CARD8 nDepths; /* number of xDepth structures following */
357
+ } xWindowRoot;
358
+
359
+
360
+ /*****************************************************************
361
+ * Structure Defns
362
+ * Structures needed for replies
363
+ *****************************************************************/
364
+
365
+ /* Used in GetMotionEvents */
366
+
367
+ typedef struct {
368
+ CARD32 time;
369
+ INT16 x, y;
370
+ } xTimecoord;
371
+
372
+ typedef struct {
373
+ CARD8 family;
374
+ BYTE pad;
375
+ CARD16 length;
376
+ } xHostEntry;
377
+
378
+ typedef struct {
379
+ INT16 leftSideBearing,
380
+ rightSideBearing,
381
+ characterWidth,
382
+ ascent,
383
+ descent;
384
+ CARD16 attributes;
385
+ } xCharInfo;
386
+
387
+ typedef struct {
388
+ Atom name;
389
+ CARD32 value;
390
+ } xFontProp;
391
+
392
+ /*
393
+ * non-aligned big-endian font ID follows this struct
394
+ */
395
+ typedef struct { /* followed by string */
396
+ CARD8 len; /* number of *characters* in string, or FontChange (255)
397
+ for font change, or 0 if just delta given */
398
+ INT8 delta;
399
+ } xTextElt;
400
+
401
+
402
+ typedef struct {
403
+ CARD32 pixel;
404
+ CARD16 red, green, blue;
405
+ CARD8 flags; /* DoRed, DoGreen, DoBlue booleans */
406
+ CARD8 pad;
407
+ } xColorItem;
408
+
409
+
410
+ typedef struct {
411
+ CARD16 red, green, blue, pad;
412
+ } xrgb;
413
+
414
+ typedef CARD8 KEYCODE;
415
+
416
+
417
+ /*****************
418
+ * XRep:
419
+ * meant to be 32 byte quantity
420
+ *****************/
421
+
422
+ /* GenericReply is the common format of all replies. The "data" items
423
+ are specific to each individual reply type. */
424
+
425
+ typedef struct {
426
+ BYTE type; /* X_Reply */
427
+ BYTE data1; /* depends on reply type */
428
+ CARD16 sequenceNumber; /* of last request received by server */
429
+ CARD32 length; /* 4 byte quantities beyond size of GenericReply */
430
+ CARD32 data00;
431
+ CARD32 data01;
432
+ CARD32 data02;
433
+ CARD32 data03;
434
+ CARD32 data04;
435
+ CARD32 data05;
436
+ } xGenericReply;
437
+
438
+ /* Individual reply formats. */
439
+
440
+ typedef struct {
441
+ BYTE type; /* X_Reply */
442
+ CARD8 backingStore;
443
+ CARD16 sequenceNumber;
444
+ CARD32 length; /* NOT 0; this is an extra-large reply */
445
+ VisualID visualID;
446
+ #if defined(__cplusplus) || defined(c_plusplus)
447
+ CARD16 c_class;
448
+ #else
449
+ CARD16 class;
450
+ #endif
451
+ CARD8 bitGravity;
452
+ CARD8 winGravity;
453
+ CARD32 backingBitPlanes;
454
+ CARD32 backingPixel;
455
+ BOOL saveUnder;
456
+ BOOL mapInstalled;
457
+ CARD8 mapState;
458
+ BOOL override;
459
+ Colormap colormap;
460
+ CARD32 allEventMasks;
461
+ CARD32 yourEventMask;
462
+ CARD16 doNotPropagateMask;
463
+ CARD16 pad;
464
+ } xGetWindowAttributesReply;
465
+
466
+ typedef struct {
467
+ BYTE type; /* X_Reply */
468
+ CARD8 depth;
469
+ CARD16 sequenceNumber;
470
+ CARD32 length; /* 0 */
471
+ Window root;
472
+ INT16 x, y;
473
+ CARD16 width, height;
474
+ CARD16 borderWidth;
475
+ CARD16 pad1;
476
+ CARD32 pad2;
477
+ CARD32 pad3;
478
+ } xGetGeometryReply;
479
+
480
+ typedef struct {
481
+ BYTE type; /* X_Reply */
482
+ BYTE pad1;
483
+ CARD16 sequenceNumber;
484
+ CARD32 length;
485
+ Window root, parent;
486
+ CARD16 nChildren;
487
+ CARD16 pad2;
488
+ CARD32 pad3;
489
+ CARD32 pad4;
490
+ CARD32 pad5;
491
+ } xQueryTreeReply;
492
+
493
+ typedef struct {
494
+ BYTE type; /* X_Reply */
495
+ BYTE pad1;
496
+ CARD16 sequenceNumber;
497
+ CARD32 length; /* 0 */
498
+ Atom atom;
499
+ CARD32 pad2;
500
+ CARD32 pad3;
501
+ CARD32 pad4;
502
+ CARD32 pad5;
503
+ CARD32 pad6;
504
+ } xInternAtomReply;
505
+
506
+ typedef struct {
507
+ BYTE type; /* X_Reply */
508
+ BYTE pad1;
509
+ CARD16 sequenceNumber;
510
+ CARD32 length; /* of additional bytes */
511
+ CARD16 nameLength; /* # of characters in name */
512
+ CARD16 pad2;
513
+ CARD32 pad3;
514
+ CARD32 pad4;
515
+ CARD32 pad5;
516
+ CARD32 pad6;
517
+ CARD32 pad7;
518
+ } xGetAtomNameReply;
519
+
520
+ typedef struct {
521
+ BYTE type; /* X_Reply */
522
+ CARD8 format;
523
+ CARD16 sequenceNumber;
524
+ CARD32 length; /* of additional bytes */
525
+ Atom propertyType;
526
+ CARD32 bytesAfter;
527
+ CARD32 nItems; /* # of 8, 16, or 32-bit entities in reply */
528
+ CARD32 pad1;
529
+ CARD32 pad2;
530
+ CARD32 pad3;
531
+ } xGetPropertyReply;
532
+
533
+ typedef struct {
534
+ BYTE type; /* X_Reply */
535
+ BYTE pad1;
536
+ CARD16 sequenceNumber;
537
+ CARD32 length;
538
+ CARD16 nProperties;
539
+ CARD16 pad2;
540
+ CARD32 pad3;
541
+ CARD32 pad4;
542
+ CARD32 pad5;
543
+ CARD32 pad6;
544
+ CARD32 pad7;
545
+ } xListPropertiesReply;
546
+
547
+ typedef struct {
548
+ BYTE type; /* X_Reply */
549
+ BYTE pad1;
550
+ CARD16 sequenceNumber;
551
+ CARD32 length; /* 0 */
552
+ Window owner;
553
+ CARD32 pad2;
554
+ CARD32 pad3;
555
+ CARD32 pad4;
556
+ CARD32 pad5;
557
+ CARD32 pad6;
558
+ } xGetSelectionOwnerReply;
559
+
560
+ typedef struct {
561
+ BYTE type; /* X_Reply */
562
+ BYTE status;
563
+ CARD16 sequenceNumber;
564
+ CARD32 length; /* 0 */
565
+ CARD32 pad1;
566
+ CARD32 pad2;
567
+ CARD32 pad3;
568
+ CARD32 pad4;
569
+ CARD32 pad5;
570
+ CARD32 pad6;
571
+ } xGrabPointerReply;
572
+
573
+ typedef xGrabPointerReply xGrabKeyboardReply;
574
+
575
+ typedef struct {
576
+ BYTE type; /* X_Reply */
577
+ BOOL sameScreen;
578
+ CARD16 sequenceNumber;
579
+ CARD32 length; /* 0 */
580
+ Window root, child;
581
+ INT16 rootX, rootY, winX, winY;
582
+ CARD16 mask;
583
+ CARD16 pad1;
584
+ CARD32 pad;
585
+ } xQueryPointerReply;
586
+
587
+ typedef struct {
588
+ BYTE type; /* X_Reply */
589
+ BYTE pad1;
590
+ CARD16 sequenceNumber;
591
+ CARD32 length;
592
+ CARD32 nEvents;
593
+ CARD32 pad2;
594
+ CARD32 pad3;
595
+ CARD32 pad4;
596
+ CARD32 pad5;
597
+ CARD32 pad6;
598
+ } xGetMotionEventsReply;
599
+
600
+ typedef struct {
601
+ BYTE type; /* X_Reply */
602
+ BOOL sameScreen;
603
+ CARD16 sequenceNumber;
604
+ CARD32 length; /* 0 */
605
+ Window child;
606
+ INT16 dstX, dstY;
607
+ CARD32 pad2;
608
+ CARD32 pad3;
609
+ CARD32 pad4;
610
+ CARD32 pad5;
611
+ } xTranslateCoordsReply;
612
+
613
+ typedef struct {
614
+ BYTE type; /* X_Reply */
615
+ CARD8 revertTo;
616
+ CARD16 sequenceNumber;
617
+ CARD32 length; /* 0 */
618
+ Window focus;
619
+ CARD32 pad1;
620
+ CARD32 pad2;
621
+ CARD32 pad3;
622
+ CARD32 pad4;
623
+ CARD32 pad5;
624
+ } xGetInputFocusReply;
625
+
626
+ typedef struct {
627
+ BYTE type; /* X_Reply */
628
+ BYTE pad1;
629
+ CARD16 sequenceNumber;
630
+ CARD32 length; /* 2, NOT 0; this is an extra-large reply */
631
+ BYTE map[32];
632
+ } xQueryKeymapReply;
633
+
634
+ /* Warning: this MUST match (up to component renaming) xListFontsWithInfoReply */
635
+ typedef struct _xQueryFontReply {
636
+ BYTE type; /* X_Reply */
637
+ BYTE pad1;
638
+ CARD16 sequenceNumber;
639
+ CARD32 length; /* definitely > 0, even if "nCharInfos" is 0 */
640
+ xCharInfo minBounds;
641
+ CARD32 walign1;
642
+ xCharInfo maxBounds;
643
+ CARD32 walign2;
644
+ CARD16 minCharOrByte2, maxCharOrByte2;
645
+ CARD16 defaultChar;
646
+ CARD16 nFontProps; /* followed by this many xFontProp structures */
647
+ CARD8 drawDirection;
648
+ CARD8 minByte1, maxByte1;
649
+ BOOL allCharsExist;
650
+ INT16 fontAscent, fontDescent;
651
+ CARD32 nCharInfos; /* followed by this many xCharInfo structures */
652
+ } xQueryFontReply;
653
+
654
+ typedef struct {
655
+ BYTE type; /* X_Reply */
656
+ CARD8 drawDirection;
657
+ CARD16 sequenceNumber;
658
+ CARD32 length; /* 0 */
659
+ INT16 fontAscent, fontDescent;
660
+ INT16 overallAscent, overallDescent;
661
+ INT32 overallWidth, overallLeft, overallRight;
662
+ CARD32 pad;
663
+ } xQueryTextExtentsReply;
664
+
665
+ typedef struct {
666
+ BYTE type; /* X_Reply */
667
+ BYTE pad1;
668
+ CARD16 sequenceNumber;
669
+ CARD32 length;
670
+ CARD16 nFonts;
671
+ CARD16 pad2;
672
+ CARD32 pad3;
673
+ CARD32 pad4;
674
+ CARD32 pad5;
675
+ CARD32 pad6;
676
+ CARD32 pad7;
677
+ } xListFontsReply;
678
+
679
+ /* Warning: this MUST match (up to component renaming) xQueryFontReply */
680
+ typedef struct {
681
+ BYTE type; /* X_Reply */
682
+ CARD8 nameLength; /* 0 indicates end-of-reply-sequence */
683
+ CARD16 sequenceNumber;
684
+ CARD32 length; /* definitely > 0, even if "nameLength" is 0 */
685
+ xCharInfo minBounds;
686
+ CARD32 walign1;
687
+ xCharInfo maxBounds;
688
+ CARD32 walign2;
689
+ CARD16 minCharOrByte2, maxCharOrByte2;
690
+ CARD16 defaultChar;
691
+ CARD16 nFontProps; /* followed by this many xFontProp structures */
692
+ CARD8 drawDirection;
693
+ CARD8 minByte1, maxByte1;
694
+ BOOL allCharsExist;
695
+ INT16 fontAscent, fontDescent;
696
+ CARD32 nReplies; /* hint as to how many more replies might be coming */
697
+ } xListFontsWithInfoReply;
698
+
699
+ typedef struct {
700
+ BYTE type; /* X_Reply */
701
+ BYTE pad1;
702
+ CARD16 sequenceNumber;
703
+ CARD32 length;
704
+ CARD16 nPaths;
705
+ CARD16 pad2;
706
+ CARD32 pad3;
707
+ CARD32 pad4;
708
+ CARD32 pad5;
709
+ CARD32 pad6;
710
+ CARD32 pad7;
711
+ } xGetFontPathReply;
712
+
713
+ typedef struct {
714
+ BYTE type; /* X_Reply */
715
+ CARD8 depth;
716
+ CARD16 sequenceNumber;
717
+ CARD32 length;
718
+ VisualID visual;
719
+ CARD32 pad3;
720
+ CARD32 pad4;
721
+ CARD32 pad5;
722
+ CARD32 pad6;
723
+ CARD32 pad7;
724
+ } xGetImageReply;
725
+
726
+ typedef struct {
727
+ BYTE type; /* X_Reply */
728
+ BYTE pad1;
729
+ CARD16 sequenceNumber;
730
+ CARD32 length;
731
+ CARD16 nColormaps;
732
+ CARD16 pad2;
733
+ CARD32 pad3;
734
+ CARD32 pad4;
735
+ CARD32 pad5;
736
+ CARD32 pad6;
737
+ CARD32 pad7;
738
+ } xListInstalledColormapsReply;
739
+
740
+ typedef struct {
741
+ BYTE type; /* X_Reply */
742
+ BYTE pad1;
743
+ CARD16 sequenceNumber;
744
+ CARD32 length; /* 0 */
745
+ CARD16 red, green, blue;
746
+ CARD16 pad2;
747
+ CARD32 pixel;
748
+ CARD32 pad3;
749
+ CARD32 pad4;
750
+ CARD32 pad5;
751
+ } xAllocColorReply;
752
+
753
+ typedef struct {
754
+ BYTE type; /* X_Reply */
755
+ BYTE pad1;
756
+ CARD16 sequenceNumber;
757
+ CARD32 length; /* 0 */
758
+ CARD32 pixel;
759
+ CARD16 exactRed, exactGreen, exactBlue;
760
+ CARD16 screenRed, screenGreen, screenBlue;
761
+ CARD32 pad2;
762
+ CARD32 pad3;
763
+ } xAllocNamedColorReply;
764
+
765
+ typedef struct {
766
+ BYTE type; /* X_Reply */
767
+ BYTE pad1;
768
+ CARD16 sequenceNumber;
769
+ CARD32 length;
770
+ CARD16 nPixels, nMasks;
771
+ CARD32 pad3;
772
+ CARD32 pad4;
773
+ CARD32 pad5;
774
+ CARD32 pad6;
775
+ CARD32 pad7;
776
+ } xAllocColorCellsReply;
777
+
778
+ typedef struct {
779
+ BYTE type; /* X_Reply */
780
+ BYTE pad1;
781
+ CARD16 sequenceNumber;
782
+ CARD32 length;
783
+ CARD16 nPixels;
784
+ CARD16 pad2;
785
+ CARD32 redMask, greenMask, blueMask;
786
+ CARD32 pad3;
787
+ CARD32 pad4;
788
+ } xAllocColorPlanesReply;
789
+
790
+ typedef struct {
791
+ BYTE type; /* X_Reply */
792
+ BYTE pad1;
793
+ CARD16 sequenceNumber;
794
+ CARD32 length;
795
+ CARD16 nColors;
796
+ CARD16 pad2;
797
+ CARD32 pad3;
798
+ CARD32 pad4;
799
+ CARD32 pad5;
800
+ CARD32 pad6;
801
+ CARD32 pad7;
802
+ } xQueryColorsReply;
803
+
804
+ typedef struct {
805
+ BYTE type; /* X_Reply */
806
+ BYTE pad1;
807
+ CARD16 sequenceNumber;
808
+ CARD32 length; /* 0 */
809
+ CARD16 exactRed, exactGreen, exactBlue;
810
+ CARD16 screenRed, screenGreen, screenBlue;
811
+ CARD32 pad3;
812
+ CARD32 pad4;
813
+ CARD32 pad5;
814
+ } xLookupColorReply;
815
+
816
+ typedef struct {
817
+ BYTE type; /* X_Reply */
818
+ BYTE pad1;
819
+ CARD16 sequenceNumber;
820
+ CARD32 length; /* 0 */
821
+ CARD16 width, height;
822
+ CARD32 pad3;
823
+ CARD32 pad4;
824
+ CARD32 pad5;
825
+ CARD32 pad6;
826
+ CARD32 pad7;
827
+ } xQueryBestSizeReply;
828
+
829
+ typedef struct {
830
+ BYTE type; /* X_Reply */
831
+ BYTE pad1;
832
+ CARD16 sequenceNumber;
833
+ CARD32 length; /* 0 */
834
+ BOOL present;
835
+ CARD8 major_opcode;
836
+ CARD8 first_event;
837
+ CARD8 first_error;
838
+ CARD32 pad3;
839
+ CARD32 pad4;
840
+ CARD32 pad5;
841
+ CARD32 pad6;
842
+ CARD32 pad7;
843
+ } xQueryExtensionReply;
844
+
845
+ typedef struct {
846
+ BYTE type; /* X_Reply */
847
+ CARD8 nExtensions;
848
+ CARD16 sequenceNumber;
849
+ CARD32 length;
850
+ CARD32 pad2;
851
+ CARD32 pad3;
852
+ CARD32 pad4;
853
+ CARD32 pad5;
854
+ CARD32 pad6;
855
+ CARD32 pad7;
856
+ } xListExtensionsReply;
857
+
858
+
859
+ typedef struct {
860
+ BYTE type; /* X_Reply */
861
+ CARD8 success;
862
+ CARD16 sequenceNumber;
863
+ CARD32 length;
864
+ CARD32 pad2;
865
+ CARD32 pad3;
866
+ CARD32 pad4;
867
+ CARD32 pad5;
868
+ CARD32 pad6;
869
+ CARD32 pad7;
870
+ } xSetMappingReply;
871
+ typedef xSetMappingReply xSetPointerMappingReply;
872
+ typedef xSetMappingReply xSetModifierMappingReply;
873
+
874
+ typedef struct {
875
+ BYTE type; /* X_Reply */
876
+ CARD8 nElts; /* how many elements does the map have */
877
+ CARD16 sequenceNumber;
878
+ CARD32 length;
879
+ CARD32 pad2;
880
+ CARD32 pad3;
881
+ CARD32 pad4;
882
+ CARD32 pad5;
883
+ CARD32 pad6;
884
+ CARD32 pad7;
885
+ } xGetPointerMappingReply;
886
+
887
+ typedef struct {
888
+ BYTE type;
889
+ CARD8 keySymsPerKeyCode;
890
+ CARD16 sequenceNumber;
891
+ CARD32 length;
892
+ CARD32 pad2;
893
+ CARD32 pad3;
894
+ CARD32 pad4;
895
+ CARD32 pad5;
896
+ CARD32 pad6;
897
+ CARD32 pad7;
898
+ } xGetKeyboardMappingReply;
899
+
900
+ typedef struct {
901
+ BYTE type;
902
+ CARD8 numKeyPerModifier;
903
+ CARD16 sequenceNumber;
904
+ CARD32 length;
905
+ CARD32 pad1;
906
+ CARD32 pad2;
907
+ CARD32 pad3;
908
+ CARD32 pad4;
909
+ CARD32 pad5;
910
+ CARD32 pad6;
911
+ } xGetModifierMappingReply;
912
+
913
+ typedef struct {
914
+ BYTE type; /* X_Reply */
915
+ BOOL globalAutoRepeat;
916
+ CARD16 sequenceNumber;
917
+ CARD32 length; /* 5 */
918
+ CARD32 ledMask;
919
+ CARD8 keyClickPercent, bellPercent;
920
+ CARD16 bellPitch, bellDuration;
921
+ CARD16 pad;
922
+ BYTE map[32]; /* bit masks start here */
923
+ } xGetKeyboardControlReply;
924
+
925
+ typedef struct {
926
+ BYTE type; /* X_Reply */
927
+ BYTE pad1;
928
+ CARD16 sequenceNumber;
929
+ CARD32 length; /* 0 */
930
+ CARD16 accelNumerator, accelDenominator;
931
+ CARD16 threshold;
932
+ CARD16 pad2;
933
+ CARD32 pad3;
934
+ CARD32 pad4;
935
+ CARD32 pad5;
936
+ CARD32 pad6;
937
+ } xGetPointerControlReply;
938
+
939
+ typedef struct {
940
+ BYTE type; /* X_Reply */
941
+ BYTE pad1;
942
+ CARD16 sequenceNumber;
943
+ CARD32 length; /* 0 */
944
+ CARD16 timeout, interval;
945
+ BOOL preferBlanking;
946
+ BOOL allowExposures;
947
+ CARD16 pad2;
948
+ CARD32 pad3;
949
+ CARD32 pad4;
950
+ CARD32 pad5;
951
+ CARD32 pad6;
952
+ } xGetScreenSaverReply;
953
+
954
+ typedef struct {
955
+ BYTE type; /* X_Reply */
956
+ BOOL enabled;
957
+ CARD16 sequenceNumber;
958
+ CARD32 length;
959
+ CARD16 nHosts;
960
+ CARD16 pad1;
961
+ CARD32 pad3;
962
+ CARD32 pad4;
963
+ CARD32 pad5;
964
+ CARD32 pad6;
965
+ CARD32 pad7;
966
+ } xListHostsReply;
967
+
968
+
969
+
970
+
971
+ /*****************************************************************
972
+ * Xerror
973
+ * All errors are 32 bytes
974
+ *****************************************************************/
975
+
976
+ typedef struct {
977
+ BYTE type; /* X_Error */
978
+ BYTE errorCode;
979
+ CARD16 sequenceNumber; /* the nth request from this client */
980
+ CARD32 resourceID;
981
+ CARD16 minorCode;
982
+ CARD8 majorCode;
983
+ BYTE pad1;
984
+ CARD32 pad3;
985
+ CARD32 pad4;
986
+ CARD32 pad5;
987
+ CARD32 pad6;
988
+ CARD32 pad7;
989
+ } xError;
990
+
991
+ /*****************************************************************
992
+ * xEvent
993
+ * All events are 32 bytes
994
+ *****************************************************************/
995
+
996
+ typedef struct _xEvent {
997
+ union {
998
+ struct {
999
+ BYTE type;
1000
+ BYTE detail;
1001
+ CARD16 sequenceNumber;
1002
+ } u;
1003
+ struct {
1004
+ CARD32 pad00;
1005
+ Time time;
1006
+ Window root, event, child;
1007
+ INT16 rootX, rootY, eventX, eventY;
1008
+ KeyButMask state;
1009
+ BOOL sameScreen;
1010
+ BYTE pad1;
1011
+ } keyButtonPointer;
1012
+ struct {
1013
+ CARD32 pad00;
1014
+ Time time;
1015
+ Window root, event, child;
1016
+ INT16 rootX, rootY, eventX, eventY;
1017
+ KeyButMask state;
1018
+ BYTE mode; /* really XMode */
1019
+ BYTE flags; /* sameScreen and focus booleans, packed together */
1020
+ #define ELFlagFocus (1<<0)
1021
+ #define ELFlagSameScreen (1<<1)
1022
+ } enterLeave;
1023
+ struct {
1024
+ CARD32 pad00;
1025
+ Window window;
1026
+ BYTE mode; /* really XMode */
1027
+ BYTE pad1, pad2, pad3;
1028
+ } focus;
1029
+ struct {
1030
+ CARD32 pad00;
1031
+ Window window;
1032
+ CARD16 x, y, width, height;
1033
+ CARD16 count;
1034
+ CARD16 pad2;
1035
+ } expose;
1036
+ struct {
1037
+ CARD32 pad00;
1038
+ Drawable drawable;
1039
+ CARD16 x, y, width, height;
1040
+ CARD16 minorEvent;
1041
+ CARD16 count;
1042
+ BYTE majorEvent;
1043
+ BYTE pad1, pad2, pad3;
1044
+ } graphicsExposure;
1045
+ struct {
1046
+ CARD32 pad00;
1047
+ Drawable drawable;
1048
+ CARD16 minorEvent;
1049
+ BYTE majorEvent;
1050
+ BYTE bpad;
1051
+ } noExposure;
1052
+ struct {
1053
+ CARD32 pad00;
1054
+ Window window;
1055
+ CARD8 state;
1056
+ BYTE pad1, pad2, pad3;
1057
+ } visibility;
1058
+ struct {
1059
+ CARD32 pad00;
1060
+ Window parent, window;
1061
+ INT16 x, y;
1062
+ CARD16 width, height, borderWidth;
1063
+ BOOL override;
1064
+ BYTE bpad;
1065
+ } createNotify;
1066
+ /*
1067
+ * The event fields in the structures for DestroyNotify, UnmapNotify,
1068
+ * MapNotify, ReparentNotify, ConfigureNotify, CirculateNotify, GravityNotify,
1069
+ * must be at the same offset because server internal code is depending upon
1070
+ * this to patch up the events before they are delivered.
1071
+ * Also note that MapRequest, ConfigureRequest and CirculateRequest have
1072
+ * the same offset for the event window.
1073
+ */
1074
+ struct {
1075
+ CARD32 pad00;
1076
+ Window event, window;
1077
+ } destroyNotify;
1078
+ struct {
1079
+ CARD32 pad00;
1080
+ Window event, window;
1081
+ BOOL fromConfigure;
1082
+ BYTE pad1, pad2, pad3;
1083
+ } unmapNotify;
1084
+ struct {
1085
+ CARD32 pad00;
1086
+ Window event, window;
1087
+ BOOL override;
1088
+ BYTE pad1, pad2, pad3;
1089
+ } mapNotify;
1090
+ struct {
1091
+ CARD32 pad00;
1092
+ Window parent, window;
1093
+ } mapRequest;
1094
+ struct {
1095
+ CARD32 pad00;
1096
+ Window event, window, parent;
1097
+ INT16 x, y;
1098
+ BOOL override;
1099
+ BYTE pad1, pad2, pad3;
1100
+ } reparent;
1101
+ struct {
1102
+ CARD32 pad00;
1103
+ Window event, window, aboveSibling;
1104
+ INT16 x, y;
1105
+ CARD16 width, height, borderWidth;
1106
+ BOOL override;
1107
+ BYTE bpad;
1108
+ } configureNotify;
1109
+ struct {
1110
+ CARD32 pad00;
1111
+ Window parent, window, sibling;
1112
+ INT16 x, y;
1113
+ CARD16 width, height, borderWidth;
1114
+ CARD16 valueMask;
1115
+ CARD32 pad1;
1116
+ } configureRequest;
1117
+ struct {
1118
+ CARD32 pad00;
1119
+ Window event, window;
1120
+ INT16 x, y;
1121
+ CARD32 pad1, pad2, pad3, pad4;
1122
+ } gravity;
1123
+ struct {
1124
+ CARD32 pad00;
1125
+ Window window;
1126
+ CARD16 width, height;
1127
+ } resizeRequest;
1128
+ struct {
1129
+ /* The event field in the circulate record is really the parent when this
1130
+ is used as a CirculateRequest instead of a CirculateNotify */
1131
+ CARD32 pad00;
1132
+ Window event, window, parent;
1133
+ BYTE place; /* Top or Bottom */
1134
+ BYTE pad1, pad2, pad3;
1135
+ } circulate;
1136
+ struct {
1137
+ CARD32 pad00;
1138
+ Window window;
1139
+ Atom atom;
1140
+ Time time;
1141
+ BYTE state; /* NewValue or Deleted */
1142
+ BYTE pad1;
1143
+ CARD16 pad2;
1144
+ } property;
1145
+ struct {
1146
+ CARD32 pad00;
1147
+ Time time;
1148
+ Window window;
1149
+ Atom atom;
1150
+ } selectionClear;
1151
+ struct {
1152
+ CARD32 pad00;
1153
+ Time time;
1154
+ Window owner, requestor;
1155
+ Atom selection, target, property;
1156
+ } selectionRequest;
1157
+ struct {
1158
+ CARD32 pad00;
1159
+ Time time;
1160
+ Window requestor;
1161
+ Atom selection, target, property;
1162
+ } selectionNotify;
1163
+ struct {
1164
+ CARD32 pad00;
1165
+ Window window;
1166
+ Colormap colormap;
1167
+ #if defined(__cplusplus) || defined(c_plusplus)
1168
+ BOOL c_new;
1169
+ #else
1170
+ BOOL new;
1171
+ #endif
1172
+ BYTE state; /* Installed or UnInstalled */
1173
+ BYTE pad1, pad2;
1174
+ } colormap;
1175
+ struct {
1176
+ CARD32 pad00;
1177
+ CARD8 request;
1178
+ KeyCode firstKeyCode;
1179
+ CARD8 count;
1180
+ BYTE pad1;
1181
+ } mappingNotify;
1182
+ struct {
1183
+ CARD32 pad00;
1184
+ Window window;
1185
+ union {
1186
+ struct {
1187
+ Atom type;
1188
+ INT32 longs0;
1189
+ INT32 longs1;
1190
+ INT32 longs2;
1191
+ INT32 longs3;
1192
+ INT32 longs4;
1193
+ } l;
1194
+ struct {
1195
+ Atom type;
1196
+ INT16 shorts0;
1197
+ INT16 shorts1;
1198
+ INT16 shorts2;
1199
+ INT16 shorts3;
1200
+ INT16 shorts4;
1201
+ INT16 shorts5;
1202
+ INT16 shorts6;
1203
+ INT16 shorts7;
1204
+ INT16 shorts8;
1205
+ INT16 shorts9;
1206
+ } s;
1207
+ struct {
1208
+ Atom type;
1209
+ INT8 bytes[20];
1210
+ } b;
1211
+ } u;
1212
+ } clientMessage;
1213
+ } u;
1214
+ } xEvent;
1215
+
1216
+ /*********************************************************
1217
+ *
1218
+ * Generic event
1219
+ *
1220
+ * Those events are not part of the core protocol spec and can be used by
1221
+ * various extensions.
1222
+ * type is always GenericEvent
1223
+ * extension is the minor opcode of the extension the event belongs to.
1224
+ * evtype is the actual event type, unique __per extension__.
1225
+ *
1226
+ * GenericEvents can be longer than 32 bytes, with the length field
1227
+ * specifying the number of 4 byte blocks after the first 32 bytes.
1228
+ *
1229
+ *
1230
+ */
1231
+ typedef struct
1232
+ {
1233
+ BYTE type;
1234
+ CARD8 extension;
1235
+ CARD16 sequenceNumber;
1236
+ CARD32 length;
1237
+ CARD16 evtype;
1238
+ CARD16 pad2;
1239
+ CARD32 pad3;
1240
+ CARD32 pad4;
1241
+ CARD32 pad5;
1242
+ CARD32 pad6;
1243
+ CARD32 pad7;
1244
+ } xGenericEvent;
1245
+
1246
+
1247
+
1248
+ /* KeymapNotify events are not included in the above union because they
1249
+ are different from all other events: they do not have a "detail"
1250
+ or "sequenceNumber", so there is room for a 248-bit key mask. */
1251
+
1252
+ typedef struct {
1253
+ BYTE type;
1254
+ BYTE map[31];
1255
+ } xKeymapEvent;
1256
+
1257
+ #define XEventSize (sizeof(xEvent))
1258
+
1259
+ /* XReply is the union of all the replies above whose "fixed part"
1260
+ fits in 32 bytes. It does NOT include GetWindowAttributesReply,
1261
+ QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply
1262
+ ListFontsWithInfoReply */
1263
+
1264
+ typedef union {
1265
+ xGenericReply generic;
1266
+ xGetGeometryReply geom;
1267
+ xQueryTreeReply tree;
1268
+ xInternAtomReply atom;
1269
+ xGetAtomNameReply atomName;
1270
+ xGetPropertyReply property;
1271
+ xListPropertiesReply listProperties;
1272
+ xGetSelectionOwnerReply selection;
1273
+ xGrabPointerReply grabPointer;
1274
+ xGrabKeyboardReply grabKeyboard;
1275
+ xQueryPointerReply pointer;
1276
+ xGetMotionEventsReply motionEvents;
1277
+ xTranslateCoordsReply coords;
1278
+ xGetInputFocusReply inputFocus;
1279
+ xQueryTextExtentsReply textExtents;
1280
+ xListFontsReply fonts;
1281
+ xGetFontPathReply fontPath;
1282
+ xGetImageReply image;
1283
+ xListInstalledColormapsReply colormaps;
1284
+ xAllocColorReply allocColor;
1285
+ xAllocNamedColorReply allocNamedColor;
1286
+ xAllocColorCellsReply colorCells;
1287
+ xAllocColorPlanesReply colorPlanes;
1288
+ xQueryColorsReply colors;
1289
+ xLookupColorReply lookupColor;
1290
+ xQueryBestSizeReply bestSize;
1291
+ xQueryExtensionReply extension;
1292
+ xListExtensionsReply extensions;
1293
+ xSetModifierMappingReply setModifierMapping;
1294
+ xGetModifierMappingReply getModifierMapping;
1295
+ xSetPointerMappingReply setPointerMapping;
1296
+ xGetKeyboardMappingReply getKeyboardMapping;
1297
+ xGetPointerMappingReply getPointerMapping;
1298
+ xGetPointerControlReply pointerControl;
1299
+ xGetScreenSaverReply screenSaver;
1300
+ xListHostsReply hosts;
1301
+ xError error;
1302
+ xEvent event;
1303
+ } xReply;
1304
+
1305
+
1306
+
1307
+ /*****************************************************************
1308
+ * REQUESTS
1309
+ *****************************************************************/
1310
+
1311
+
1312
+ /* Request structure */
1313
+
1314
+ typedef struct _xReq {
1315
+ CARD8 reqType;
1316
+ CARD8 data; /* meaning depends on request type */
1317
+ CARD16 length; /* length in 4 bytes quantities
1318
+ of whole request, including this header */
1319
+ } xReq;
1320
+
1321
+ /*****************************************************************
1322
+ * structures that follow request.
1323
+ *****************************************************************/
1324
+
1325
+ /* ResourceReq is used for any request which has a resource ID
1326
+ (or Atom or Time) as its one and only argument. */
1327
+
1328
+ typedef struct {
1329
+ CARD8 reqType;
1330
+ BYTE pad;
1331
+ CARD16 length;
1332
+ CARD32 id; /* a Window, Drawable, Font, GContext, Pixmap, etc. */
1333
+ } xResourceReq;
1334
+
1335
+ typedef struct {
1336
+ CARD8 reqType;
1337
+ CARD8 depth;
1338
+ CARD16 length;
1339
+ Window wid, parent;
1340
+ INT16 x, y;
1341
+ CARD16 width, height, borderWidth;
1342
+ #if defined(__cplusplus) || defined(c_plusplus)
1343
+ CARD16 c_class;
1344
+ #else
1345
+ CARD16 class;
1346
+ #endif
1347
+ VisualID visual;
1348
+ CARD32 mask;
1349
+ } xCreateWindowReq;
1350
+
1351
+ typedef struct {
1352
+ CARD8 reqType;
1353
+ BYTE pad;
1354
+ CARD16 length;
1355
+ Window window;
1356
+ CARD32 valueMask;
1357
+ } xChangeWindowAttributesReq;
1358
+
1359
+ typedef struct {
1360
+ CARD8 reqType;
1361
+ BYTE mode;
1362
+ CARD16 length;
1363
+ Window window;
1364
+ } xChangeSaveSetReq;
1365
+
1366
+ typedef struct {
1367
+ CARD8 reqType;
1368
+ BYTE pad;
1369
+ CARD16 length;
1370
+ Window window, parent;
1371
+ INT16 x, y;
1372
+ } xReparentWindowReq;
1373
+
1374
+ typedef struct {
1375
+ CARD8 reqType;
1376
+ CARD8 pad;
1377
+ CARD16 length;
1378
+ Window window;
1379
+ CARD16 mask;
1380
+ CARD16 pad2;
1381
+ } xConfigureWindowReq;
1382
+
1383
+ typedef struct {
1384
+ CARD8 reqType;
1385
+ CARD8 direction;
1386
+ CARD16 length;
1387
+ Window window;
1388
+ } xCirculateWindowReq;
1389
+
1390
+ typedef struct { /* followed by padded string */
1391
+ CARD8 reqType;
1392
+ BOOL onlyIfExists;
1393
+ CARD16 length;
1394
+ CARD16 nbytes; /* number of bytes in string */
1395
+ CARD16 pad;
1396
+ } xInternAtomReq;
1397
+
1398
+ typedef struct {
1399
+ CARD8 reqType;
1400
+ CARD8 mode;
1401
+ CARD16 length;
1402
+ Window window;
1403
+ Atom property, type;
1404
+ CARD8 format;
1405
+ BYTE pad[3];
1406
+ CARD32 nUnits; /* length of stuff following, depends on format */
1407
+ } xChangePropertyReq;
1408
+
1409
+ typedef struct {
1410
+ CARD8 reqType;
1411
+ BYTE pad;
1412
+ CARD16 length;
1413
+ Window window;
1414
+ Atom property;
1415
+ } xDeletePropertyReq;
1416
+
1417
+ typedef struct {
1418
+ CARD8 reqType;
1419
+ #if defined(__cplusplus) || defined(c_plusplus)
1420
+ BOOL c_delete;
1421
+ #else
1422
+ BOOL delete;
1423
+ #endif
1424
+ CARD16 length;
1425
+ Window window;
1426
+ Atom property, type;
1427
+ CARD32 longOffset;
1428
+ CARD32 longLength;
1429
+ } xGetPropertyReq;
1430
+
1431
+ typedef struct {
1432
+ CARD8 reqType;
1433
+ BYTE pad;
1434
+ CARD16 length;
1435
+ Window window;
1436
+ Atom selection;
1437
+ Time time;
1438
+ } xSetSelectionOwnerReq;
1439
+
1440
+ typedef struct {
1441
+ CARD8 reqType;
1442
+ BYTE pad;
1443
+ CARD16 length;
1444
+ Window requestor;
1445
+ Atom selection, target, property;
1446
+ Time time;
1447
+ } xConvertSelectionReq;
1448
+
1449
+ typedef struct {
1450
+ CARD8 reqType;
1451
+ BOOL propagate;
1452
+ CARD16 length;
1453
+ Window destination;
1454
+ CARD32 eventMask;
1455
+ xEvent event;
1456
+ } xSendEventReq;
1457
+
1458
+ typedef struct {
1459
+ CARD8 reqType;
1460
+ BOOL ownerEvents;
1461
+ CARD16 length;
1462
+ Window grabWindow;
1463
+ CARD16 eventMask;
1464
+ BYTE pointerMode, keyboardMode;
1465
+ Window confineTo;
1466
+ Cursor cursor;
1467
+ Time time;
1468
+ } xGrabPointerReq;
1469
+
1470
+ typedef struct {
1471
+ CARD8 reqType;
1472
+ BOOL ownerEvents;
1473
+ CARD16 length;
1474
+ Window grabWindow;
1475
+ CARD16 eventMask;
1476
+ BYTE pointerMode, keyboardMode;
1477
+ Window confineTo;
1478
+ Cursor cursor;
1479
+ CARD8 button;
1480
+ BYTE pad;
1481
+ CARD16 modifiers;
1482
+ } xGrabButtonReq;
1483
+
1484
+ typedef struct {
1485
+ CARD8 reqType;
1486
+ CARD8 button;
1487
+ CARD16 length;
1488
+ Window grabWindow;
1489
+ CARD16 modifiers;
1490
+ CARD16 pad;
1491
+ } xUngrabButtonReq;
1492
+
1493
+ typedef struct {
1494
+ CARD8 reqType;
1495
+ BYTE pad;
1496
+ CARD16 length;
1497
+ Cursor cursor;
1498
+ Time time;
1499
+ CARD16 eventMask;
1500
+ CARD16 pad2;
1501
+ } xChangeActivePointerGrabReq;
1502
+
1503
+ typedef struct {
1504
+ CARD8 reqType;
1505
+ BOOL ownerEvents;
1506
+ CARD16 length;
1507
+ Window grabWindow;
1508
+ Time time;
1509
+ BYTE pointerMode, keyboardMode;
1510
+ CARD16 pad;
1511
+ } xGrabKeyboardReq;
1512
+
1513
+ typedef struct {
1514
+ CARD8 reqType;
1515
+ BOOL ownerEvents;
1516
+ CARD16 length;
1517
+ Window grabWindow;
1518
+ CARD16 modifiers;
1519
+ CARD8 key;
1520
+ BYTE pointerMode, keyboardMode;
1521
+ BYTE pad1, pad2, pad3;
1522
+ } xGrabKeyReq;
1523
+
1524
+ typedef struct {
1525
+ CARD8 reqType;
1526
+ CARD8 key;
1527
+ CARD16 length;
1528
+ Window grabWindow;
1529
+ CARD16 modifiers;
1530
+ CARD16 pad;
1531
+ } xUngrabKeyReq;
1532
+
1533
+ typedef struct {
1534
+ CARD8 reqType;
1535
+ CARD8 mode;
1536
+ CARD16 length;
1537
+ Time time;
1538
+ } xAllowEventsReq;
1539
+
1540
+ typedef struct {
1541
+ CARD8 reqType;
1542
+ BYTE pad;
1543
+ CARD16 length;
1544
+ Window window;
1545
+ Time start, stop;
1546
+ } xGetMotionEventsReq;
1547
+
1548
+ typedef struct {
1549
+ CARD8 reqType;
1550
+ BYTE pad;
1551
+ CARD16 length;
1552
+ Window srcWid, dstWid;
1553
+ INT16 srcX, srcY;
1554
+ } xTranslateCoordsReq;
1555
+
1556
+ typedef struct {
1557
+ CARD8 reqType;
1558
+ BYTE pad;
1559
+ CARD16 length;
1560
+ Window srcWid, dstWid;
1561
+ INT16 srcX, srcY;
1562
+ CARD16 srcWidth, srcHeight;
1563
+ INT16 dstX, dstY;
1564
+ } xWarpPointerReq;
1565
+
1566
+ typedef struct {
1567
+ CARD8 reqType;
1568
+ CARD8 revertTo;
1569
+ CARD16 length;
1570
+ Window focus;
1571
+ Time time;
1572
+ } xSetInputFocusReq;
1573
+
1574
+ typedef struct {
1575
+ CARD8 reqType;
1576
+ BYTE pad;
1577
+ CARD16 length;
1578
+ Font fid;
1579
+ CARD16 nbytes;
1580
+ BYTE pad1, pad2; /* string follows on word boundary */
1581
+ } xOpenFontReq;
1582
+
1583
+ typedef struct {
1584
+ CARD8 reqType;
1585
+ BOOL oddLength;
1586
+ CARD16 length;
1587
+ Font fid;
1588
+ } xQueryTextExtentsReq;
1589
+
1590
+ typedef struct {
1591
+ CARD8 reqType;
1592
+ BYTE pad;
1593
+ CARD16 length;
1594
+ CARD16 maxNames;
1595
+ CARD16 nbytes; /* followed immediately by string bytes */
1596
+ } xListFontsReq;
1597
+
1598
+ typedef xListFontsReq xListFontsWithInfoReq;
1599
+
1600
+ typedef struct {
1601
+ CARD8 reqType;
1602
+ BYTE pad;
1603
+ CARD16 length;
1604
+ CARD16 nFonts;
1605
+ BYTE pad1, pad2; /* LISTofSTRING8 follows on word boundary */
1606
+ } xSetFontPathReq;
1607
+
1608
+ typedef struct {
1609
+ CARD8 reqType;
1610
+ CARD8 depth;
1611
+ CARD16 length;
1612
+ Pixmap pid;
1613
+ Drawable drawable;
1614
+ CARD16 width, height;
1615
+ } xCreatePixmapReq;
1616
+
1617
+ typedef struct {
1618
+ CARD8 reqType;
1619
+ BYTE pad;
1620
+ CARD16 length;
1621
+ GContext gc;
1622
+ Drawable drawable;
1623
+ CARD32 mask;
1624
+ } xCreateGCReq;
1625
+
1626
+ typedef struct {
1627
+ CARD8 reqType;
1628
+ BYTE pad;
1629
+ CARD16 length;
1630
+ GContext gc;
1631
+ CARD32 mask;
1632
+ } xChangeGCReq;
1633
+
1634
+ typedef struct {
1635
+ CARD8 reqType;
1636
+ BYTE pad;
1637
+ CARD16 length;
1638
+ GContext srcGC, dstGC;
1639
+ CARD32 mask;
1640
+ } xCopyGCReq;
1641
+
1642
+ typedef struct {
1643
+ CARD8 reqType;
1644
+ BYTE pad;
1645
+ CARD16 length;
1646
+ GContext gc;
1647
+ CARD16 dashOffset;
1648
+ CARD16 nDashes; /* length LISTofCARD8 of values following */
1649
+ } xSetDashesReq;
1650
+
1651
+ typedef struct {
1652
+ CARD8 reqType;
1653
+ BYTE ordering;
1654
+ CARD16 length;
1655
+ GContext gc;
1656
+ INT16 xOrigin, yOrigin;
1657
+ } xSetClipRectanglesReq;
1658
+
1659
+ typedef struct {
1660
+ CARD8 reqType;
1661
+ BOOL exposures;
1662
+ CARD16 length;
1663
+ Window window;
1664
+ INT16 x, y;
1665
+ CARD16 width, height;
1666
+ } xClearAreaReq;
1667
+
1668
+ typedef struct {
1669
+ CARD8 reqType;
1670
+ BYTE pad;
1671
+ CARD16 length;
1672
+ Drawable srcDrawable, dstDrawable;
1673
+ GContext gc;
1674
+ INT16 srcX, srcY, dstX, dstY;
1675
+ CARD16 width, height;
1676
+ } xCopyAreaReq;
1677
+
1678
+ typedef struct {
1679
+ CARD8 reqType;
1680
+ BYTE pad;
1681
+ CARD16 length;
1682
+ Drawable srcDrawable, dstDrawable;
1683
+ GContext gc;
1684
+ INT16 srcX, srcY, dstX, dstY;
1685
+ CARD16 width, height;
1686
+ CARD32 bitPlane;
1687
+ } xCopyPlaneReq;
1688
+
1689
+ typedef struct {
1690
+ CARD8 reqType;
1691
+ BYTE coordMode;
1692
+ CARD16 length;
1693
+ Drawable drawable;
1694
+ GContext gc;
1695
+ } xPolyPointReq;
1696
+
1697
+ typedef xPolyPointReq xPolyLineReq; /* same request structure */
1698
+
1699
+ /* The following used for PolySegment, PolyRectangle, PolyArc, PolyFillRectangle, PolyFillArc */
1700
+
1701
+ typedef struct {
1702
+ CARD8 reqType;
1703
+ BYTE pad;
1704
+ CARD16 length;
1705
+ Drawable drawable;
1706
+ GContext gc;
1707
+ } xPolySegmentReq;
1708
+
1709
+ typedef xPolySegmentReq xPolyArcReq;
1710
+ typedef xPolySegmentReq xPolyRectangleReq;
1711
+ typedef xPolySegmentReq xPolyFillRectangleReq;
1712
+ typedef xPolySegmentReq xPolyFillArcReq;
1713
+
1714
+ typedef struct _FillPolyReq {
1715
+ CARD8 reqType;
1716
+ BYTE pad;
1717
+ CARD16 length;
1718
+ Drawable drawable;
1719
+ GContext gc;
1720
+ BYTE shape;
1721
+ BYTE coordMode;
1722
+ CARD16 pad1;
1723
+ } xFillPolyReq;
1724
+
1725
+
1726
+ typedef struct _PutImageReq {
1727
+ CARD8 reqType;
1728
+ CARD8 format;
1729
+ CARD16 length;
1730
+ Drawable drawable;
1731
+ GContext gc;
1732
+ CARD16 width, height;
1733
+ INT16 dstX, dstY;
1734
+ CARD8 leftPad;
1735
+ CARD8 depth;
1736
+ CARD16 pad;
1737
+ } xPutImageReq;
1738
+
1739
+ typedef struct {
1740
+ CARD8 reqType;
1741
+ CARD8 format;
1742
+ CARD16 length;
1743
+ Drawable drawable;
1744
+ INT16 x, y;
1745
+ CARD16 width, height;
1746
+ CARD32 planeMask;
1747
+ } xGetImageReq;
1748
+
1749
+ /* the following used by PolyText8 and PolyText16 */
1750
+
1751
+ typedef struct {
1752
+ CARD8 reqType;
1753
+ CARD8 pad;
1754
+ CARD16 length;
1755
+ Drawable drawable;
1756
+ GContext gc;
1757
+ INT16 x, y; /* items (xTextElt) start after struct */
1758
+ } xPolyTextReq;
1759
+
1760
+ typedef xPolyTextReq xPolyText8Req;
1761
+ typedef xPolyTextReq xPolyText16Req;
1762
+
1763
+ typedef struct {
1764
+ CARD8 reqType;
1765
+ BYTE nChars;
1766
+ CARD16 length;
1767
+ Drawable drawable;
1768
+ GContext gc;
1769
+ INT16 x, y;
1770
+ } xImageTextReq;
1771
+
1772
+ typedef xImageTextReq xImageText8Req;
1773
+ typedef xImageTextReq xImageText16Req;
1774
+
1775
+ typedef struct {
1776
+ CARD8 reqType;
1777
+ BYTE alloc;
1778
+ CARD16 length;
1779
+ Colormap mid;
1780
+ Window window;
1781
+ VisualID visual;
1782
+ } xCreateColormapReq;
1783
+
1784
+ typedef struct {
1785
+ CARD8 reqType;
1786
+ BYTE pad;
1787
+ CARD16 length;
1788
+ Colormap mid;
1789
+ Colormap srcCmap;
1790
+ } xCopyColormapAndFreeReq;
1791
+
1792
+ typedef struct {
1793
+ CARD8 reqType;
1794
+ BYTE pad;
1795
+ CARD16 length;
1796
+ Colormap cmap;
1797
+ CARD16 red, green, blue;
1798
+ CARD16 pad2;
1799
+ } xAllocColorReq;
1800
+
1801
+ typedef struct {
1802
+ CARD8 reqType;
1803
+ BYTE pad;
1804
+ CARD16 length;
1805
+ Colormap cmap;
1806
+ CARD16 nbytes; /* followed by structure */
1807
+ BYTE pad1, pad2;
1808
+ } xAllocNamedColorReq;
1809
+
1810
+ typedef struct {
1811
+ CARD8 reqType;
1812
+ BOOL contiguous;
1813
+ CARD16 length;
1814
+ Colormap cmap;
1815
+ CARD16 colors, planes;
1816
+ } xAllocColorCellsReq;
1817
+
1818
+ typedef struct {
1819
+ CARD8 reqType;
1820
+ BOOL contiguous;
1821
+ CARD16 length;
1822
+ Colormap cmap;
1823
+ CARD16 colors, red, green, blue;
1824
+ } xAllocColorPlanesReq;
1825
+
1826
+ typedef struct {
1827
+ CARD8 reqType;
1828
+ BYTE pad;
1829
+ CARD16 length;
1830
+ Colormap cmap;
1831
+ CARD32 planeMask;
1832
+ } xFreeColorsReq;
1833
+
1834
+ typedef struct {
1835
+ CARD8 reqType;
1836
+ BYTE pad;
1837
+ CARD16 length;
1838
+ Colormap cmap;
1839
+ } xStoreColorsReq;
1840
+
1841
+ typedef struct {
1842
+ CARD8 reqType;
1843
+ CARD8 flags; /* DoRed, DoGreen, DoBlue, as in xColorItem */
1844
+ CARD16 length;
1845
+ Colormap cmap;
1846
+ CARD32 pixel;
1847
+ CARD16 nbytes; /* number of name string bytes following structure */
1848
+ BYTE pad1, pad2;
1849
+ } xStoreNamedColorReq;
1850
+
1851
+ typedef struct {
1852
+ CARD8 reqType;
1853
+ BYTE pad;
1854
+ CARD16 length;
1855
+ Colormap cmap;
1856
+ } xQueryColorsReq;
1857
+
1858
+ typedef struct { /* followed by string of length len */
1859
+ CARD8 reqType;
1860
+ BYTE pad;
1861
+ CARD16 length;
1862
+ Colormap cmap;
1863
+ CARD16 nbytes; /* number of string bytes following structure*/
1864
+ BYTE pad1, pad2;
1865
+ } xLookupColorReq;
1866
+
1867
+ typedef struct {
1868
+ CARD8 reqType;
1869
+ BYTE pad;
1870
+ CARD16 length;
1871
+ Cursor cid;
1872
+ Pixmap source, mask;
1873
+ CARD16 foreRed, foreGreen, foreBlue;
1874
+ CARD16 backRed, backGreen, backBlue;
1875
+ CARD16 x, y;
1876
+ } xCreateCursorReq;
1877
+
1878
+ typedef struct {
1879
+ CARD8 reqType;
1880
+ BYTE pad;
1881
+ CARD16 length;
1882
+ Cursor cid;
1883
+ Font source, mask;
1884
+ CARD16 sourceChar, maskChar;
1885
+ CARD16 foreRed, foreGreen, foreBlue;
1886
+ CARD16 backRed, backGreen, backBlue;
1887
+ } xCreateGlyphCursorReq;
1888
+
1889
+ typedef struct {
1890
+ CARD8 reqType;
1891
+ BYTE pad;
1892
+ CARD16 length;
1893
+ Cursor cursor;
1894
+ CARD16 foreRed, foreGreen, foreBlue;
1895
+ CARD16 backRed, backGreen, backBlue;
1896
+ } xRecolorCursorReq;
1897
+
1898
+ typedef struct {
1899
+ CARD8 reqType;
1900
+ #if defined(__cplusplus) || defined(c_plusplus)
1901
+ CARD8 c_class;
1902
+ #else
1903
+ CARD8 class;
1904
+ #endif
1905
+ CARD16 length;
1906
+ Drawable drawable;
1907
+ CARD16 width, height;
1908
+ } xQueryBestSizeReq;
1909
+
1910
+ typedef struct {
1911
+ CARD8 reqType;
1912
+ BYTE pad;
1913
+ CARD16 length;
1914
+ CARD16 nbytes; /* number of string bytes following structure */
1915
+ BYTE pad1, pad2;
1916
+ } xQueryExtensionReq;
1917
+
1918
+ typedef struct {
1919
+ CARD8 reqType;
1920
+ CARD8 numKeyPerModifier;
1921
+ CARD16 length;
1922
+ } xSetModifierMappingReq;
1923
+
1924
+ typedef struct {
1925
+ CARD8 reqType;
1926
+ CARD8 nElts; /* how many elements in the map */
1927
+ CARD16 length;
1928
+ } xSetPointerMappingReq;
1929
+
1930
+ typedef struct {
1931
+ CARD8 reqType;
1932
+ BYTE pad;
1933
+ CARD16 length;
1934
+ KeyCode firstKeyCode;
1935
+ CARD8 count;
1936
+ CARD16 pad1;
1937
+ } xGetKeyboardMappingReq;
1938
+
1939
+ typedef struct {
1940
+ CARD8 reqType;
1941
+ CARD8 keyCodes;
1942
+ CARD16 length;
1943
+ KeyCode firstKeyCode;
1944
+ CARD8 keySymsPerKeyCode;
1945
+ CARD16 pad1;
1946
+ } xChangeKeyboardMappingReq;
1947
+
1948
+ typedef struct {
1949
+ CARD8 reqType;
1950
+ BYTE pad;
1951
+ CARD16 length;
1952
+ CARD32 mask;
1953
+ } xChangeKeyboardControlReq;
1954
+
1955
+ typedef struct {
1956
+ CARD8 reqType;
1957
+ INT8 percent; /* -100 to 100 */
1958
+ CARD16 length;
1959
+ } xBellReq;
1960
+
1961
+ typedef struct {
1962
+ CARD8 reqType;
1963
+ BYTE pad;
1964
+ CARD16 length;
1965
+ INT16 accelNum, accelDenum;
1966
+ INT16 threshold;
1967
+ BOOL doAccel, doThresh;
1968
+ } xChangePointerControlReq;
1969
+
1970
+ typedef struct {
1971
+ CARD8 reqType;
1972
+ BYTE pad;
1973
+ CARD16 length;
1974
+ INT16 timeout, interval;
1975
+ BYTE preferBlank, allowExpose;
1976
+ CARD16 pad2;
1977
+ } xSetScreenSaverReq;
1978
+
1979
+ typedef struct {
1980
+ CARD8 reqType;
1981
+ BYTE mode;
1982
+ CARD16 length;
1983
+ CARD8 hostFamily;
1984
+ BYTE pad;
1985
+ CARD16 hostLength;
1986
+ } xChangeHostsReq;
1987
+
1988
+ typedef struct {
1989
+ CARD8 reqType;
1990
+ BYTE pad;
1991
+ CARD16 length;
1992
+ } xListHostsReq;
1993
+
1994
+ typedef struct {
1995
+ CARD8 reqType;
1996
+ BYTE mode;
1997
+ CARD16 length;
1998
+ } xChangeModeReq;
1999
+
2000
+ typedef xChangeModeReq xSetAccessControlReq;
2001
+ typedef xChangeModeReq xSetCloseDownModeReq;
2002
+ typedef xChangeModeReq xForceScreenSaverReq;
2003
+
2004
+ typedef struct { /* followed by LIST of ATOM */
2005
+ CARD8 reqType;
2006
+ BYTE pad;
2007
+ CARD16 length;
2008
+ Window window;
2009
+ CARD16 nAtoms;
2010
+ INT16 nPositions;
2011
+ } xRotatePropertiesReq;
2012
+
2013
+
2014
+
2015
+ /* Reply codes */
2016
+
2017
+ #define X_Reply 1 /* Normal reply */
2018
+ #define X_Error 0 /* Error */
2019
+
2020
+ /* Request codes */
2021
+
2022
+ #define X_CreateWindow 1
2023
+ #define X_ChangeWindowAttributes 2
2024
+ #define X_GetWindowAttributes 3
2025
+ #define X_DestroyWindow 4
2026
+ #define X_DestroySubwindows 5
2027
+ #define X_ChangeSaveSet 6
2028
+ #define X_ReparentWindow 7
2029
+ #define X_MapWindow 8
2030
+ #define X_MapSubwindows 9
2031
+ #define X_UnmapWindow 10
2032
+ #define X_UnmapSubwindows 11
2033
+ #define X_ConfigureWindow 12
2034
+ #define X_CirculateWindow 13
2035
+ #define X_GetGeometry 14
2036
+ #define X_QueryTree 15
2037
+ #define X_InternAtom 16
2038
+ #define X_GetAtomName 17
2039
+ #define X_ChangeProperty 18
2040
+ #define X_DeleteProperty 19
2041
+ #define X_GetProperty 20
2042
+ #define X_ListProperties 21
2043
+ #define X_SetSelectionOwner 22
2044
+ #define X_GetSelectionOwner 23
2045
+ #define X_ConvertSelection 24
2046
+ #define X_SendEvent 25
2047
+ #define X_GrabPointer 26
2048
+ #define X_UngrabPointer 27
2049
+ #define X_GrabButton 28
2050
+ #define X_UngrabButton 29
2051
+ #define X_ChangeActivePointerGrab 30
2052
+ #define X_GrabKeyboard 31
2053
+ #define X_UngrabKeyboard 32
2054
+ #define X_GrabKey 33
2055
+ #define X_UngrabKey 34
2056
+ #define X_AllowEvents 35
2057
+ #define X_GrabServer 36
2058
+ #define X_UngrabServer 37
2059
+ #define X_QueryPointer 38
2060
+ #define X_GetMotionEvents 39
2061
+ #define X_TranslateCoords 40
2062
+ #define X_WarpPointer 41
2063
+ #define X_SetInputFocus 42
2064
+ #define X_GetInputFocus 43
2065
+ #define X_QueryKeymap 44
2066
+ #define X_OpenFont 45
2067
+ #define X_CloseFont 46
2068
+ #define X_QueryFont 47
2069
+ #define X_QueryTextExtents 48
2070
+ #define X_ListFonts 49
2071
+ #define X_ListFontsWithInfo 50
2072
+ #define X_SetFontPath 51
2073
+ #define X_GetFontPath 52
2074
+ #define X_CreatePixmap 53
2075
+ #define X_FreePixmap 54
2076
+ #define X_CreateGC 55
2077
+ #define X_ChangeGC 56
2078
+ #define X_CopyGC 57
2079
+ #define X_SetDashes 58
2080
+ #define X_SetClipRectangles 59
2081
+ #define X_FreeGC 60
2082
+ #define X_ClearArea 61
2083
+ #define X_CopyArea 62
2084
+ #define X_CopyPlane 63
2085
+ #define X_PolyPoint 64
2086
+ #define X_PolyLine 65
2087
+ #define X_PolySegment 66
2088
+ #define X_PolyRectangle 67
2089
+ #define X_PolyArc 68
2090
+ #define X_FillPoly 69
2091
+ #define X_PolyFillRectangle 70
2092
+ #define X_PolyFillArc 71
2093
+ #define X_PutImage 72
2094
+ #define X_GetImage 73
2095
+ #define X_PolyText8 74
2096
+ #define X_PolyText16 75
2097
+ #define X_ImageText8 76
2098
+ #define X_ImageText16 77
2099
+ #define X_CreateColormap 78
2100
+ #define X_FreeColormap 79
2101
+ #define X_CopyColormapAndFree 80
2102
+ #define X_InstallColormap 81
2103
+ #define X_UninstallColormap 82
2104
+ #define X_ListInstalledColormaps 83
2105
+ #define X_AllocColor 84
2106
+ #define X_AllocNamedColor 85
2107
+ #define X_AllocColorCells 86
2108
+ #define X_AllocColorPlanes 87
2109
+ #define X_FreeColors 88
2110
+ #define X_StoreColors 89
2111
+ #define X_StoreNamedColor 90
2112
+ #define X_QueryColors 91
2113
+ #define X_LookupColor 92
2114
+ #define X_CreateCursor 93
2115
+ #define X_CreateGlyphCursor 94
2116
+ #define X_FreeCursor 95
2117
+ #define X_RecolorCursor 96
2118
+ #define X_QueryBestSize 97
2119
+ #define X_QueryExtension 98
2120
+ #define X_ListExtensions 99
2121
+ #define X_ChangeKeyboardMapping 100
2122
+ #define X_GetKeyboardMapping 101
2123
+ #define X_ChangeKeyboardControl 102
2124
+ #define X_GetKeyboardControl 103
2125
+ #define X_Bell 104
2126
+ #define X_ChangePointerControl 105
2127
+ #define X_GetPointerControl 106
2128
+ #define X_SetScreenSaver 107
2129
+ #define X_GetScreenSaver 108
2130
+ #define X_ChangeHosts 109
2131
+ #define X_ListHosts 110
2132
+ #define X_SetAccessControl 111
2133
+ #define X_SetCloseDownMode 112
2134
+ #define X_KillClient 113
2135
+ #define X_RotateProperties 114
2136
+ #define X_ForceScreenSaver 115
2137
+ #define X_SetPointerMapping 116
2138
+ #define X_GetPointerMapping 117
2139
+ #define X_SetModifierMapping 118
2140
+ #define X_GetModifierMapping 119
2141
+ #define X_NoOperation 127
2142
+
2143
+ /* restore these definitions back to the typedefs in X.h */
2144
+ #undef Window
2145
+ #undef Drawable
2146
+ #undef Font
2147
+ #undef Pixmap
2148
+ #undef Cursor
2149
+ #undef Colormap
2150
+ #undef GContext
2151
+ #undef Atom
2152
+ #undef VisualID
2153
+ #undef Time
2154
+ #undef KeyCode
2155
+ #undef KeySym
2156
+
2157
+ #endif /* XPROTO_H */
data/miniconda3/include/X11/Xprotostr.h ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef XPROTOSTRUCTS_H
2
+ #define XPROTOSTRUCTS_H
3
+
4
+ /***********************************************************
5
+
6
+ Copyright 1987, 1998 The Open Group
7
+
8
+ Permission to use, copy, modify, distribute, and sell this software and its
9
+ documentation for any purpose is hereby granted without fee, provided that
10
+ the above copyright notice appear in all copies and that both that
11
+ copyright notice and this permission notice appear in supporting
12
+ documentation.
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ Except as contained in this notice, the name of The Open Group shall not be
25
+ used in advertising or otherwise to promote the sale, use or other dealings
26
+ in this Software without prior written authorization from The Open Group.
27
+
28
+
29
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
30
+
31
+ All Rights Reserved
32
+
33
+ Permission to use, copy, modify, and distribute this software and its
34
+ documentation for any purpose and without fee is hereby granted,
35
+ provided that the above copyright notice appear in all copies and that
36
+ both that copyright notice and this permission notice appear in
37
+ supporting documentation, and that the name of Digital not be
38
+ used in advertising or publicity pertaining to distribution of the
39
+ software without specific, written prior permission.
40
+
41
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
42
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
43
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
44
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
46
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
47
+ SOFTWARE.
48
+
49
+ ******************************************************************/
50
+ #include <X11/Xmd.h>
51
+
52
+ /* Used by PolySegment */
53
+
54
+ typedef struct _xSegment {
55
+ INT16 x1, y1, x2, y2;
56
+ } xSegment;
57
+
58
+ /* POINT */
59
+
60
+ typedef struct _xPoint {
61
+ INT16 x, y;
62
+ } xPoint;
63
+
64
+ typedef struct _xRectangle {
65
+ INT16 x, y;
66
+ CARD16 width, height;
67
+ } xRectangle;
68
+
69
+ /* ARC */
70
+
71
+ typedef struct _xArc {
72
+ INT16 x, y;
73
+ CARD16 width, height;
74
+ INT16 angle1, angle2;
75
+ } xArc;
76
+
77
+ #endif /* XPROTOSTRUCTS_H */
data/miniconda3/include/X11/Xregion.h ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /************************************************************************
2
+
3
+ Copyright 1987, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+ Except as contained in this notice, the name of The Open Group shall not be
22
+ used in advertising or otherwise to promote the sale, use or other dealings
23
+ in this Software without prior written authorization from The Open Group.
24
+
25
+
26
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
27
+
28
+ All Rights Reserved
29
+
30
+ Permission to use, copy, modify, and distribute this software and its
31
+ documentation for any purpose and without fee is hereby granted,
32
+ provided that the above copyright notice appear in all copies and that
33
+ both that copyright notice and this permission notice appear in
34
+ supporting documentation, and that the name of Digital not be
35
+ used in advertising or publicity pertaining to distribution of the
36
+ software without specific, written prior permission.
37
+
38
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
39
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
40
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
41
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
44
+ SOFTWARE.
45
+
46
+ ************************************************************************/
47
+
48
+ #ifndef _X11_XREGION_H_
49
+ #define _X11_XREGION_H_
50
+
51
+ typedef struct {
52
+ short x1, x2, y1, y2;
53
+ } Box, BOX, BoxRec, *BoxPtr;
54
+
55
+ typedef struct {
56
+ short x, y, width, height;
57
+ }RECTANGLE, RectangleRec, *RectanglePtr;
58
+
59
+ #define TRUE 1
60
+ #define FALSE 0
61
+ #define MAXSHORT 32767
62
+ #define MINSHORT -MAXSHORT
63
+ #ifndef MAX
64
+ #define MAX(a,b) (((a) > (b)) ? (a) : (b))
65
+ #endif
66
+ #ifndef MIN
67
+ #define MIN(a,b) (((a) < (b)) ? (a) : (b))
68
+ #endif
69
+
70
+
71
+ /*
72
+ * clip region
73
+ */
74
+
75
+ typedef struct _XRegion {
76
+ long size;
77
+ long numRects;
78
+ BOX *rects;
79
+ BOX extents;
80
+ } REGION;
81
+
82
+ /* Xutil.h contains the declaration:
83
+ * typedef struct _XRegion *Region;
84
+ */
85
+
86
+ /* 1 if two BOXs overlap.
87
+ * 0 if two BOXs do not overlap.
88
+ * Remember, x2 and y2 are not in the region
89
+ */
90
+ #define EXTENTCHECK(r1, r2) \
91
+ ((r1)->x2 > (r2)->x1 && \
92
+ (r1)->x1 < (r2)->x2 && \
93
+ (r1)->y2 > (r2)->y1 && \
94
+ (r1)->y1 < (r2)->y2)
95
+
96
+ /*
97
+ * update region extents
98
+ */
99
+ #define EXTENTS(r,idRect){\
100
+ if((r)->x1 < (idRect)->extents.x1)\
101
+ (idRect)->extents.x1 = (r)->x1;\
102
+ if((r)->y1 < (idRect)->extents.y1)\
103
+ (idRect)->extents.y1 = (r)->y1;\
104
+ if((r)->x2 > (idRect)->extents.x2)\
105
+ (idRect)->extents.x2 = (r)->x2;\
106
+ if((r)->y2 > (idRect)->extents.y2)\
107
+ (idRect)->extents.y2 = (r)->y2;\
108
+ }
109
+
110
+ /*
111
+ * Check to see if there is enough memory in the present region.
112
+ */
113
+ #define MEMCHECK(reg, rect, firstrect){\
114
+ if ((reg)->numRects >= ((reg)->size - 1)){\
115
+ BoxPtr tmpRect = Xrealloc ((firstrect), \
116
+ (2 * (sizeof(BOX)) * ((reg)->size))); \
117
+ if (tmpRect == NULL) \
118
+ return(0);\
119
+ (firstrect) = tmpRect; \
120
+ (reg)->size *= 2;\
121
+ (rect) = &(firstrect)[(reg)->numRects];\
122
+ }\
123
+ }
124
+
125
+ /* this routine checks to see if the previous rectangle is the same
126
+ * or subsumes the new rectangle to add.
127
+ */
128
+
129
+ #define CHECK_PREVIOUS(Reg, R, Rx1, Ry1, Rx2, Ry2)\
130
+ (!(((Reg)->numRects > 0)&&\
131
+ ((R-1)->y1 == (Ry1)) &&\
132
+ ((R-1)->y2 == (Ry2)) &&\
133
+ ((R-1)->x1 <= (Rx1)) &&\
134
+ ((R-1)->x2 >= (Rx2))))
135
+
136
+ /* add a rectangle to the given Region */
137
+ #define ADDRECT(reg, r, rx1, ry1, rx2, ry2){\
138
+ if (((rx1) < (rx2)) && ((ry1) < (ry2)) &&\
139
+ CHECK_PREVIOUS((reg), (r), (rx1), (ry1), (rx2), (ry2))){\
140
+ (r)->x1 = (rx1);\
141
+ (r)->y1 = (ry1);\
142
+ (r)->x2 = (rx2);\
143
+ (r)->y2 = (ry2);\
144
+ EXTENTS((r), (reg));\
145
+ (reg)->numRects++;\
146
+ (r)++;\
147
+ }\
148
+ }
149
+
150
+
151
+
152
+ /* add a rectangle to the given Region */
153
+ #define ADDRECTNOX(reg, r, rx1, ry1, rx2, ry2){\
154
+ if ((rx1 < rx2) && (ry1 < ry2) &&\
155
+ CHECK_PREVIOUS((reg), (r), (rx1), (ry1), (rx2), (ry2))){\
156
+ (r)->x1 = (rx1);\
157
+ (r)->y1 = (ry1);\
158
+ (r)->x2 = (rx2);\
159
+ (r)->y2 = (ry2);\
160
+ (reg)->numRects++;\
161
+ (r)++;\
162
+ }\
163
+ }
164
+
165
+ #define EMPTY_REGION(pReg) pReg->numRects = 0
166
+
167
+ #define REGION_NOT_EMPTY(pReg) pReg->numRects
168
+
169
+ #define INBOX(r, x, y) \
170
+ ( ( ((r).x2 > x)) && \
171
+ ( ((r).x1 <= x)) && \
172
+ ( ((r).y2 > y)) && \
173
+ ( ((r).y1 <= y)) )
174
+
175
+ /*
176
+ * number of points to buffer before sending them off
177
+ * to scanlines() : Must be an even number
178
+ */
179
+ #define NUMPTSTOBUFFER 200
180
+
181
+ /*
182
+ * used to allocate buffers for points and link
183
+ * the buffers together
184
+ */
185
+ typedef struct _POINTBLOCK {
186
+ XPoint pts[NUMPTSTOBUFFER];
187
+ struct _POINTBLOCK *next;
188
+ } POINTBLOCK;
189
+
190
+ #endif /* _X11_XREGION_H_ */
data/miniconda3/include/X11/Xresource.h ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /***********************************************************
3
+
4
+ Copyright 1987, 1988, 1998 The Open Group
5
+
6
+ Permission to use, copy, modify, distribute, and sell this software and its
7
+ documentation for any purpose is hereby granted without fee, provided that
8
+ the above copyright notice appear in all copies and that both that
9
+ copyright notice and this permission notice appear in supporting
10
+ documentation.
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall not be
23
+ used in advertising or otherwise to promote the sale, use or other dealings
24
+ in this Software without prior written authorization from The Open Group.
25
+
26
+
27
+ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
28
+
29
+ All Rights Reserved
30
+
31
+ Permission to use, copy, modify, and distribute this software and its
32
+ documentation for any purpose and without fee is hereby granted,
33
+ provided that the above copyright notice appear in all copies and that
34
+ both that copyright notice and this permission notice appear in
35
+ supporting documentation, and that the name of Digital not be
36
+ used in advertising or publicity pertaining to distribution of the
37
+ software without specific, written prior permission.
38
+
39
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
40
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
41
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
42
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
43
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
44
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45
+ SOFTWARE.
46
+
47
+ ******************************************************************/
48
+
49
+ #ifndef _X11_XRESOURCE_H_
50
+ #define _X11_XRESOURCE_H_
51
+
52
+ #ifndef _XP_PRINT_SERVER_
53
+ #include <X11/Xlib.h>
54
+ #endif
55
+
56
+ /****************************************************************
57
+ ****************************************************************
58
+ *** ***
59
+ *** ***
60
+ *** X Resource Manager Intrinsics ***
61
+ *** ***
62
+ *** ***
63
+ ****************************************************************
64
+ ****************************************************************/
65
+
66
+ _XFUNCPROTOBEGIN
67
+
68
+ /****************************************************************
69
+ *
70
+ * Memory Management
71
+ *
72
+ ****************************************************************/
73
+
74
+ extern char *Xpermalloc(
75
+ unsigned int /* size */
76
+ );
77
+
78
+ /****************************************************************
79
+ *
80
+ * Quark Management
81
+ *
82
+ ****************************************************************/
83
+
84
+ typedef int XrmQuark, *XrmQuarkList;
85
+ #define NULLQUARK ((XrmQuark) 0)
86
+
87
+ typedef char *XrmString;
88
+ #define NULLSTRING ((XrmString) 0)
89
+
90
+ /* find quark for string, create new quark if none already exists */
91
+ extern XrmQuark XrmStringToQuark(
92
+ _Xconst char* /* string */
93
+ );
94
+
95
+ extern XrmQuark XrmPermStringToQuark(
96
+ _Xconst char* /* string */
97
+ );
98
+
99
+ /* find string for quark */
100
+ extern XrmString XrmQuarkToString(
101
+ XrmQuark /* quark */
102
+ );
103
+
104
+ extern XrmQuark XrmUniqueQuark(
105
+ void
106
+ );
107
+
108
+ #define XrmStringsEqual(a1, a2) (strcmp(a1, a2) == 0)
109
+
110
+
111
+ /****************************************************************
112
+ *
113
+ * Conversion of Strings to Lists
114
+ *
115
+ ****************************************************************/
116
+
117
+ typedef enum {XrmBindTightly, XrmBindLoosely} XrmBinding, *XrmBindingList;
118
+
119
+ extern void XrmStringToQuarkList(
120
+ _Xconst char* /* string */,
121
+ XrmQuarkList /* quarks_return */
122
+ );
123
+
124
+ extern void XrmStringToBindingQuarkList(
125
+ _Xconst char* /* string */,
126
+ XrmBindingList /* bindings_return */,
127
+ XrmQuarkList /* quarks_return */
128
+ );
129
+
130
+ /****************************************************************
131
+ *
132
+ * Name and Class lists.
133
+ *
134
+ ****************************************************************/
135
+
136
+ typedef XrmQuark XrmName;
137
+ typedef XrmQuarkList XrmNameList;
138
+ #define XrmNameToString(name) XrmQuarkToString(name)
139
+ #define XrmStringToName(string) XrmStringToQuark(string)
140
+ #define XrmStringToNameList(str, name) XrmStringToQuarkList(str, name)
141
+
142
+ typedef XrmQuark XrmClass;
143
+ typedef XrmQuarkList XrmClassList;
144
+ #define XrmClassToString(c_class) XrmQuarkToString(c_class)
145
+ #define XrmStringToClass(c_class) XrmStringToQuark(c_class)
146
+ #define XrmStringToClassList(str,c_class) XrmStringToQuarkList(str, c_class)
147
+
148
+
149
+
150
+ /****************************************************************
151
+ *
152
+ * Resource Representation Types and Values
153
+ *
154
+ ****************************************************************/
155
+
156
+ typedef XrmQuark XrmRepresentation;
157
+ #define XrmStringToRepresentation(string) XrmStringToQuark(string)
158
+ #define XrmRepresentationToString(type) XrmQuarkToString(type)
159
+
160
+ typedef struct {
161
+ unsigned int size;
162
+ XPointer addr;
163
+ } XrmValue, *XrmValuePtr;
164
+
165
+
166
+ /****************************************************************
167
+ *
168
+ * Resource Manager Functions
169
+ *
170
+ ****************************************************************/
171
+
172
+ typedef struct _XrmHashBucketRec *XrmHashBucket;
173
+ typedef XrmHashBucket *XrmHashTable;
174
+ typedef XrmHashTable XrmSearchList[];
175
+ typedef struct _XrmHashBucketRec *XrmDatabase;
176
+
177
+
178
+ extern void XrmDestroyDatabase(
179
+ XrmDatabase /* database */
180
+ );
181
+
182
+ extern void XrmQPutResource(
183
+ XrmDatabase* /* database */,
184
+ XrmBindingList /* bindings */,
185
+ XrmQuarkList /* quarks */,
186
+ XrmRepresentation /* type */,
187
+ XrmValue* /* value */
188
+ );
189
+
190
+ extern void XrmPutResource(
191
+ XrmDatabase* /* database */,
192
+ _Xconst char* /* specifier */,
193
+ _Xconst char* /* type */,
194
+ XrmValue* /* value */
195
+ );
196
+
197
+ extern void XrmQPutStringResource(
198
+ XrmDatabase* /* database */,
199
+ XrmBindingList /* bindings */,
200
+ XrmQuarkList /* quarks */,
201
+ _Xconst char* /* value */
202
+ );
203
+
204
+ extern void XrmPutStringResource(
205
+ XrmDatabase* /* database */,
206
+ _Xconst char* /* specifier */,
207
+ _Xconst char* /* value */
208
+ );
209
+
210
+ extern void XrmPutLineResource(
211
+ XrmDatabase* /* database */,
212
+ _Xconst char* /* line */
213
+ );
214
+
215
+ extern Bool XrmQGetResource(
216
+ XrmDatabase /* database */,
217
+ XrmNameList /* quark_name */,
218
+ XrmClassList /* quark_class */,
219
+ XrmRepresentation* /* quark_type_return */,
220
+ XrmValue* /* value_return */
221
+ );
222
+
223
+ extern Bool XrmGetResource(
224
+ XrmDatabase /* database */,
225
+ _Xconst char* /* str_name */,
226
+ _Xconst char* /* str_class */,
227
+ char** /* str_type_return */,
228
+ XrmValue* /* value_return */
229
+ );
230
+
231
+ extern Bool XrmQGetSearchList(
232
+ XrmDatabase /* database */,
233
+ XrmNameList /* names */,
234
+ XrmClassList /* classes */,
235
+ XrmSearchList /* list_return */,
236
+ int /* list_length */
237
+ );
238
+
239
+ extern Bool XrmQGetSearchResource(
240
+ XrmSearchList /* list */,
241
+ XrmName /* name */,
242
+ XrmClass /* class */,
243
+ XrmRepresentation* /* type_return */,
244
+ XrmValue* /* value_return */
245
+ );
246
+
247
+ /****************************************************************
248
+ *
249
+ * Resource Database Management
250
+ *
251
+ ****************************************************************/
252
+
253
+ #ifndef _XP_PRINT_SERVER_
254
+
255
+ extern void XrmSetDatabase(
256
+ Display* /* display */,
257
+ XrmDatabase /* database */
258
+ );
259
+
260
+ extern XrmDatabase XrmGetDatabase(
261
+ Display* /* display */
262
+ );
263
+
264
+ #endif /* !_XP_PRINT_SERVER_ */
265
+
266
+ extern XrmDatabase XrmGetFileDatabase(
267
+ _Xconst char* /* filename */
268
+ );
269
+
270
+ extern Status XrmCombineFileDatabase(
271
+ _Xconst char* /* filename */,
272
+ XrmDatabase* /* target */,
273
+ Bool /* override */
274
+ );
275
+
276
+ extern XrmDatabase XrmGetStringDatabase(
277
+ _Xconst char* /* data */ /* null terminated string */
278
+ );
279
+
280
+ extern void XrmPutFileDatabase(
281
+ XrmDatabase /* database */,
282
+ _Xconst char* /* filename */
283
+ );
284
+
285
+ extern void XrmMergeDatabases(
286
+ XrmDatabase /* source_db */,
287
+ XrmDatabase* /* target_db */
288
+ );
289
+
290
+ extern void XrmCombineDatabase(
291
+ XrmDatabase /* source_db */,
292
+ XrmDatabase* /* target_db */,
293
+ Bool /* override */
294
+ );
295
+
296
+ #define XrmEnumAllLevels 0
297
+ #define XrmEnumOneLevel 1
298
+
299
+ extern Bool XrmEnumerateDatabase(
300
+ XrmDatabase /* db */,
301
+ XrmNameList /* name_prefix */,
302
+ XrmClassList /* class_prefix */,
303
+ int /* mode */,
304
+ Bool (*)(
305
+ XrmDatabase* /* db */,
306
+ XrmBindingList /* bindings */,
307
+ XrmQuarkList /* quarks */,
308
+ XrmRepresentation* /* type */,
309
+ XrmValue* /* value */,
310
+ XPointer /* closure */
311
+ ) /* proc */,
312
+ XPointer /* closure */
313
+ );
314
+
315
+ extern const char *XrmLocaleOfDatabase(
316
+ XrmDatabase /* database */
317
+ );
318
+
319
+
320
+ /****************************************************************
321
+ *
322
+ * Command line option mapping to resource entries
323
+ *
324
+ ****************************************************************/
325
+
326
+ typedef enum {
327
+ XrmoptionNoArg, /* Value is specified in OptionDescRec.value */
328
+ XrmoptionIsArg, /* Value is the option string itself */
329
+ XrmoptionStickyArg, /* Value is characters immediately following option */
330
+ XrmoptionSepArg, /* Value is next argument in argv */
331
+ XrmoptionResArg, /* Resource and value in next argument in argv */
332
+ XrmoptionSkipArg, /* Ignore this option and the next argument in argv */
333
+ XrmoptionSkipLine, /* Ignore this option and the rest of argv */
334
+ XrmoptionSkipNArgs /* Ignore this option and the next
335
+ OptionDescRes.value arguments in argv */
336
+ } XrmOptionKind;
337
+
338
+ typedef struct {
339
+ char *option; /* Option abbreviation in argv */
340
+ char *specifier; /* Resource specifier */
341
+ XrmOptionKind argKind; /* Which style of option it is */
342
+ XPointer value; /* Value to provide if XrmoptionNoArg */
343
+ } XrmOptionDescRec, *XrmOptionDescList;
344
+
345
+
346
+ extern void XrmParseCommand(
347
+ XrmDatabase* /* database */,
348
+ XrmOptionDescList /* table */,
349
+ int /* table_count */,
350
+ _Xconst char* /* name */,
351
+ int* /* argc_in_out */,
352
+ char** /* argv_in_out */
353
+ );
354
+
355
+ _XFUNCPROTOEND
356
+
357
+ #endif /* _X11_XRESOURCE_H_ */
358
+ /* DON'T ADD STUFF AFTER THIS #endif */
data/miniconda3/include/X11/Xutil.h ADDED
@@ -0,0 +1,838 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /***********************************************************
3
+
4
+ Copyright 1987, 1998 The Open Group
5
+
6
+ Permission to use, copy, modify, distribute, and sell this software and its
7
+ documentation for any purpose is hereby granted without fee, provided that
8
+ the above copyright notice appear in all copies and that both that
9
+ copyright notice and this permission notice appear in supporting
10
+ documentation.
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall not be
23
+ used in advertising or otherwise to promote the sale, use or other dealings
24
+ in this Software without prior written authorization from The Open Group.
25
+
26
+
27
+ Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
28
+
29
+ All Rights Reserved
30
+
31
+ Permission to use, copy, modify, and distribute this software and its
32
+ documentation for any purpose and without fee is hereby granted,
33
+ provided that the above copyright notice appear in all copies and that
34
+ both that copyright notice and this permission notice appear in
35
+ supporting documentation, and that the name of Digital not be
36
+ used in advertising or publicity pertaining to distribution of the
37
+ software without specific, written prior permission.
38
+
39
+ DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
40
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
41
+ DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
42
+ ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
43
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
44
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45
+ SOFTWARE.
46
+
47
+ ******************************************************************/
48
+
49
+ #ifndef _X11_XUTIL_H_
50
+ #define _X11_XUTIL_H_
51
+
52
+ /* You must include <X11/Xlib.h> before including this file */
53
+ #include <X11/Xlib.h>
54
+ #include <X11/keysym.h>
55
+
56
+ /* The Xlib structs are full of implicit padding to properly align members.
57
+ We can't clean that up without breaking ABI, so tell clang not to bother
58
+ complaining about it. */
59
+ #ifdef __clang__
60
+ #pragma clang diagnostic push
61
+ #pragma clang diagnostic ignored "-Wpadded"
62
+ #endif
63
+
64
+ /*
65
+ * Bitmask returned by XParseGeometry(). Each bit tells if the corresponding
66
+ * value (x, y, width, height) was found in the parsed string.
67
+ */
68
+ #define NoValue 0x0000
69
+ #define XValue 0x0001
70
+ #define YValue 0x0002
71
+ #define WidthValue 0x0004
72
+ #define HeightValue 0x0008
73
+ #define AllValues 0x000F
74
+ #define XNegative 0x0010
75
+ #define YNegative 0x0020
76
+
77
+ /*
78
+ * new version containing base_width, base_height, and win_gravity fields;
79
+ * used with WM_NORMAL_HINTS.
80
+ */
81
+ typedef struct {
82
+ long flags; /* marks which fields in this structure are defined */
83
+ int x, y; /* obsolete for new window mgrs, but clients */
84
+ int width, height; /* should set so old wm's don't mess up */
85
+ int min_width, min_height;
86
+ int max_width, max_height;
87
+ int width_inc, height_inc;
88
+ struct {
89
+ int x; /* numerator */
90
+ int y; /* denominator */
91
+ } min_aspect, max_aspect;
92
+ int base_width, base_height; /* added by ICCCM version 1 */
93
+ int win_gravity; /* added by ICCCM version 1 */
94
+ } XSizeHints;
95
+
96
+ /*
97
+ * The next block of definitions are for window manager properties that
98
+ * clients and applications use for communication.
99
+ */
100
+
101
+ /* flags argument in size hints */
102
+ #define USPosition (1L << 0) /* user specified x, y */
103
+ #define USSize (1L << 1) /* user specified width, height */
104
+
105
+ #define PPosition (1L << 2) /* program specified position */
106
+ #define PSize (1L << 3) /* program specified size */
107
+ #define PMinSize (1L << 4) /* program specified minimum size */
108
+ #define PMaxSize (1L << 5) /* program specified maximum size */
109
+ #define PResizeInc (1L << 6) /* program specified resize increments */
110
+ #define PAspect (1L << 7) /* program specified min and max aspect ratios */
111
+ #define PBaseSize (1L << 8) /* program specified base for incrementing */
112
+ #define PWinGravity (1L << 9) /* program specified window gravity */
113
+
114
+ /* obsolete */
115
+ #define PAllHints (PPosition|PSize|PMinSize|PMaxSize|PResizeInc|PAspect)
116
+
117
+
118
+
119
+ typedef struct {
120
+ long flags; /* marks which fields in this structure are defined */
121
+ Bool input; /* does this application rely on the window manager to
122
+ get keyboard input? */
123
+ int initial_state; /* see below */
124
+ Pixmap icon_pixmap; /* pixmap to be used as icon */
125
+ Window icon_window; /* window to be used as icon */
126
+ int icon_x, icon_y; /* initial position of icon */
127
+ Pixmap icon_mask; /* icon mask bitmap */
128
+ XID window_group; /* id of related window group */
129
+ /* this structure may be extended in the future */
130
+ } XWMHints;
131
+
132
+ /* definition for flags of XWMHints */
133
+
134
+ #define InputHint (1L << 0)
135
+ #define StateHint (1L << 1)
136
+ #define IconPixmapHint (1L << 2)
137
+ #define IconWindowHint (1L << 3)
138
+ #define IconPositionHint (1L << 4)
139
+ #define IconMaskHint (1L << 5)
140
+ #define WindowGroupHint (1L << 6)
141
+ #define AllHints (InputHint|StateHint|IconPixmapHint|IconWindowHint| \
142
+ IconPositionHint|IconMaskHint|WindowGroupHint)
143
+ #define XUrgencyHint (1L << 8)
144
+
145
+ /* definitions for initial window state */
146
+ #define WithdrawnState 0 /* for windows that are not mapped */
147
+ #define NormalState 1 /* most applications want to start this way */
148
+ #define IconicState 3 /* application wants to start as an icon */
149
+
150
+ /*
151
+ * Obsolete states no longer defined by ICCCM
152
+ */
153
+ #define DontCareState 0 /* don't know or care */
154
+ #define ZoomState 2 /* application wants to start zoomed */
155
+ #define InactiveState 4 /* application believes it is seldom used; */
156
+ /* some wm's may put it on inactive menu */
157
+
158
+
159
+ /*
160
+ * new structure for manipulating TEXT properties; used with WM_NAME,
161
+ * WM_ICON_NAME, WM_CLIENT_MACHINE, and WM_COMMAND.
162
+ */
163
+ typedef struct {
164
+ unsigned char *value; /* same as Property routines */
165
+ Atom encoding; /* prop type */
166
+ int format; /* prop data format: 8, 16, or 32 */
167
+ unsigned long nitems; /* number of data items in value */
168
+ } XTextProperty;
169
+
170
+ #define XNoMemory -1
171
+ #define XLocaleNotSupported -2
172
+ #define XConverterNotFound -3
173
+
174
+ typedef enum {
175
+ XStringStyle, /* STRING */
176
+ XCompoundTextStyle, /* COMPOUND_TEXT */
177
+ XTextStyle, /* text in owner's encoding (current locale)*/
178
+ XStdICCTextStyle, /* STRING, else COMPOUND_TEXT */
179
+ /* The following is an XFree86 extension, introduced in November 2000 */
180
+ XUTF8StringStyle /* UTF8_STRING */
181
+ } XICCEncodingStyle;
182
+
183
+ typedef struct {
184
+ int min_width, min_height;
185
+ int max_width, max_height;
186
+ int width_inc, height_inc;
187
+ } XIconSize;
188
+
189
+ typedef struct {
190
+ char *res_name;
191
+ char *res_class;
192
+ } XClassHint;
193
+
194
+ #ifdef XUTIL_DEFINE_FUNCTIONS
195
+ extern int XDestroyImage(
196
+ XImage *ximage);
197
+ extern unsigned long XGetPixel(
198
+ XImage *ximage,
199
+ int x, int y);
200
+ extern int XPutPixel(
201
+ XImage *ximage,
202
+ int x, int y,
203
+ unsigned long pixel);
204
+ extern XImage *XSubImage(
205
+ XImage *ximage,
206
+ int x, int y,
207
+ unsigned int width, unsigned int height);
208
+ extern int XAddPixel(
209
+ XImage *ximage,
210
+ long value);
211
+ #else
212
+ /*
213
+ * These macros are used to give some sugar to the image routines so that
214
+ * naive people are more comfortable with them.
215
+ */
216
+ #define XDestroyImage(ximage) \
217
+ ((*((ximage)->f.destroy_image))((ximage)))
218
+ #define XGetPixel(ximage, x, y) \
219
+ ((*((ximage)->f.get_pixel))((ximage), (x), (y)))
220
+ #define XPutPixel(ximage, x, y, pixel) \
221
+ ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel)))
222
+ #define XSubImage(ximage, x, y, width, height) \
223
+ ((*((ximage)->f.sub_image))((ximage), (x), (y), (width), (height)))
224
+ #define XAddPixel(ximage, value) \
225
+ ((*((ximage)->f.add_pixel))((ximage), (value)))
226
+ #endif
227
+
228
+ /*
229
+ * Compose sequence status structure, used in calling XLookupString.
230
+ */
231
+ typedef struct _XComposeStatus {
232
+ XPointer compose_ptr; /* state table pointer */
233
+ int chars_matched; /* match state */
234
+ } XComposeStatus;
235
+
236
+ /*
237
+ * Keysym macros, used on Keysyms to test for classes of symbols
238
+ */
239
+ #define IsKeypadKey(keysym) \
240
+ (((KeySym)(keysym) >= XK_KP_Space) && ((KeySym)(keysym) <= XK_KP_Equal))
241
+
242
+ #define IsPrivateKeypadKey(keysym) \
243
+ (((KeySym)(keysym) >= 0x11000000) && ((KeySym)(keysym) <= 0x1100FFFF))
244
+
245
+ #define IsCursorKey(keysym) \
246
+ (((KeySym)(keysym) >= XK_Home) && ((KeySym)(keysym) < XK_Select))
247
+
248
+ #define IsPFKey(keysym) \
249
+ (((KeySym)(keysym) >= XK_KP_F1) && ((KeySym)(keysym) <= XK_KP_F4))
250
+
251
+ #define IsFunctionKey(keysym) \
252
+ (((KeySym)(keysym) >= XK_F1) && ((KeySym)(keysym) <= XK_F35))
253
+
254
+ #define IsMiscFunctionKey(keysym) \
255
+ (((KeySym)(keysym) >= XK_Select) && ((KeySym)(keysym) <= XK_Break))
256
+
257
+ #ifdef XK_XKB_KEYS
258
+ #define IsModifierKey(keysym) \
259
+ ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R)) \
260
+ || (((KeySym)(keysym) >= XK_ISO_Lock) && \
261
+ ((KeySym)(keysym) <= XK_ISO_Level5_Lock)) \
262
+ || ((KeySym)(keysym) == XK_Mode_switch) \
263
+ || ((KeySym)(keysym) == XK_Num_Lock))
264
+ #else
265
+ #define IsModifierKey(keysym) \
266
+ ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R)) \
267
+ || ((KeySym)(keysym) == XK_Mode_switch) \
268
+ || ((KeySym)(keysym) == XK_Num_Lock))
269
+ #endif
270
+ /*
271
+ * opaque reference to Region data type
272
+ */
273
+ typedef struct _XRegion *Region;
274
+
275
+ /* Return values from XRectInRegion() */
276
+
277
+ #define RectangleOut 0
278
+ #define RectangleIn 1
279
+ #define RectanglePart 2
280
+
281
+
282
+ /*
283
+ * Information used by the visual utility routines to find desired visual
284
+ * type from the many visuals a display may support.
285
+ */
286
+
287
+ typedef struct {
288
+ Visual *visual;
289
+ VisualID visualid;
290
+ int screen;
291
+ int depth;
292
+ #if defined(__cplusplus) || defined(c_plusplus)
293
+ int c_class; /* C++ */
294
+ #else
295
+ int class;
296
+ #endif
297
+ unsigned long red_mask;
298
+ unsigned long green_mask;
299
+ unsigned long blue_mask;
300
+ int colormap_size;
301
+ int bits_per_rgb;
302
+ } XVisualInfo;
303
+
304
+ #define VisualNoMask 0x0
305
+ #define VisualIDMask 0x1
306
+ #define VisualScreenMask 0x2
307
+ #define VisualDepthMask 0x4
308
+ #define VisualClassMask 0x8
309
+ #define VisualRedMaskMask 0x10
310
+ #define VisualGreenMaskMask 0x20
311
+ #define VisualBlueMaskMask 0x40
312
+ #define VisualColormapSizeMask 0x80
313
+ #define VisualBitsPerRGBMask 0x100
314
+ #define VisualAllMask 0x1FF
315
+
316
+ /*
317
+ * This defines a window manager property that clients may use to
318
+ * share standard color maps of type RGB_COLOR_MAP:
319
+ */
320
+ typedef struct {
321
+ Colormap colormap;
322
+ unsigned long red_max;
323
+ unsigned long red_mult;
324
+ unsigned long green_max;
325
+ unsigned long green_mult;
326
+ unsigned long blue_max;
327
+ unsigned long blue_mult;
328
+ unsigned long base_pixel;
329
+ VisualID visualid; /* added by ICCCM version 1 */
330
+ XID killid; /* added by ICCCM version 1 */
331
+ } XStandardColormap;
332
+
333
+ #define ReleaseByFreeingColormap ((XID) 1L) /* for killid field above */
334
+
335
+
336
+ /*
337
+ * return codes for XReadBitmapFile and XWriteBitmapFile
338
+ */
339
+ #define BitmapSuccess 0
340
+ #define BitmapOpenFailed 1
341
+ #define BitmapFileInvalid 2
342
+ #define BitmapNoMemory 3
343
+
344
+ /****************************************************************
345
+ *
346
+ * Context Management
347
+ *
348
+ ****************************************************************/
349
+
350
+
351
+ /* Associative lookup table return codes */
352
+
353
+ #define XCSUCCESS 0 /* No error. */
354
+ #define XCNOMEM 1 /* Out of memory */
355
+ #define XCNOENT 2 /* No entry in table */
356
+
357
+ typedef int XContext;
358
+
359
+ #define XUniqueContext() ((XContext) XrmUniqueQuark())
360
+ #define XStringToContext(string) ((XContext) XrmStringToQuark(string))
361
+
362
+ _XFUNCPROTOBEGIN
363
+
364
+ /* The following declarations are alphabetized. */
365
+
366
+ extern XClassHint *XAllocClassHint (
367
+ void
368
+ );
369
+
370
+ extern XIconSize *XAllocIconSize (
371
+ void
372
+ );
373
+
374
+ extern XSizeHints *XAllocSizeHints (
375
+ void
376
+ );
377
+
378
+ extern XStandardColormap *XAllocStandardColormap (
379
+ void
380
+ );
381
+
382
+ extern XWMHints *XAllocWMHints (
383
+ void
384
+ );
385
+
386
+ extern int XClipBox(
387
+ Region /* r */,
388
+ XRectangle* /* rect_return */
389
+ );
390
+
391
+ extern Region XCreateRegion(
392
+ void
393
+ );
394
+
395
+ extern const char *XDefaultString (void);
396
+
397
+ extern int XDeleteContext(
398
+ Display* /* display */,
399
+ XID /* rid */,
400
+ XContext /* context */
401
+ );
402
+
403
+ extern int XDestroyRegion(
404
+ Region /* r */
405
+ );
406
+
407
+ extern Bool XEmptyRegion(
408
+ Region /* r */
409
+ );
410
+
411
+ extern Bool XEqualRegion(
412
+ Region /* r1 */,
413
+ Region /* r2 */
414
+ );
415
+
416
+ extern int XFindContext(
417
+ Display* /* display */,
418
+ XID /* rid */,
419
+ XContext /* context */,
420
+ XPointer* /* data_return */
421
+ );
422
+
423
+ extern Status XGetClassHint(
424
+ Display* /* display */,
425
+ Window /* w */,
426
+ XClassHint* /* class_hints_return */
427
+ );
428
+
429
+ extern Status XGetIconSizes(
430
+ Display* /* display */,
431
+ Window /* w */,
432
+ XIconSize** /* size_list_return */,
433
+ int* /* count_return */
434
+ );
435
+
436
+ extern Status XGetNormalHints(
437
+ Display* /* display */,
438
+ Window /* w */,
439
+ XSizeHints* /* hints_return */
440
+ );
441
+
442
+ extern Status XGetRGBColormaps(
443
+ Display* /* display */,
444
+ Window /* w */,
445
+ XStandardColormap** /* stdcmap_return */,
446
+ int* /* count_return */,
447
+ Atom /* property */
448
+ );
449
+
450
+ extern Status XGetSizeHints(
451
+ Display* /* display */,
452
+ Window /* w */,
453
+ XSizeHints* /* hints_return */,
454
+ Atom /* property */
455
+ );
456
+
457
+ extern Status XGetStandardColormap(
458
+ Display* /* display */,
459
+ Window /* w */,
460
+ XStandardColormap* /* colormap_return */,
461
+ Atom /* property */
462
+ );
463
+
464
+ extern Status XGetTextProperty(
465
+ Display* /* display */,
466
+ Window /* window */,
467
+ XTextProperty* /* text_prop_return */,
468
+ Atom /* property */
469
+ );
470
+
471
+ extern XVisualInfo *XGetVisualInfo(
472
+ Display* /* display */,
473
+ long /* vinfo_mask */,
474
+ XVisualInfo* /* vinfo_template */,
475
+ int* /* nitems_return */
476
+ );
477
+
478
+ extern Status XGetWMClientMachine(
479
+ Display* /* display */,
480
+ Window /* w */,
481
+ XTextProperty* /* text_prop_return */
482
+ );
483
+
484
+ extern XWMHints *XGetWMHints(
485
+ Display* /* display */,
486
+ Window /* w */
487
+ );
488
+
489
+ extern Status XGetWMIconName(
490
+ Display* /* display */,
491
+ Window /* w */,
492
+ XTextProperty* /* text_prop_return */
493
+ );
494
+
495
+ extern Status XGetWMName(
496
+ Display* /* display */,
497
+ Window /* w */,
498
+ XTextProperty* /* text_prop_return */
499
+ );
500
+
501
+ extern Status XGetWMNormalHints(
502
+ Display* /* display */,
503
+ Window /* w */,
504
+ XSizeHints* /* hints_return */,
505
+ long* /* supplied_return */
506
+ );
507
+
508
+ extern Status XGetWMSizeHints(
509
+ Display* /* display */,
510
+ Window /* w */,
511
+ XSizeHints* /* hints_return */,
512
+ long* /* supplied_return */,
513
+ Atom /* property */
514
+ );
515
+
516
+ extern Status XGetZoomHints(
517
+ Display* /* display */,
518
+ Window /* w */,
519
+ XSizeHints* /* zhints_return */
520
+ );
521
+
522
+ extern int XIntersectRegion(
523
+ Region /* sra */,
524
+ Region /* srb */,
525
+ Region /* dr_return */
526
+ );
527
+
528
+ extern void XConvertCase(
529
+ KeySym /* sym */,
530
+ KeySym* /* lower */,
531
+ KeySym* /* upper */
532
+ );
533
+
534
+ extern int XLookupString(
535
+ XKeyEvent* /* event_struct */,
536
+ char* /* buffer_return */,
537
+ int /* bytes_buffer */,
538
+ KeySym* /* keysym_return */,
539
+ XComposeStatus* /* status_in_out */
540
+ );
541
+
542
+ extern Status XMatchVisualInfo(
543
+ Display* /* display */,
544
+ int /* screen */,
545
+ int /* depth */,
546
+ int /* class */,
547
+ XVisualInfo* /* vinfo_return */
548
+ );
549
+
550
+ extern int XOffsetRegion(
551
+ Region /* r */,
552
+ int /* dx */,
553
+ int /* dy */
554
+ );
555
+
556
+ extern Bool XPointInRegion(
557
+ Region /* r */,
558
+ int /* x */,
559
+ int /* y */
560
+ );
561
+
562
+ extern Region XPolygonRegion(
563
+ XPoint* /* points */,
564
+ int /* n */,
565
+ int /* fill_rule */
566
+ );
567
+
568
+ extern int XRectInRegion(
569
+ Region /* r */,
570
+ int /* x */,
571
+ int /* y */,
572
+ unsigned int /* width */,
573
+ unsigned int /* height */
574
+ );
575
+
576
+ extern int XSaveContext(
577
+ Display* /* display */,
578
+ XID /* rid */,
579
+ XContext /* context */,
580
+ _Xconst char* /* data */
581
+ );
582
+
583
+ extern int XSetClassHint(
584
+ Display* /* display */,
585
+ Window /* w */,
586
+ XClassHint* /* class_hints */
587
+ );
588
+
589
+ extern int XSetIconSizes(
590
+ Display* /* display */,
591
+ Window /* w */,
592
+ XIconSize* /* size_list */,
593
+ int /* count */
594
+ );
595
+
596
+ extern int XSetNormalHints(
597
+ Display* /* display */,
598
+ Window /* w */,
599
+ XSizeHints* /* hints */
600
+ );
601
+
602
+ extern void XSetRGBColormaps(
603
+ Display* /* display */,
604
+ Window /* w */,
605
+ XStandardColormap* /* stdcmaps */,
606
+ int /* count */,
607
+ Atom /* property */
608
+ );
609
+
610
+ extern int XSetSizeHints(
611
+ Display* /* display */,
612
+ Window /* w */,
613
+ XSizeHints* /* hints */,
614
+ Atom /* property */
615
+ );
616
+
617
+ extern int XSetStandardProperties(
618
+ Display* /* display */,
619
+ Window /* w */,
620
+ _Xconst char* /* window_name */,
621
+ _Xconst char* /* icon_name */,
622
+ Pixmap /* icon_pixmap */,
623
+ char** /* argv */,
624
+ int /* argc */,
625
+ XSizeHints* /* hints */
626
+ );
627
+
628
+ extern void XSetTextProperty(
629
+ Display* /* display */,
630
+ Window /* w */,
631
+ XTextProperty* /* text_prop */,
632
+ Atom /* property */
633
+ );
634
+
635
+ extern void XSetWMClientMachine(
636
+ Display* /* display */,
637
+ Window /* w */,
638
+ XTextProperty* /* text_prop */
639
+ );
640
+
641
+ extern int XSetWMHints(
642
+ Display* /* display */,
643
+ Window /* w */,
644
+ XWMHints* /* wm_hints */
645
+ );
646
+
647
+ extern void XSetWMIconName(
648
+ Display* /* display */,
649
+ Window /* w */,
650
+ XTextProperty* /* text_prop */
651
+ );
652
+
653
+ extern void XSetWMName(
654
+ Display* /* display */,
655
+ Window /* w */,
656
+ XTextProperty* /* text_prop */
657
+ );
658
+
659
+ extern void XSetWMNormalHints(
660
+ Display* /* display */,
661
+ Window /* w */,
662
+ XSizeHints* /* hints */
663
+ );
664
+
665
+ extern void XSetWMProperties(
666
+ Display* /* display */,
667
+ Window /* w */,
668
+ XTextProperty* /* window_name */,
669
+ XTextProperty* /* icon_name */,
670
+ char** /* argv */,
671
+ int /* argc */,
672
+ XSizeHints* /* normal_hints */,
673
+ XWMHints* /* wm_hints */,
674
+ XClassHint* /* class_hints */
675
+ );
676
+
677
+ extern void XmbSetWMProperties(
678
+ Display* /* display */,
679
+ Window /* w */,
680
+ _Xconst char* /* window_name */,
681
+ _Xconst char* /* icon_name */,
682
+ char** /* argv */,
683
+ int /* argc */,
684
+ XSizeHints* /* normal_hints */,
685
+ XWMHints* /* wm_hints */,
686
+ XClassHint* /* class_hints */
687
+ );
688
+
689
+ extern void Xutf8SetWMProperties(
690
+ Display* /* display */,
691
+ Window /* w */,
692
+ _Xconst char* /* window_name */,
693
+ _Xconst char* /* icon_name */,
694
+ char** /* argv */,
695
+ int /* argc */,
696
+ XSizeHints* /* normal_hints */,
697
+ XWMHints* /* wm_hints */,
698
+ XClassHint* /* class_hints */
699
+ );
700
+
701
+ extern void XSetWMSizeHints(
702
+ Display* /* display */,
703
+ Window /* w */,
704
+ XSizeHints* /* hints */,
705
+ Atom /* property */
706
+ );
707
+
708
+ extern int XSetRegion(
709
+ Display* /* display */,
710
+ GC /* gc */,
711
+ Region /* r */
712
+ );
713
+
714
+ extern void XSetStandardColormap(
715
+ Display* /* display */,
716
+ Window /* w */,
717
+ XStandardColormap* /* colormap */,
718
+ Atom /* property */
719
+ );
720
+
721
+ extern int XSetZoomHints(
722
+ Display* /* display */,
723
+ Window /* w */,
724
+ XSizeHints* /* zhints */
725
+ );
726
+
727
+ extern int XShrinkRegion(
728
+ Region /* r */,
729
+ int /* dx */,
730
+ int /* dy */
731
+ );
732
+
733
+ extern Status XStringListToTextProperty(
734
+ char** /* list */,
735
+ int /* count */,
736
+ XTextProperty* /* text_prop_return */
737
+ );
738
+
739
+ extern int XSubtractRegion(
740
+ Region /* sra */,
741
+ Region /* srb */,
742
+ Region /* dr_return */
743
+ );
744
+
745
+ extern int XmbTextListToTextProperty(
746
+ Display* display,
747
+ char** list,
748
+ int count,
749
+ XICCEncodingStyle style,
750
+ XTextProperty* text_prop_return
751
+ );
752
+
753
+ extern int XwcTextListToTextProperty(
754
+ Display* display,
755
+ wchar_t** list,
756
+ int count,
757
+ XICCEncodingStyle style,
758
+ XTextProperty* text_prop_return
759
+ );
760
+
761
+ extern int Xutf8TextListToTextProperty(
762
+ Display* display,
763
+ char** list,
764
+ int count,
765
+ XICCEncodingStyle style,
766
+ XTextProperty* text_prop_return
767
+ );
768
+
769
+ extern void XwcFreeStringList(
770
+ wchar_t** list
771
+ );
772
+
773
+ extern Status XTextPropertyToStringList(
774
+ XTextProperty* /* text_prop */,
775
+ char*** /* list_return */,
776
+ int* /* count_return */
777
+ );
778
+
779
+ extern int XmbTextPropertyToTextList(
780
+ Display* display,
781
+ const XTextProperty* text_prop,
782
+ char*** list_return,
783
+ int* count_return
784
+ );
785
+
786
+ extern int XwcTextPropertyToTextList(
787
+ Display* display,
788
+ const XTextProperty* text_prop,
789
+ wchar_t*** list_return,
790
+ int* count_return
791
+ );
792
+
793
+ extern int Xutf8TextPropertyToTextList(
794
+ Display* display,
795
+ const XTextProperty* text_prop,
796
+ char*** list_return,
797
+ int* count_return
798
+ );
799
+
800
+ extern int XUnionRectWithRegion(
801
+ XRectangle* /* rectangle */,
802
+ Region /* src_region */,
803
+ Region /* dest_region_return */
804
+ );
805
+
806
+ extern int XUnionRegion(
807
+ Region /* sra */,
808
+ Region /* srb */,
809
+ Region /* dr_return */
810
+ );
811
+
812
+ extern int XWMGeometry(
813
+ Display* /* display */,
814
+ int /* screen_number */,
815
+ _Xconst char* /* user_geometry */,
816
+ _Xconst char* /* default_geometry */,
817
+ unsigned int /* border_width */,
818
+ XSizeHints* /* hints */,
819
+ int* /* x_return */,
820
+ int* /* y_return */,
821
+ int* /* width_return */,
822
+ int* /* height_return */,
823
+ int* /* gravity_return */
824
+ );
825
+
826
+ extern int XXorRegion(
827
+ Region /* sra */,
828
+ Region /* srb */,
829
+ Region /* dr_return */
830
+ );
831
+
832
+ #ifdef __clang__
833
+ #pragma clang diagnostic pop
834
+ #endif
835
+
836
+ _XFUNCPROTOEND
837
+
838
+ #endif /* _X11_XUTIL_H_ */
data/miniconda3/include/X11/Xwindows.h ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1996, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
16
+ ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
17
+ SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABIL-
18
+ ITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20
+ IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall
23
+ not be used in advertising or otherwise to promote the sale, use or
24
+ other dealings in this Software without prior written authorization from
25
+ The Open Group.
26
+
27
+ */
28
+
29
+ /*
30
+ * This header file has the sole purpose of allowing the inclusion of
31
+ * windows.h without getting any name conflicts with X headers code, by
32
+ * renaming or disabling the conflicting definitions from windows.h
33
+ */
34
+
35
+ /*
36
+ * Mingw.org versions of the Windows API headers actually avoid
37
+ * making the conflicting definitions if XFree86Server is defined, so we
38
+ * need to remember if that was defined and undefine it during including
39
+ * windows.h (so the conflicting definitions get wrapped correctly), and
40
+ * then redefine it afterwards. (This was never the correct thing to
41
+ * do as it's no help at all to X11 clients which also need to use the
42
+ * Win32 API)
43
+ */
44
+ #undef _XFree86Server
45
+ #ifdef XFree86Server
46
+ # define _XFree86Server
47
+ # undef XFree86Server
48
+ #endif
49
+
50
+ /*
51
+ * There doesn't seem to be a good way to wrap the min/max macros from
52
+ * windows.h, so we simply avoid defining them completely, allowing any
53
+ * pre-existing definition to stand.
54
+ *
55
+ */
56
+ #define NOMINMAX
57
+
58
+ /*
59
+ * mingw-w64 headers define BOOL as a typedef, protecting against macros
60
+ * mingw.org headers define BOOL in terms of WINBOOL
61
+ * ... so try to come up with something which works with both :-)
62
+ */
63
+ #define _NO_BOOL_TYPEDEF
64
+ #define BOOL WINBOOL
65
+ #define INT32 wINT32
66
+ #ifdef __x86_64__
67
+ #define INT64 wINT64
68
+ #define LONG64 wLONG64
69
+ #endif
70
+ #undef Status
71
+ #define Status wStatus
72
+ #define ATOM wATOM
73
+ #define BYTE wBYTE
74
+ #define FreeResource wFreeResource
75
+ #pragma push_macro ("ControlMask")
76
+ #undef ControlMask
77
+ #include <windows.h>
78
+ #undef NOMINMAX
79
+ #undef Status
80
+ #define Status int
81
+ #undef BYTE
82
+ #undef BOOL
83
+ #undef INT32
84
+ #undef INT64
85
+ #undef LONG64
86
+ #undef ATOM
87
+ #undef FreeResource
88
+ #pragma pop_macro ("ControlMask")
89
+ #undef CreateWindowA
90
+
91
+ /*
92
+ * Older version of this header used to name the windows API bool type wBOOL,
93
+ * rather than more standard name WINBOOL
94
+ */
95
+ #define wBOOL WINBOOL
96
+
97
+ #ifdef RESOURCE_H
98
+ # undef RT_FONT
99
+ # undef RT_CURSOR
100
+ # define RT_FONT ((RESTYPE)4)
101
+ # define RT_CURSOR ((RESTYPE)5)
102
+ #endif
103
+
104
+ #ifndef __CYGWIN__
105
+ #define sleep(x) Sleep((x) * 1000)
106
+ #endif
107
+
108
+ #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024)
109
+ # undef PATH_MAX
110
+ # define PATH_MAX 1024
111
+ #endif
112
+
113
+ #ifdef _XFree86Server
114
+ # define XFree86Server
115
+ # undef _XFree86Server
116
+ #endif
117
+
data/miniconda3/include/X11/Xwinsock.h ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+
3
+ Copyright 1996, 1998 The Open Group
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that
7
+ the above copyright notice appear in all copies and that both that
8
+ copyright notice and this permission notice appear in supporting
9
+ documentation.
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
16
+ ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
17
+ SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABIL-
18
+ ITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20
+ IN THE SOFTWARE.
21
+
22
+ Except as contained in this notice, the name of The Open Group shall
23
+ not be used in advertising or otherwise to promote the sale, use or
24
+ other dealings in this Software without prior written authorization from
25
+ The Open Group.
26
+
27
+ */
28
+
29
+ /*
30
+ * This header file has for sole purpose to allow to include winsock.h
31
+ * without getting any name conflicts with our code.
32
+ * Conflicts come from the fact that including winsock.h actually pulls
33
+ * in the whole Windows API...
34
+ */
35
+
36
+ #undef _XFree86Server
37
+ #ifdef XFree86Server
38
+ # define _XFree86Server
39
+ # undef XFree86Server
40
+ #endif
41
+
42
+ /*
43
+ * mingw-w64 headers define BOOL as a typedef, protecting against macros
44
+ * mingw.org headers define BOOL in terms of WINBOOL
45
+ * ... so try to come up with something which works with both :-)
46
+ */
47
+ #define _NO_BOOL_TYPEDEF
48
+ #define BOOL WINBOOL
49
+ #define INT32 wINT32
50
+ #undef Status
51
+ #define Status wStatus
52
+ #define ATOM wATOM
53
+ #define BYTE wBYTE
54
+ #define FreeResource wFreeResource
55
+ #pragma push_macro ("ControlMask")
56
+ #undef ControlMask
57
+ #include <winsock2.h>
58
+ #undef Status
59
+ #define Status int
60
+ #undef BYTE
61
+ #undef BOOL
62
+ #undef INT32
63
+ #undef ATOM
64
+ #undef FreeResource
65
+ #pragma pop_macro ("ControlMask")
66
+ #undef CreateWindowA
67
+ #undef RT_FONT
68
+ #undef RT_CURSOR
69
+
70
+ /*
71
+ * Older version of this header used to name the windows API bool type wBOOL,
72
+ * rather than more standard name WINBOOL
73
+ */
74
+ #define wBOOL WINBOOL
75
+
76
+ #ifdef _XFree86Server
77
+ # define XFree86Server
78
+ # undef _XFree86Server
79
+ #endif
80
+
data/miniconda3/include/X11/keysymdef.h ADDED
The diff for this file is too large to render. See raw diff
 
data/miniconda3/include/harfbuzz/hb-aat-layout.h ADDED
@@ -0,0 +1,795 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright © 2018 Ebrahim Byagowi
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ */
24
+
25
+ #if !defined(HB_AAT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
26
+ #error "Include <hb-aat.h> instead."
27
+ #endif
28
+
29
+ #ifndef HB_AAT_LAYOUT_H
30
+ #define HB_AAT_LAYOUT_H
31
+
32
+ #include "hb.h"
33
+
34
+ #include "hb-ot.h"
35
+
36
+ HB_BEGIN_DECLS
37
+
38
+ /**
39
+ * hb_aat_layout_feature_type_t:
40
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_INVALID: Initial, unset feature type
41
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC: [All Typographic Features](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type0)
42
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES: [Ligatures](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type1)
43
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION: [Cursive Connection](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type2)
44
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE: [Letter Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type3)
45
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION: [Vertical Substitution](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type4)
46
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT: [Linguistic Rearrangement](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type5)
47
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING: [Number Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type6)
48
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE: [Smart Swash](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type8)
49
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE: [Diacritics](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type9)
50
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION: [Vertical Position](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type10)
51
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS: [Fractions](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type11)
52
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE: [Overlapping Characters](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type13)
53
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS: [Typographic Extras](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type14)
54
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS: [Mathematical Extras](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type15)
55
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE: [Ornament Sets](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type16)
56
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES: [Character Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type17)
57
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE: [Design Complexity](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type18)
58
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS: [Style Options](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type19)
59
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE: [Character Shape](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type20)
60
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE: [Number Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type21)
61
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING: [Text Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type22)
62
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION: [Transliteration](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type23)
63
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE: [Annotation](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type24)
64
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE: [Kana Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type25)
65
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE: [Ideographic Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type26)
66
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE: [Unicode Decomposition](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type27)
67
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA: [Ruby Kana](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type28)
68
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE: [CJK Symbol Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type29)
69
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE: [Ideographic Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type30)
70
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE: [CJK Vertical Roman Placement](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type31)
71
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN: [Italic CJK Roman](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type32)
72
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT: [Case Sensitive Layout](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type33)
73
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA: [Alternate Kana](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type34)
74
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES: [Stylistic Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type35)
75
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES: [Contextual Alternatives](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type36)
76
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE: [Lower Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type37)
77
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE: [Upper Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type38)
78
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE: [Language Tag](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type39)
79
+ * @HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE: [CJK Roman Spacing](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type103)
80
+ *
81
+ * The possible feature types defined for AAT shaping, from Apple [Font Feature Registry](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html).
82
+ *
83
+ * Since: 2.2.0
84
+ */
85
+ typedef enum
86
+ {
87
+ HB_AAT_LAYOUT_FEATURE_TYPE_INVALID = 0xFFFF,
88
+
89
+ HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC = 0,
90
+ HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES = 1,
91
+ HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION = 2,
92
+ HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE = 3,
93
+ HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION = 4,
94
+ HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT = 5,
95
+ HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING = 6,
96
+ HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE = 8,
97
+ HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE = 9,
98
+ HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION = 10,
99
+ HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS = 11,
100
+ HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE = 13,
101
+ HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS = 14,
102
+ HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS = 15,
103
+ HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE = 16,
104
+ HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES = 17,
105
+ HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE = 18,
106
+ HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS = 19,
107
+ HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE = 20,
108
+ HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE = 21,
109
+ HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING = 22,
110
+ HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION = 23,
111
+ HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE = 24,
112
+ HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE = 25,
113
+ HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE = 26,
114
+ HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE = 27,
115
+ HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA = 28,
116
+ HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE = 29,
117
+ HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE = 30,
118
+ HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE = 31,
119
+ HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN = 32,
120
+ HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT = 33,
121
+ HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA = 34,
122
+ HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES = 35,
123
+ HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES = 36,
124
+ HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE = 37,
125
+ HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE = 38,
126
+ HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE = 39,
127
+ HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE = 103,
128
+
129
+ /*< private >*/
130
+ _HB_AAT_LAYOUT_FEATURE_TYPE_MAX_VALUE = HB_TAG_MAX_SIGNED /*< skip >*/
131
+ } hb_aat_layout_feature_type_t;
132
+
133
+ /**
134
+ * hb_aat_layout_feature_selector_t:
135
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID: Initial, unset feature selector
136
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC
137
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC
138
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
139
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
140
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
141
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
142
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
143
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
144
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
145
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
146
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
147
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
148
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
149
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
150
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
151
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
152
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
153
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
154
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
155
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
156
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
157
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
158
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
159
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
160
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UNCONNECTED: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
161
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PARTIALLY_CONNECTED: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
162
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CURSIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES
163
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_AND_LOWER_CASE: Deprecated
164
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_CAPS: Deprecated
165
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_LOWER_CASE: Deprecated
166
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS: Deprecated
167
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS: Deprecated
168
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS_AND_SMALL_CAPS: Deprecated
169
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION
170
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION
171
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT
172
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT
173
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING
174
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING
175
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING
176
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING
177
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
178
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
179
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
180
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
181
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
182
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
183
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
184
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
185
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
186
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE
187
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SHOW_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE
188
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HIDE_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE
189
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DECOMPOSE_DIACRITICS: for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE
190
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION
191
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION
192
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION
193
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION
194
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS: for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION
195
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS
196
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS
197
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS
198
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE
199
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE
200
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
201
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
202
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
203
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
204
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
205
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
206
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
207
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
208
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
209
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
210
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
211
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS
212
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
213
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
214
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
215
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
216
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
217
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
218
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
219
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
220
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
221
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
222
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
223
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS
224
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ORNAMENTS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
225
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DINGBATS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
226
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PI_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
227
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FLEURONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
228
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DECORATIVE_BORDERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
229
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INTERNATIONAL_SYMBOLS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
230
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MATH_SYMBOLS: for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE
231
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ALTERNATES: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES
232
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL1: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE
233
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL2: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE
234
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL3: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE
235
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL4: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE
236
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL5: for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE
237
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
238
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DISPLAY_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
239
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ENGRAVED_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
240
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ILLUMINATED_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
241
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
242
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS
243
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
244
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
245
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
246
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
247
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
248
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
249
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
250
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
251
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
252
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
253
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
254
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
255
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
256
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
257
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE
258
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE
259
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS: for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE
260
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
261
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
262
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
263
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
264
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
265
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
266
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT: for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING
267
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
268
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
269
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HIRAGANA_TO_KATAKANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
270
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_KATAKANA_TO_HIRAGANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
271
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_KANA_TO_ROMANIZATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
272
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_HIRAGANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
273
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_KATAKANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
274
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
275
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
276
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION
277
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
278
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
279
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROUNDED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
280
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CIRCLE_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
281
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_CIRCLE_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
282
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PARENTHESIS_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
283
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIOD_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
284
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMAN_NUMERAL_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
285
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAMOND_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
286
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
287
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_ROUNDED_BOX_ANNOTATION: for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE
288
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_KANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE
289
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_KANA: for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE
290
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE
291
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE
292
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_IDEOGRAPHS: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE
293
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
294
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
295
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
296
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
297
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
298
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE
299
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_RUBY_KANA: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF instead
300
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON instead
301
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA
302
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA
303
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_SYMBOL_ALTERNATIVES: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
304
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
305
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
306
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
307
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
308
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE
309
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_IDEOGRAPHIC_ALTERNATIVES: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
310
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_ONE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
311
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_TWO: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
312
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_THREE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
313
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FOUR: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
314
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FIVE: for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE
315
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_CENTERED: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE
316
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_HBASELINE: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE
317
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_ITALIC_ROMAN: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF instead
318
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN: Deprecated; use #HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON instead
319
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN
320
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN
321
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT
322
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT
323
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT
324
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT
325
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA
326
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA
327
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA
328
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA
329
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLISTIC_ALTERNATES: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
330
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
331
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
332
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
333
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
334
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
335
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
336
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
337
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
338
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
339
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
340
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
341
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
342
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
343
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
344
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
345
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
346
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
347
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
348
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
349
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
350
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
351
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
352
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
353
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
354
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
355
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
356
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
357
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
358
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
359
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
360
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
361
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
362
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
363
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
364
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
365
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
366
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
367
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
368
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
369
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES
370
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
371
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
372
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
373
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
374
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
375
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF: for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES
376
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE
377
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE
378
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE
379
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE
380
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE
381
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS: for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE
382
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE
383
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE
384
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE
385
+ * @HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN: for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE
386
+ *
387
+ * The selectors defined for specifying AAT feature settings.
388
+ *
389
+ * Since: 2.2.0
390
+ */
391
+ typedef enum
392
+ {
393
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID = 0xFFFF,
394
+
395
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC */
396
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_ON = 0,
397
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_TYPE_FEATURES_OFF = 1,
398
+
399
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES */
400
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_ON = 0,
401
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_REQUIRED_LIGATURES_OFF = 1,
402
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_ON = 2,
403
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_COMMON_LIGATURES_OFF = 3,
404
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_ON = 4,
405
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_RARE_LIGATURES_OFF = 5,
406
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_ON = 6,
407
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LOGOS_OFF = 7,
408
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_ON = 8,
409
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_REBUS_PICTURES_OFF = 9,
410
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_ON = 10,
411
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DIPHTHONG_LIGATURES_OFF = 11,
412
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_ON = 12,
413
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SQUARED_LIGATURES_OFF = 13,
414
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_ON = 14,
415
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ABBREV_SQUARED_LIGATURES_OFF = 15,
416
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_ON = 16,
417
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SYMBOL_LIGATURES_OFF = 17,
418
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_ON = 18,
419
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_LIGATURES_OFF = 19,
420
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_ON = 20,
421
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HISTORICAL_LIGATURES_OFF = 21,
422
+
423
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES */
424
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_UNCONNECTED = 0,
425
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PARTIALLY_CONNECTED = 1,
426
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CURSIVE = 2,
427
+
428
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE */
429
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_AND_LOWER_CASE = 0, /* deprecated */
430
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_CAPS = 1, /* deprecated */
431
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALL_LOWER_CASE = 2, /* deprecated */
432
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SMALL_CAPS = 3, /* deprecated */
433
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS = 4, /* deprecated */
434
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INITIAL_CAPS_AND_SMALL_CAPS = 5, /* deprecated */
435
+
436
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION */
437
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_ON = 0,
438
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SUBSTITUTE_VERTICAL_FORMS_OFF = 1,
439
+
440
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT */
441
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_ON = 0,
442
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINGUISTIC_REARRANGEMENT_OFF = 1,
443
+
444
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_SPACING */
445
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_NUMBERS = 0,
446
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_NUMBERS = 1,
447
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_NUMBERS = 2,
448
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_NUMBERS = 3,
449
+
450
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_SMART_SWASH_TYPE */
451
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_ON = 0,
452
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_INITIAL_SWASHES_OFF = 1,
453
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_ON = 2,
454
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_WORD_FINAL_SWASHES_OFF = 3,
455
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_ON = 4,
456
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_INITIAL_SWASHES_OFF = 5,
457
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_ON = 6,
458
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LINE_FINAL_SWASHES_OFF = 7,
459
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_ON = 8,
460
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NON_FINAL_SWASHES_OFF = 9,
461
+
462
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_DIACRITICS_TYPE */
463
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SHOW_DIACRITICS = 0,
464
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HIDE_DIACRITICS = 1,
465
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DECOMPOSE_DIACRITICS = 2,
466
+
467
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_POSITION */
468
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NORMAL_POSITION = 0,
469
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SUPERIORS = 1,
470
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INFERIORS = 2,
471
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ORDINALS = 3,
472
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SCIENTIFIC_INFERIORS = 4,
473
+
474
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_FRACTIONS */
475
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_FRACTIONS = 0,
476
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_VERTICAL_FRACTIONS = 1,
477
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAGONAL_FRACTIONS = 2,
478
+
479
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_OVERLAPPING_CHARACTERS_TYPE */
480
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_ON = 0,
481
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PREVENT_OVERLAP_OFF = 1,
482
+
483
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TYPOGRAPHIC_EXTRAS */
484
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_ON = 0,
485
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHENS_TO_EM_DASH_OFF = 1,
486
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_ON = 2,
487
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_EN_DASH_OFF = 3,
488
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_ON = 4,
489
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASHED_ZERO_OFF = 5,
490
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_ON = 6,
491
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FORM_INTERROBANG_OFF = 7,
492
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_ON = 8,
493
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SMART_QUOTES_OFF = 9,
494
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_ON = 10,
495
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIODS_TO_ELLIPSIS_OFF = 11,
496
+
497
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_MATHEMATICAL_EXTRAS */
498
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_ON = 0,
499
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HYPHEN_TO_MINUS_OFF = 1,
500
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_ON = 2,
501
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ASTERISK_TO_MULTIPLY_OFF = 3,
502
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_ON = 4,
503
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SLASH_TO_DIVIDE_OFF = 5,
504
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_ON = 6,
505
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INEQUALITY_LIGATURES_OFF = 7,
506
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_ON = 8,
507
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPONENTS_OFF = 9,
508
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_ON = 10,
509
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_MATHEMATICAL_GREEK_OFF = 11,
510
+
511
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ORNAMENT_SETS_TYPE */
512
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ORNAMENTS = 0,
513
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DINGBATS = 1,
514
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PI_CHARACTERS = 2,
515
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FLEURONS = 3,
516
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DECORATIVE_BORDERS = 4,
517
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INTERNATIONAL_SYMBOLS = 5,
518
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_MATH_SYMBOLS = 6,
519
+
520
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_ALTERNATIVES */
521
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ALTERNATES = 0,
522
+
523
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE */
524
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL1 = 0,
525
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL2 = 1,
526
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL3 = 2,
527
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL4 = 3,
528
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DESIGN_LEVEL5 = 4,
529
+
530
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLE_OPTIONS */
531
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLE_OPTIONS = 0,
532
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DISPLAY_TEXT = 1,
533
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ENGRAVED_TEXT = 2,
534
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ILLUMINATED_CAPS = 3,
535
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TITLING_CAPS = 4,
536
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TALL_CAPS = 5,
537
+
538
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CHARACTER_SHAPE */
539
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_CHARACTERS = 0,
540
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SIMPLIFIED_CHARACTERS = 1,
541
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1978_CHARACTERS = 2,
542
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1983_CHARACTERS = 3,
543
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS1990_CHARACTERS = 4,
544
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_ONE = 5,
545
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_TWO = 6,
546
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_THREE = 7,
547
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FOUR = 8,
548
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_ALT_FIVE = 9,
549
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_EXPERT_CHARACTERS = 10,
550
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_JIS2004_CHARACTERS = 11,
551
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HOJO_CHARACTERS = 12,
552
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NLCCHARACTERS = 13,
553
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRADITIONAL_NAMES_CHARACTERS = 14,
554
+
555
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_NUMBER_CASE */
556
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_NUMBERS = 0,
557
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_NUMBERS = 1,
558
+
559
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TEXT_SPACING */
560
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_TEXT = 0,
561
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_MONOSPACED_TEXT = 1,
562
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_TEXT = 2,
563
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_THIRD_WIDTH_TEXT = 3,
564
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_QUARTER_WIDTH_TEXT = 4,
565
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_PROPORTIONAL_TEXT = 5,
566
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALT_HALF_WIDTH_TEXT = 6,
567
+
568
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_TRANSLITERATION */
569
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_TRANSLITERATION = 0,
570
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL = 1,
571
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HIRAGANA_TO_KATAKANA = 2,
572
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_KATAKANA_TO_HIRAGANA = 3,
573
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_KANA_TO_ROMANIZATION = 4,
574
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_HIRAGANA = 5,
575
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMANIZATION_TO_KATAKANA = 6,
576
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_ONE = 7,
577
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_TWO = 8,
578
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HANJA_TO_HANGUL_ALT_THREE = 9,
579
+
580
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ANNOTATION_TYPE */
581
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_ANNOTATION = 0,
582
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_BOX_ANNOTATION = 1,
583
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ROUNDED_BOX_ANNOTATION = 2,
584
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CIRCLE_ANNOTATION = 3,
585
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_CIRCLE_ANNOTATION = 4,
586
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PARENTHESIS_ANNOTATION = 5,
587
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PERIOD_ANNOTATION = 6,
588
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ROMAN_NUMERAL_ANNOTATION = 7,
589
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DIAMOND_ANNOTATION = 8,
590
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_BOX_ANNOTATION = 9,
591
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_INVERTED_ROUNDED_BOX_ANNOTATION= 10,
592
+
593
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_KANA_SPACING_TYPE */
594
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_KANA = 0,
595
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_KANA = 1,
596
+
597
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_SPACING_TYPE */
598
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_IDEOGRAPHS = 0,
599
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_IDEOGRAPHS = 1,
600
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_IDEOGRAPHS = 2,
601
+
602
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_UNICODE_DECOMPOSITION_TYPE */
603
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_ON = 0,
604
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CANONICAL_COMPOSITION_OFF = 1,
605
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_ON = 2,
606
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_COMPATIBILITY_COMPOSITION_OFF = 3,
607
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_ON = 4,
608
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_TRANSCODING_COMPOSITION_OFF = 5,
609
+
610
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_RUBY_KANA */
611
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_RUBY_KANA = 0, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF instead */
612
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA = 1, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON instead */
613
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_ON = 2,
614
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_RUBY_KANA_OFF = 3,
615
+
616
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_SYMBOL_ALTERNATIVES_TYPE */
617
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_SYMBOL_ALTERNATIVES = 0,
618
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_ONE = 1,
619
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_TWO = 2,
620
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_THREE = 3,
621
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FOUR = 4,
622
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_SYMBOL_ALT_FIVE = 5,
623
+
624
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_IDEOGRAPHIC_ALTERNATIVES_TYPE */
625
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_IDEOGRAPHIC_ALTERNATIVES = 0,
626
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_ONE = 1,
627
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_TWO = 2,
628
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_THREE = 3,
629
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FOUR = 4,
630
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_IDEOGRAPHIC_ALT_FIVE = 5,
631
+
632
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_VERTICAL_ROMAN_PLACEMENT_TYPE */
633
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_CENTERED = 0,
634
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_VERTICAL_ROMAN_HBASELINE = 1,
635
+
636
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ITALIC_CJK_ROMAN */
637
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_CJK_ITALIC_ROMAN = 0, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF instead */
638
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN = 1, /* deprecated - use HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON instead */
639
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_ON = 2,
640
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CJK_ITALIC_ROMAN_OFF = 3,
641
+
642
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CASE_SENSITIVE_LAYOUT */
643
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_ON = 0,
644
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_LAYOUT_OFF = 1,
645
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_ON = 2,
646
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CASE_SENSITIVE_SPACING_OFF = 3,
647
+
648
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_ALTERNATE_KANA */
649
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_ON = 0,
650
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_HORIZ_KANA_OFF = 1,
651
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_ON = 2,
652
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_ALTERNATE_VERT_KANA_OFF = 3,
653
+
654
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_STYLISTIC_ALTERNATIVES */
655
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_NO_STYLISTIC_ALTERNATES = 0,
656
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_ON = 2,
657
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ONE_OFF = 3,
658
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_ON = 4,
659
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWO_OFF = 5,
660
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_ON = 6,
661
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THREE_OFF = 7,
662
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_ON = 8,
663
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOUR_OFF = 9,
664
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_ON = 10,
665
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIVE_OFF = 11,
666
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_ON = 12,
667
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIX_OFF = 13,
668
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_ON = 14,
669
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVEN_OFF = 15,
670
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_ON = 16,
671
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHT_OFF = 17,
672
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_ON = 18,
673
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINE_OFF = 19,
674
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_ON = 20,
675
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TEN_OFF = 21,
676
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_ON = 22,
677
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_ELEVEN_OFF = 23,
678
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_ON = 24,
679
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWELVE_OFF = 25,
680
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_ON = 26,
681
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_THIRTEEN_OFF = 27,
682
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_ON = 28,
683
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FOURTEEN_OFF = 29,
684
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_ON = 30,
685
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_FIFTEEN_OFF = 31,
686
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_ON = 32,
687
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SIXTEEN_OFF = 33,
688
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_ON = 34,
689
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_SEVENTEEN_OFF = 35,
690
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_ON = 36,
691
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_EIGHTEEN_OFF = 37,
692
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_ON = 38,
693
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_NINETEEN_OFF = 39,
694
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_ON = 40,
695
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_STYLISTIC_ALT_TWENTY_OFF = 41,
696
+
697
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CONTEXTUAL_ALTERNATIVES */
698
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_ON = 0,
699
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_ALTERNATES_OFF = 1,
700
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_ON = 2,
701
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_SWASH_ALTERNATES_OFF = 3,
702
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_ON = 4,
703
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_CONTEXTUAL_SWASH_ALTERNATES_OFF= 5,
704
+
705
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE */
706
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_LOWER_CASE = 0,
707
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS = 1,
708
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_PETITE_CAPS = 2,
709
+
710
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_UPPER_CASE */
711
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_UPPER_CASE = 0,
712
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_SMALL_CAPS = 1,
713
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_UPPER_CASE_PETITE_CAPS = 2,
714
+
715
+ /* Selectors for #HB_AAT_LAYOUT_FEATURE_TYPE_CJK_ROMAN_SPACING_TYPE */
716
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_HALF_WIDTH_CJK_ROMAN = 0,
717
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_PROPORTIONAL_CJK_ROMAN = 1,
718
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_DEFAULT_CJK_ROMAN = 2,
719
+ HB_AAT_LAYOUT_FEATURE_SELECTOR_FULL_WIDTH_CJK_ROMAN = 3,
720
+
721
+ /*< private >*/
722
+ _HB_AAT_LAYOUT_FEATURE_SELECTOR_MAX_VALUE = HB_TAG_MAX_SIGNED /*< skip >*/
723
+ } hb_aat_layout_feature_selector_t;
724
+
725
+ HB_EXTERN unsigned int
726
+ hb_aat_layout_get_feature_types (hb_face_t *face,
727
+ unsigned int start_offset,
728
+ unsigned int *feature_count, /* IN/OUT. May be NULL. */
729
+ hb_aat_layout_feature_type_t *features /* OUT. May be NULL. */);
730
+
731
+ HB_EXTERN hb_ot_name_id_t
732
+ hb_aat_layout_feature_type_get_name_id (hb_face_t *face,
733
+ hb_aat_layout_feature_type_t feature_type);
734
+
735
+ /**
736
+ * hb_aat_layout_feature_selector_info_t:
737
+ * @name_id: The selector's name identifier
738
+ * @enable: The value to turn the selector on
739
+ * @disable: The value to turn the selector off
740
+ *
741
+ * Structure representing a setting for an #hb_aat_layout_feature_type_t.
742
+ */
743
+ typedef struct hb_aat_layout_feature_selector_info_t {
744
+ hb_ot_name_id_t name_id;
745
+ hb_aat_layout_feature_selector_t enable;
746
+ hb_aat_layout_feature_selector_t disable;
747
+ /*< private >*/
748
+ unsigned int reserved;
749
+ } hb_aat_layout_feature_selector_info_t;
750
+
751
+ /**
752
+ * HB_AAT_LAYOUT_NO_SELECTOR_INDEX
753
+ *
754
+ * Used when getting or setting AAT feature selectors. Indicates that
755
+ * there is no selector index corresponding to the selector of interest.
756
+ *
757
+ */
758
+ #define HB_AAT_LAYOUT_NO_SELECTOR_INDEX 0xFFFFu
759
+
760
+ HB_EXTERN unsigned int
761
+ hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face,
762
+ hb_aat_layout_feature_type_t feature_type,
763
+ unsigned int start_offset,
764
+ unsigned int *selector_count, /* IN/OUT. May be NULL. */
765
+ hb_aat_layout_feature_selector_info_t *selectors, /* OUT. May be NULL. */
766
+ unsigned int *default_index /* OUT. May be NULL. */);
767
+
768
+
769
+ /*
770
+ * morx/mort
771
+ */
772
+
773
+ HB_EXTERN hb_bool_t
774
+ hb_aat_layout_has_substitution (hb_face_t *face);
775
+
776
+
777
+ /*
778
+ * kerx
779
+ */
780
+
781
+ HB_EXTERN hb_bool_t
782
+ hb_aat_layout_has_positioning (hb_face_t *face);
783
+
784
+
785
+ /*
786
+ * trak
787
+ */
788
+
789
+ HB_EXTERN hb_bool_t
790
+ hb_aat_layout_has_tracking (hb_face_t *face);
791
+
792
+
793
+ HB_END_DECLS
794
+
795
+ #endif /* HB_AAT_LAYOUT_H */