2 |
7u83 |
1 |
/*
|
|
|
2 |
COPYRIGHT NOTICE
|
|
|
3 |
|
|
|
4 |
This program is the proprietary property of IXI Ltd, a subsidiary
|
|
|
5 |
of the Santa Cruz Operation (SCO). Use, reproduction, production
|
|
|
6 |
of amended versions and/or transfer of this program is permitted
|
|
|
7 |
PROVIDED THAT:
|
|
|
8 |
|
|
|
9 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
10 |
version.
|
|
|
11 |
|
|
|
12 |
(b) Any recipient of such reproduction or amended version accept
|
|
|
13 |
the conditions set out in this legend.
|
|
|
14 |
|
|
|
15 |
IXI accepts no liability whatsoever in relation to any use to
|
|
|
16 |
which this program may be put and gives no warranty as to the
|
|
|
17 |
program's suitability for any purpose.
|
|
|
18 |
|
|
|
19 |
All rights reserved.
|
|
|
20 |
|
|
|
21 |
Copyright (c) 1995, 1996
|
|
|
22 |
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
/* SCO CID (IXI) FormP.h,v 1.1 1996/08/08 14:12:51 wendland Exp */
|
|
|
27 |
|
|
|
28 |
%%
|
|
|
29 |
#ifndef __MOTIF_P_HEADERS
|
|
|
30 |
#error Unexpected access to Motif P headers
|
|
|
31 |
#endif
|
|
|
32 |
%%
|
|
|
33 |
|
|
|
34 |
+USE "motif/1_2", "Xm/BulletinBP.h";
|
|
|
35 |
+USE "motif/1_2", "Xm/Form.h";
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
+CONST int SORTED_LEFT_TO_RIGHT;
|
|
|
39 |
+CONST int SORTED_TOP_TO_BOTTOM;
|
|
|
40 |
+CONST int DONT_USE_BOTTOM;
|
|
|
41 |
+CONST int DONT_USE_RIGHT;
|
|
|
42 |
+CONST int WIDGET_DONT_USE_BOTTOM;
|
|
|
43 |
+CONST int WIDGET_DONT_USE_RIGHT;
|
|
|
44 |
+CONST int LEFT_NOT_MOVABLE;
|
|
|
45 |
+CONST int RIGHT_NOT_MOVABLE;
|
|
|
46 |
+CONST int TOP_NOT_MOVABLE;
|
|
|
47 |
+CONST int BOTTOM_NOT_MOVABLE;
|
|
|
48 |
+CONST int NOT_MOVABLE_RIGHT;
|
|
|
49 |
+CONST int NOT_MOVABLE_DOWN;
|
|
|
50 |
+CONST int DONT_ATTEMPT_MOVE_RIGHT;
|
|
|
51 |
+CONST int DONT_ATTEMPT_MOVE_DOWN;
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
+FIELD (struct) _XmFormAttachmentRec := {
|
|
|
55 |
|
|
|
56 |
unsigned char type;
|
|
|
57 |
Widget w;
|
|
|
58 |
int percent;
|
|
|
59 |
int offset;
|
|
|
60 |
int value;
|
|
|
61 |
int tempValue;
|
|
|
62 |
};
|
|
|
63 |
|
|
|
64 |
+TYPEDEF _XmFormAttachmentRec XmFormAttachmentRec;
|
|
|
65 |
+TYPEDEF _XmFormAttachmentRec *XmFormAttachment;
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
+FIELD (struct) _XmFormConstraintPart := {
|
|
|
69 |
|
|
|
70 |
XmFormAttachmentRec att[4];
|
|
|
71 |
Widget next_siblings[2];
|
|
|
72 |
int flags;
|
|
|
73 |
XtWidgetGeometry geom;
|
|
|
74 |
Boolean resizable;
|
|
|
75 |
Widget next_sibling;
|
|
|
76 |
Boolean sorted;
|
|
|
77 |
Dimension preferred_width;
|
|
|
78 |
Dimension preferred_height;
|
|
|
79 |
};
|
|
|
80 |
|
|
|
81 |
+TYPEDEF _XmFormConstraintPart XmFormConstraintPart;
|
|
|
82 |
+TYPEDEF _XmFormConstraintPart * XmFormConstraint;
|
|
|
83 |
|
|
|
84 |
+FIELD (struct) _XmFormConstraintRec {
|
|
|
85 |
|
|
|
86 |
XmManagerConstraintPart manager;
|
|
|
87 |
XmFormConstraintPart form;
|
|
|
88 |
};
|
|
|
89 |
|
|
|
90 |
+TYPEDEF _XmFormConstraintRec XmFormConstraintRec;
|
|
|
91 |
+TYPEDEF _XmFormConstraintRec * XmFormConstraintPtr;
|
|
|
92 |
|
|
|
93 |
+FIELD (struct) _XmFormClassPart := {
|
|
|
94 |
|
|
|
95 |
XtPointer extension;
|
|
|
96 |
};
|
|
|
97 |
|
|
|
98 |
+TYPEDEF _XmFormClassPart XmFormClassPart;
|
|
|
99 |
|
|
|
100 |
+FIELD ( struct ) _XmFormClassRec := {
|
|
|
101 |
|
|
|
102 |
CoreClassPart core_class;
|
|
|
103 |
CompositeClassPart composite_class;
|
|
|
104 |
ConstraintClassPart constraint_class;
|
|
|
105 |
XmManagerClassPart manager_class;
|
|
|
106 |
XmBulletinBoardClassPart bulletin_board_class;
|
|
|
107 |
XmFormClassPart form_class;
|
|
|
108 |
};
|
|
|
109 |
|
|
|
110 |
+TYPEDEF _XmFormClassRec XmFormClassRec;
|
|
|
111 |
|
|
|
112 |
+EXP lvalue XmFormClassRec xmFormClassRec;
|
|
|
113 |
|
|
|
114 |
+FIELD ( struct ) _XmFormPart := {
|
|
|
115 |
|
|
|
116 |
Dimension horizontal_spacing;
|
|
|
117 |
Dimension vertical_spacing;
|
|
|
118 |
int fraction_base;
|
|
|
119 |
Boolean rubber_positioning;
|
|
|
120 |
Boolean need_sorting;
|
|
|
121 |
Widget sorted_children[2];
|
|
|
122 |
Widget first_child;
|
|
|
123 |
Boolean initial_width;
|
|
|
124 |
Boolean initial_height;
|
|
|
125 |
Boolean processing_constraints;
|
|
|
126 |
};
|
|
|
127 |
|
|
|
128 |
+TYPEDEF _XmFormPart XmFormPart;
|
|
|
129 |
|
|
|
130 |
+FIELD ( struct ) _XmFormRec := {
|
|
|
131 |
CorePart core;
|
|
|
132 |
CompositePart composite;
|
|
|
133 |
ConstraintPart constraint;
|
|
|
134 |
XmManagerPart manager;
|
|
|
135 |
XmBulletinBoardPart bulletin_board;
|
|
|
136 |
XmFormPart form;
|
|
|
137 |
};
|
|
|
138 |
|
|
|
139 |
+TYPEDEF _XmFormRec XmFormRec;
|
|
|
140 |
|
|
|
141 |
+FIELD (struct) XmFormDelayedConversionRec := {
|
|
|
142 |
|
|
|
143 |
unsigned int magic;
|
|
|
144 |
String name;
|
|
|
145 |
};
|
|
|
146 |
|
|
|
147 |
+TYPEDEF XmFormDelayedConversionRec *XmFormDelayedConversion;
|
|
|
148 |
|
|
|
149 |
+CONST unsigned long FORM_MAGIC;
|
|
|
150 |
+MACRO Boolean XmFormIsDelayedConversion(XmFormDelayedConversion);
|
|
|
151 |
|