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/Intrinsic.h" ;
|
|
|
35 |
+USE "x5/t", "X11/IntrinsicP.h", "intrinsix" ;
|
|
|
36 |
+USE "x5/t", "X11/Core.h" ;
|
|
|
37 |
|
|
|
38 |
# Definition of CoreClassPart (1.4.1.1)
|
|
|
39 |
|
|
|
40 |
+FIELD ( struct ) CoreClassPart := {
|
|
|
41 |
WidgetClass superclass ;
|
|
|
42 |
String class_name ;
|
|
|
43 |
Cardinal widget_size ;
|
|
|
44 |
XtProc class_initialize ;
|
|
|
45 |
XtWidgetClassProc class_part_initialize ;
|
|
|
46 |
XtEnum class_inited ;
|
|
|
47 |
XtInitProc initialize ;
|
|
|
48 |
XtArgsProc initialize_hook ;
|
|
|
49 |
XtRealizeProc realize ;
|
|
|
50 |
XtActionList actions ;
|
|
|
51 |
Cardinal num_actions ;
|
|
|
52 |
XtResourceList resources ;
|
|
|
53 |
Cardinal num_resources ;
|
|
|
54 |
XrmClass xrm_class ;
|
|
|
55 |
Boolean compress_motion ;
|
|
|
56 |
XtEnum compress_exposure ;
|
|
|
57 |
Boolean compress_enterleave ;
|
|
|
58 |
Boolean visible_interest ;
|
|
|
59 |
XtWidgetProc destroy ;
|
|
|
60 |
XtWidgetProc resize ;
|
|
|
61 |
XtExposeProc expose ;
|
|
|
62 |
XtSetValuesFunc set_values ;
|
|
|
63 |
XtArgsFunc set_values_hook ;
|
|
|
64 |
XtAlmostProc set_values_almost ;
|
|
|
65 |
XtArgsProc get_values_hook ;
|
|
|
66 |
XtAcceptFocusProc accept_focus ;
|
|
|
67 |
XtVersionType version ;
|
|
|
68 |
XtPointer callback_private ;
|
|
|
69 |
String tm_table ;
|
|
|
70 |
XtGeometryHandler query_geometry ;
|
|
|
71 |
XtStringProc display_accelerator ;
|
|
|
72 |
XtPointer extension ;
|
|
|
73 |
} ;
|
|
|
74 |
|
|
|
75 |
+FIELD CoreClassRec := {
|
|
|
76 |
CoreClassPart core_class ;
|
|
|
77 |
} ;
|
|
|
78 |
|
|
|
79 |
+EXP lvalue CoreClassRec coreClassRec ;
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
# Definition of CorePart Structure (1.4.1.2)
|
|
|
83 |
|
|
|
84 |
+FIELD ( struct ) CorePart {
|
|
|
85 |
Widget self ;
|
|
|
86 |
WidgetClass widget_class ;
|
|
|
87 |
Widget parent ;
|
|
|
88 |
Boolean being_destroyed ;
|
|
|
89 |
XtCallbackList destroy_callbacks ;
|
|
|
90 |
XtPointer constraints ;
|
|
|
91 |
Position x, y ;
|
|
|
92 |
Dimension width, height ;
|
|
|
93 |
Dimension border_width ;
|
|
|
94 |
Boolean managed ;
|
|
|
95 |
Boolean sensitive ;
|
|
|
96 |
Boolean ancestor_sensitive ;
|
|
|
97 |
XtTranslations accelerators ;
|
|
|
98 |
Pixel border_pixel ;
|
|
|
99 |
Pixmap border_pixmap ;
|
|
|
100 |
WidgetList popup_list ;
|
|
|
101 |
Cardinal num_popups ;
|
|
|
102 |
String name ;
|
|
|
103 |
Screen *screen ;
|
|
|
104 |
Colormap colormap ;
|
|
|
105 |
Window window ;
|
|
|
106 |
Cardinal depth ;
|
|
|
107 |
Pixel background_pixel ;
|
|
|
108 |
Pixmap background_pixmap ;
|
|
|
109 |
Boolean visible ;
|
|
|
110 |
Boolean mapped_when_managed ;
|
|
|
111 |
} ;
|
|
|
112 |
|
|
|
113 |
+FIELD CoreRec := {
|
|
|
114 |
CorePart core ;
|
|
|
115 |
} ;
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
# Inheritance of Superclass Operations (1.6.10)
|
|
|
119 |
|
|
|
120 |
+EXP String XtInheritTranslations ;
|
|
|
121 |
+EXP XtRealizeProc XtInheritRealize ;
|
|
|
122 |
+EXP XtWidgetProc XtInheritResize ;
|
|
|
123 |
+EXP XtExposeProc XtInheritExpose ;
|
|
|
124 |
+EXP XtAlmostProc XtInheritSetValuesAlmost ;
|
|
|
125 |
+EXP XtAcceptFocusProc XtInheritAcceptFocus ;
|
|
|
126 |
+EXP XtGeometryHandler XtInheritQueryGeometry ;
|
|
|
127 |
+EXP XtStringProc XtInheritDisplayAccelerator ;
|