Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
%%
29
#ifndef __X11_P_HEADERS
30
#error Unauthorized access to X11 P headers
31
#endif
32
%%
33
 
34
+USE "x5/t", "X11/Shell.h" ;
35
+USE "x5/t", "X11/IntrinsicP.h" ;
36
 
37
 
38
# ShellClassPart Definition (4.1.1)
39
 
40
+FIELD ( struct ) ShellClassPart := { XtPointer extension ; } ;
41
+FIELD ( struct ) OverrideShellClassPart := { XtPointer extension ; } ;
42
+FIELD ( struct ) WMShellClassPart := { XtPointer extension ; } ;
43
+FIELD ( struct ) VendorShellClassPart := { XtPointer extension ; } ;
44
+FIELD ( struct ) TransientShellClassPart := { XtPointer extension ; } ;
45
+FIELD ( struct ) TopLevelShellClassPart := { XtPointer extension ; } ;
46
+FIELD ( struct ) ApplicationShellClassPart := { XtPointer extension ; } ;
47
 
48
+FIELD ShellClassRec := {
49
    CoreClassPart core_class ;
50
    CompositeClassPart composite_class ;
51
    ShellClassPart shell_class ;
52
} ;
53
 
54
+FIELD ( struct ) ShellClassExtensionRec := {
55
    XtPointer next_extension ;
56
    XrmQuark record_type ;
57
    long version ;
58
    Cardinal record_size ;
59
    XtGeometryHandler root_geometry_manager ;
60
} ;
61
 
62
+TYPEDEF ShellClassExtensionRec *ShellClassExtension ;
63
+CONST long XtShellExtensionVersion ;
64
 
65
+FIELD OverrideShellClassRec := {
66
    CoreClassPart core_class ;
67
    CompositeClassPart composite_class ;
68
    ShellClassPart shell_class ;
69
    OverrideShellClassPart override_shell_class ;
70
} ;
71
 
72
+FIELD WMShellClassRec := {
73
    CoreClassPart core_class ;
74
    CompositeClassPart composite_class ;
75
    ShellClassPart shell_class ;
76
    WMShellClassPart wm_shell_class ;
77
} ;
78
 
79
+FIELD VendorShellClassRec := {
80
    CoreClassPart core_class ;
81
    CompositeClassPart composite_class ;
82
    ShellClassPart shell_class ;
83
    WMShellClassPart wm_shell_class ;
84
    VendorShellClassPart vendor_shell_class ;
85
} ;
86
 
87
+FIELD TransientShellClassRec := {
88
    CoreClassPart core_class ;
89
    CompositeClassPart composite_class ;
90
    ShellClassPart shell_class ;
91
    WMShellClassPart wm_shell_class ;
92
    VendorShellClassPart vendor_shell_class ;
93
    TransientShellClassPart transient_shell_class ;
94
} ;
95
 
96
+FIELD TopLevelShellClassRec := {
97
    CoreClassPart core_class ;
98
    CompositeClassPart composite_class ;
99
    ShellClassPart shell_class ;
100
    WMShellClassPart wm_shell_class ;
101
    VendorShellClassPart vendor_shell_class ;
102
    TopLevelShellClassPart top_level_shell_class ;
103
} ;
104
 
105
+FIELD ApplicationShellClassRec := {
106
    CoreClassPart core_class ;
107
    CompositeClassPart composite_class ;
108
    ShellClassPart shell_class ;
109
    WMShellClassPart wm_shell_class ;
110
    VendorShellClassPart vendor_shell_class ;
111
    TopLevelShellClassPart top_level_shell_class ;
112
    ApplicationShellClassPart application_shell_class ;
113
} ;
114
 
115
+EXP lvalue ShellClassRec shellClassRec ;
116
+EXP lvalue OverrideShellClassRec overrideShellClassRec ;
117
+EXP lvalue WMShellClassRec wmShellClassRec ;
118
+EXP lvalue VendorShellClassRec vendorShellClassRec ;
119
+EXP lvalue TransientShellClassRec transientShellClassRec ;
120
+EXP lvalue TopLevelShellClassRec topLevelShellClassRec ;
121
+EXP lvalue ApplicationShellClassRec applicationShellClassRec ;
122
 
123
 
124
# ShellPart Definition (4.1.2)
125
 
126
+FIELD ( struct ) ShellPart {
127
    String geometry ;
128
    XtCreatePopupChildProc create_popup_child_proc ;
129
    XtGrabKind grab_kind ;
130
    Boolean spring_loaded ;
131
    Boolean popped_up ;
132
    Boolean allow_shell_resize ;
133
    Boolean client_specified ;
134
    Boolean save_under ;
135
    Boolean override_redirect ;
136
    XtCallbackList popup_callback ;
137
    XtCallbackList popdown_callback ;
138
    Visual *visual ;
139
} ;
140
 
141
+TYPE ( struct ) OverrideShellPart ;
142
+IF 0
143
+FIELD OverrideShellPart {
144
    int empty ;
145
} ;
146
+ENDIF
147
 
148
+FIELD struct ~OldXSizeHintsAspect := {
149
    int x ;
150
    int y ;
151
} ;
152
 
153
+FIELD struct _OldXSizeHints := {
154
    long flags ;
155
    int x, y ;
156
    int width, height ;
157
    int min_width, min_height ;
158
    int max_width, max_height ;
159
    int width_inc, height_inc ;
160
    struct ~OldXSizeHintsAspect min_aspect, max_aspect ;
161
    XWMHints wm_hints ;
162
    int base_width, base_height, win_gravity ;
163
    Atom title_encoding ;
164
} ;
165
 
166
+FIELD ( struct ) WMShellPart {
167
    String title ;
168
    int wm_timeout ;
169
    Boolean wait_for_wm ;
170
    Boolean transient ;
171
    struct _OldXSizeHints size_hints ;
172
    XWMHints wm_hints ;
173
    int base_width, base_height, win_gravity ;
174
    Atom title_encoding ;
175
} ;
176
 
177
+FIELD ( struct ) VendorShellPart {
178
    int vendor_specific ;
179
} ;
180
 
181
+FIELD ( struct ) TransientShellPart {
182
    Widget transient_for ;
183
} ;
184
 
185
+FIELD ( struct ) TopLevelShellPart {
186
    String icon_name ;
187
    Boolean iconic ;
188
    Atom icon_name_encoding ;
189
} ;
190
 
191
+FIELD ( struct ) ApplicationShellPart {
192
    char *class ;
193
    XrmClass xrm_class ;
194
    int argc ;
195
    char **argv ;
196
} ;
197
 
198
+FIELD ShellRec := {
199
    CorePart core ;
200
    CompositePart composite ;
201
    ShellPart shell ;
202
} ;
203
 
204
+FIELD OverrideShellRec := {
205
    CorePart core ;
206
    CompositePart composite ;
207
    ShellPart shell ;
208
    OverrideShellPart override ;
209
} ;
210
 
211
+FIELD WMShellRec := {
212
    CorePart core ;
213
    CompositePart composite ;
214
    ShellPart shell ;
215
    WMShellPart wm ;
216
} ;
217
 
218
+FIELD VendorShellRec := {
219
    CorePart core ;
220
    CompositePart composite ;
221
    ShellPart shell ;
222
    WMShellPart wm ;
223
    VendorShellPart vendor ;
224
} ;
225
 
226
+FIELD TransientShellRec := {
227
    CorePart core ;
228
    CompositePart composite ;
229
    ShellPart shell ;
230
    WMShellPart wm ;
231
    VendorShellPart vendor ;
232
    TransientShellPart transient ;
233
} ;
234
 
235
+FIELD TopLevelShellRec := {
236
    CorePart core ;
237
    CompositePart composite ;
238
    ShellPart shell ;
239
    WMShellPart wm ;
240
    VendorShellPart vendor ;
241
    TopLevelShellPart topLevel ;
242
} ;
243
 
244
+FIELD ApplicationShellRec := {
245
    CorePart core ;
246
    CompositePart composite ;
247
    ShellPart shell ;
248
    WMShellPart wm ;
249
    VendorShellPart vendor ;
250
    TopLevelShellPart topLevel ;
251
    ApplicationShellPart application ;
252
} ;
253
 
254
 
255
# Inheritance of Superclass Operations (1.6.10)
256
 
257
+EXP XtGeometryHandler XtInheritRootGeometryManager ;