Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/UxForm.h

raw
1 /* @(#)UxForm.h 17.1 (ESO-IPG) 01/25/02 17:25:59 */
2 #ifndef UXForm_INCLUDED
3 #define UXForm_INCLUDED
4
5 #include "Xm/Form.h"
6
7 #ifdef DESIGN_TIME
8 #include "UxBboard.h"
9
10 #ifndef UxGetTopWidget
11 extern binptr UxP_FormRD_topWidget;
12 #define UxGetTopWidget(sw) \
13 UxGET_string(sw,UxP_FormRD_topWidget,"topWidget")
14 #define UxPutTopWidget(sw,val) \
15 UxPUT_string(sw,UxP_FormRD_topWidget,"topWidget",val)
16 #endif
17
18 #ifndef UxGetTopPosition
19 extern binptr UxP_FormRD_topPosition;
20 #define UxGetTopPosition(sw) \
21 UxGET_int(sw,UxP_FormRD_topPosition,"topPosition")
22 #define UxPutTopPosition(sw,val) \
23 UxPUT_int(sw,UxP_FormRD_topPosition,"topPosition",val)
24 #endif
25
26 #ifndef UxGetTopOffset
27 extern binptr UxP_FormRD_topOffset;
28 #define UxGetTopOffset(sw) \
29 UxGET_int(sw,UxP_FormRD_topOffset,"topOffset")
30 #define UxPutTopOffset(sw,val) \
31 UxPUT_int(sw,UxP_FormRD_topOffset,"topOffset",val)
32 #endif
33
34 #ifndef UxGetTopAttachment
35 extern binptr UxP_FormRD_topAttachment;
36 #define UxGetTopAttachment(sw) \
37 UxGET_string(sw,UxP_FormRD_topAttachment,"topAttachment")
38 #define UxPutTopAttachment(sw,val) \
39 UxPUT_string(sw,UxP_FormRD_topAttachment,"topAttachment",val)
40 #endif
41
42 #ifndef UxGetRightWidget
43 extern binptr UxP_FormRD_rightWidget;
44 #define UxGetRightWidget(sw) \
45 UxGET_string(sw,UxP_FormRD_rightWidget,"rightWidget")
46 #define UxPutRightWidget(sw,val) \
47 UxPUT_string(sw,UxP_FormRD_rightWidget,"rightWidget",val)
48 #endif
49
50 #ifndef UxGetRightPosition
51 extern binptr UxP_FormRD_rightPosition;
52 #define UxGetRightPosition(sw) \
53 UxGET_int(sw,UxP_FormRD_rightPosition,"rightPosition")
54 #define UxPutRightPosition(sw,val) \
55 UxPUT_int(sw,UxP_FormRD_rightPosition,"rightPosition",val)
56 #endif
57
58 #ifndef UxGetRightOffset
59 extern binptr UxP_FormRD_rightOffset;
60 #define UxGetRightOffset(sw) \
61 UxGET_int(sw,UxP_FormRD_rightOffset,"rightOffset")
62 #define UxPutRightOffset(sw,val) \
63 UxPUT_int(sw,UxP_FormRD_rightOffset,"rightOffset",val)
64 #endif
65
66 #ifndef UxGetRightAttachment
67 extern binptr UxP_FormRD_rightAttachment;
68 #define UxGetRightAttachment(sw) \
69 UxGET_string(sw,UxP_FormRD_rightAttachment,"rightAttachment")
70 #define UxPutRightAttachment(sw,val) \
71 UxPUT_string(sw,UxP_FormRD_rightAttachment,"rightAttachment",val)
72 #endif
73
74 #ifndef UxGetResizable
75 extern binptr UxP_FormRD_resizable;
76 #define UxGetResizable(sw) \
77 UxGET_string(sw,UxP_FormRD_resizable,"resizable")
78 #define UxPutResizable(sw,val) \
79 UxPUT_string(sw,UxP_FormRD_resizable,"resizable",val)
80 #endif
81
82 #ifndef UxGetLeftWidget
83 extern binptr UxP_FormRD_leftWidget;
84 #define UxGetLeftWidget(sw) \
85 UxGET_string(sw,UxP_FormRD_leftWidget,"leftWidget")
86 #define UxPutLeftWidget(sw,val) \
87 UxPUT_string(sw,UxP_FormRD_leftWidget,"leftWidget",val)
88 #endif
89
90 #ifndef UxGetLeftPosition
91 extern binptr UxP_FormRD_leftPosition;
92 #define UxGetLeftPosition(sw) \
93 UxGET_int(sw,UxP_FormRD_leftPosition,"leftPosition")
94 #define UxPutLeftPosition(sw,val) \
95 UxPUT_int(sw,UxP_FormRD_leftPosition,"leftPosition",val)
96 #endif
97
98 #ifndef UxGetLeftOffset
99 extern binptr UxP_FormRD_leftOffset;
100 #define UxGetLeftOffset(sw) \
101 UxGET_int(sw,UxP_FormRD_leftOffset,"leftOffset")
102 #define UxPutLeftOffset(sw,val) \
103 UxPUT_int(sw,UxP_FormRD_leftOffset,"leftOffset",val)
104 #endif
105
106 #ifndef UxGetLeftAttachment
107 extern binptr UxP_FormRD_leftAttachment;
108 #define UxGetLeftAttachment(sw) \
109 UxGET_string(sw,UxP_FormRD_leftAttachment,"leftAttachment")
110 #define UxPutLeftAttachment(sw,val) \
111 UxPUT_string(sw,UxP_FormRD_leftAttachment,"leftAttachment",val)
112 #endif
113
114 #ifndef UxGetBottomWidget
115 extern binptr UxP_FormRD_bottomWidget;
116 #define UxGetBottomWidget(sw) \
117 UxGET_string(sw,UxP_FormRD_bottomWidget,"bottomWidget")
118 #define UxPutBottomWidget(sw,val) \
119 UxPUT_string(sw,UxP_FormRD_bottomWidget,"bottomWidget",val)
120 #endif
121
122 #ifndef UxGetBottomPosition
123 extern binptr UxP_FormRD_bottomPosition;
124 #define UxGetBottomPosition(sw) \
125 UxGET_int(sw,UxP_FormRD_bottomPosition,"bottomPosition")
126 #define UxPutBottomPosition(sw,val) \
127 UxPUT_int(sw,UxP_FormRD_bottomPosition,"bottomPosition",val)
128 #endif
129
130 #ifndef UxGetBottomOffset
131 extern binptr UxP_FormRD_bottomOffset;
132 #define UxGetBottomOffset(sw) \
133 UxGET_int(sw,UxP_FormRD_bottomOffset,"bottomOffset")
134 #define UxPutBottomOffset(sw,val) \
135 UxPUT_int(sw,UxP_FormRD_bottomOffset,"bottomOffset",val)
136 #endif
137
138 #ifndef UxGetBottomAttachment
139 extern binptr UxP_FormRD_bottomAttachment;
140 #define UxGetBottomAttachment(sw) \
141 UxGET_string(sw,UxP_FormRD_bottomAttachment,"bottomAttachment")
142 #define UxPutBottomAttachment(sw,val) \
143 UxPUT_string(sw,UxP_FormRD_bottomAttachment,"bottomAttachment",val)
144 #endif
145
146 #ifndef UxGetVerticalSpacing
147 extern binptr UxP_FormRD_verticalSpacing;
148 #define UxGetVerticalSpacing(sw) \
149 UxGET_int(sw,UxP_FormRD_verticalSpacing,"verticalSpacing")
150 #define UxPutVerticalSpacing(sw,val) \
151 UxPUT_int(sw,UxP_FormRD_verticalSpacing,"verticalSpacing",val)
152 #endif
153
154 #ifndef UxGetRubberPositioning
155 extern binptr UxP_FormRD_rubberPositioning;
156 #define UxGetRubberPositioning(sw) \
157 UxGET_string(sw,UxP_FormRD_rubberPositioning,"rubberPositioning")
158 #define UxPutRubberPositioning(sw,val) \
159 UxPUT_string(sw,UxP_FormRD_rubberPositioning,"rubberPositioning",val)
160 #endif
161
162 #ifndef UxGetHorizontalSpacing
163 extern binptr UxP_FormRD_horizontalSpacing;
164 #define UxGetHorizontalSpacing(sw) \
165 UxGET_int(sw,UxP_FormRD_horizontalSpacing,"horizontalSpacing")
166 #define UxPutHorizontalSpacing(sw,val) \
167 UxPUT_int(sw,UxP_FormRD_horizontalSpacing,"horizontalSpacing",val)
168 #endif
169
170 #ifndef UxGetFractionBase
171 extern binptr UxP_FormRD_fractionBase;
172 #define UxGetFractionBase(sw) \
173 UxGET_int(sw,UxP_FormRD_fractionBase,"fractionBase")
174 #define UxPutFractionBase(sw,val) \
175 UxPUT_int(sw,UxP_FormRD_fractionBase,"fractionBase",val)
176 #endif
177
178 extern Class_t UxC_form;
179 #define UxCreateForm(name,parent) \
180 UxCreateSwidget(UxC_form,name,parent)
181 #else
182 #define UxCreateForm(name,parent) \
183 UxCreateSwidget(name,xmFormWidgetClass,parent)
184 #endif
185 #endif