diff options
Diffstat (limited to 'meta/packages/xorg-lib/xorg-headers-native/X11/EventI.h')
-rw-r--r-- | meta/packages/xorg-lib/xorg-headers-native/X11/EventI.h | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/xorg-headers-native/X11/EventI.h b/meta/packages/xorg-lib/xorg-headers-native/X11/EventI.h new file mode 100644 index 0000000000..00858e71ea --- /dev/null +++ b/meta/packages/xorg-lib/xorg-headers-native/X11/EventI.h | |||
@@ -0,0 +1,134 @@ | |||
1 | /* $Xorg: EventI.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */ | ||
2 | /* $oHeader: EventI.h,v 1.3 88/08/24 09:21:11 asente Exp $ */ | ||
3 | |||
4 | /*********************************************************** | ||
5 | |||
6 | Copyright 1987, 1988, 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, 1988 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 | /* $XFree86: xc/lib/Xt/EventI.h,v 1.3 2001/12/14 19:56:12 dawes Exp $ */ | ||
51 | |||
52 | /* | ||
53 | * Event.h - exported types and functions for toolkit event handler | ||
54 | * | ||
55 | * Author: Charles Haynes | ||
56 | * Digital Equipment Corporation | ||
57 | * Western Software Laboratory | ||
58 | * Date: Sun Dec 6 1987 | ||
59 | */ | ||
60 | |||
61 | #ifndef _Event_h_ | ||
62 | #define _Event_h_ | ||
63 | |||
64 | typedef struct _XtGrabRec *XtGrabList; | ||
65 | |||
66 | #include "PassivGraI.h" | ||
67 | |||
68 | extern void _XtEventInitialize( | ||
69 | void | ||
70 | ); | ||
71 | |||
72 | typedef struct _XtEventRec { | ||
73 | XtEventTable next; | ||
74 | EventMask mask; /* also select_data count for RecExt */ | ||
75 | XtEventHandler proc; | ||
76 | XtPointer closure; | ||
77 | unsigned int select:1; | ||
78 | unsigned int has_type_specifier:1; | ||
79 | unsigned int async:1; /* not used, here for Digital extension? */ | ||
80 | } XtEventRec; | ||
81 | |||
82 | typedef struct _XtGrabRec { | ||
83 | XtGrabList next; | ||
84 | Widget widget; | ||
85 | unsigned int exclusive:1; | ||
86 | unsigned int spring_loaded:1; | ||
87 | }XtGrabRec; | ||
88 | |||
89 | typedef struct _BlockHookRec { | ||
90 | struct _BlockHookRec* next; | ||
91 | XtAppContext app; | ||
92 | XtBlockHookProc proc; | ||
93 | XtPointer closure; | ||
94 | } BlockHookRec, *BlockHook; | ||
95 | |||
96 | extern void _XtFreeEventTable( | ||
97 | XtEventTable* /* event_table */ | ||
98 | ); | ||
99 | |||
100 | extern Boolean _XtOnGrabList( | ||
101 | Widget /* widget */, | ||
102 | XtGrabRec* /* grabList */ | ||
103 | ); | ||
104 | |||
105 | extern void _XtRemoveAllInputs( | ||
106 | XtAppContext /* app */ | ||
107 | ); | ||
108 | |||
109 | extern void _XtRefreshMapping( | ||
110 | XEvent* /* event */, | ||
111 | _XtBoolean /* dispatch */ | ||
112 | ); | ||
113 | |||
114 | extern void _XtSendFocusEvent( | ||
115 | Widget /* child */, | ||
116 | int /* type */); | ||
117 | |||
118 | extern EventMask _XtConvertTypeToMask( | ||
119 | int /* eventType */ | ||
120 | ); | ||
121 | |||
122 | /* EventUtil.c */ | ||
123 | extern Widget _XtFindRemapWidget(XEvent *event, Widget widget, | ||
124 | EventMask mask, XtPerDisplayInput pdi); | ||
125 | extern void _XtUngrabBadGrabs(XEvent *event, Widget widget, | ||
126 | EventMask mask, XtPerDisplayInput pdi); | ||
127 | extern void _XtFillAncestorList(Widget **listPtr, int *maxElemsPtr, | ||
128 | int *numElemsPtr, Widget start, | ||
129 | Widget breakWidget); | ||
130 | |||
131 | /* NextEvent.c */ | ||
132 | extern Boolean XtAppPeekEvent_SkipTimer; | ||
133 | |||
134 | #endif /* _Event_h_ */ | ||