File: UxForm.h

package info (click to toggle)
eso-midas 13.09pl1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 147,516 kB
  • ctags: 57,237
  • sloc: ansic: 364,554; sh: 6,936; makefile: 6,194; pascal: 535; perl: 40; awk: 36; sed: 14
file content (185 lines) | stat: -rw-r--r-- 6,130 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* @(#)UxForm.h	17.1 (ESO-IPG) 01/25/02 17:25:59 */
#ifndef UXForm_INCLUDED
#define UXForm_INCLUDED

#include "Xm/Form.h"

#ifdef DESIGN_TIME
#include "UxBboard.h"

#ifndef UxGetTopWidget
extern binptr UxP_FormRD_topWidget;
#define UxGetTopWidget(sw) \
        UxGET_string(sw,UxP_FormRD_topWidget,"topWidget")
#define UxPutTopWidget(sw,val) \
        UxPUT_string(sw,UxP_FormRD_topWidget,"topWidget",val)
#endif

#ifndef UxGetTopPosition
extern binptr UxP_FormRD_topPosition;
#define UxGetTopPosition(sw) \
        UxGET_int(sw,UxP_FormRD_topPosition,"topPosition")
#define UxPutTopPosition(sw,val) \
        UxPUT_int(sw,UxP_FormRD_topPosition,"topPosition",val)
#endif

#ifndef UxGetTopOffset
extern binptr UxP_FormRD_topOffset;
#define UxGetTopOffset(sw) \
        UxGET_int(sw,UxP_FormRD_topOffset,"topOffset")
#define UxPutTopOffset(sw,val) \
        UxPUT_int(sw,UxP_FormRD_topOffset,"topOffset",val)
#endif

#ifndef UxGetTopAttachment
extern binptr UxP_FormRD_topAttachment;
#define UxGetTopAttachment(sw) \
        UxGET_string(sw,UxP_FormRD_topAttachment,"topAttachment")
#define UxPutTopAttachment(sw,val) \
        UxPUT_string(sw,UxP_FormRD_topAttachment,"topAttachment",val)
#endif

#ifndef UxGetRightWidget
extern binptr UxP_FormRD_rightWidget;
#define UxGetRightWidget(sw) \
        UxGET_string(sw,UxP_FormRD_rightWidget,"rightWidget")
#define UxPutRightWidget(sw,val) \
        UxPUT_string(sw,UxP_FormRD_rightWidget,"rightWidget",val)
#endif

#ifndef UxGetRightPosition
extern binptr UxP_FormRD_rightPosition;
#define UxGetRightPosition(sw) \
        UxGET_int(sw,UxP_FormRD_rightPosition,"rightPosition")
#define UxPutRightPosition(sw,val) \
        UxPUT_int(sw,UxP_FormRD_rightPosition,"rightPosition",val)
#endif

#ifndef UxGetRightOffset
extern binptr UxP_FormRD_rightOffset;
#define UxGetRightOffset(sw) \
        UxGET_int(sw,UxP_FormRD_rightOffset,"rightOffset")
#define UxPutRightOffset(sw,val) \
        UxPUT_int(sw,UxP_FormRD_rightOffset,"rightOffset",val)
#endif

#ifndef UxGetRightAttachment
extern binptr UxP_FormRD_rightAttachment;
#define UxGetRightAttachment(sw) \
        UxGET_string(sw,UxP_FormRD_rightAttachment,"rightAttachment")
#define UxPutRightAttachment(sw,val) \
        UxPUT_string(sw,UxP_FormRD_rightAttachment,"rightAttachment",val)
#endif

#ifndef UxGetResizable
extern binptr UxP_FormRD_resizable;
#define UxGetResizable(sw) \
        UxGET_string(sw,UxP_FormRD_resizable,"resizable")
#define UxPutResizable(sw,val) \
        UxPUT_string(sw,UxP_FormRD_resizable,"resizable",val)
#endif

#ifndef UxGetLeftWidget
extern binptr UxP_FormRD_leftWidget;
#define UxGetLeftWidget(sw) \
        UxGET_string(sw,UxP_FormRD_leftWidget,"leftWidget")
#define UxPutLeftWidget(sw,val) \
        UxPUT_string(sw,UxP_FormRD_leftWidget,"leftWidget",val)
#endif

#ifndef UxGetLeftPosition
extern binptr UxP_FormRD_leftPosition;
#define UxGetLeftPosition(sw) \
        UxGET_int(sw,UxP_FormRD_leftPosition,"leftPosition")
#define UxPutLeftPosition(sw,val) \
        UxPUT_int(sw,UxP_FormRD_leftPosition,"leftPosition",val)
#endif

#ifndef UxGetLeftOffset
extern binptr UxP_FormRD_leftOffset;
#define UxGetLeftOffset(sw) \
        UxGET_int(sw,UxP_FormRD_leftOffset,"leftOffset")
#define UxPutLeftOffset(sw,val) \
        UxPUT_int(sw,UxP_FormRD_leftOffset,"leftOffset",val)
#endif

#ifndef UxGetLeftAttachment
extern binptr UxP_FormRD_leftAttachment;
#define UxGetLeftAttachment(sw) \
        UxGET_string(sw,UxP_FormRD_leftAttachment,"leftAttachment")
#define UxPutLeftAttachment(sw,val) \
        UxPUT_string(sw,UxP_FormRD_leftAttachment,"leftAttachment",val)
#endif

#ifndef UxGetBottomWidget
extern binptr UxP_FormRD_bottomWidget;
#define UxGetBottomWidget(sw) \
        UxGET_string(sw,UxP_FormRD_bottomWidget,"bottomWidget")
#define UxPutBottomWidget(sw,val) \
        UxPUT_string(sw,UxP_FormRD_bottomWidget,"bottomWidget",val)
#endif

#ifndef UxGetBottomPosition
extern binptr UxP_FormRD_bottomPosition;
#define UxGetBottomPosition(sw) \
        UxGET_int(sw,UxP_FormRD_bottomPosition,"bottomPosition")
#define UxPutBottomPosition(sw,val) \
        UxPUT_int(sw,UxP_FormRD_bottomPosition,"bottomPosition",val)
#endif

#ifndef UxGetBottomOffset
extern binptr UxP_FormRD_bottomOffset;
#define UxGetBottomOffset(sw) \
        UxGET_int(sw,UxP_FormRD_bottomOffset,"bottomOffset")
#define UxPutBottomOffset(sw,val) \
        UxPUT_int(sw,UxP_FormRD_bottomOffset,"bottomOffset",val)
#endif

#ifndef UxGetBottomAttachment
extern binptr UxP_FormRD_bottomAttachment;
#define UxGetBottomAttachment(sw) \
        UxGET_string(sw,UxP_FormRD_bottomAttachment,"bottomAttachment")
#define UxPutBottomAttachment(sw,val) \
        UxPUT_string(sw,UxP_FormRD_bottomAttachment,"bottomAttachment",val)
#endif

#ifndef UxGetVerticalSpacing
extern binptr UxP_FormRD_verticalSpacing;
#define UxGetVerticalSpacing(sw) \
        UxGET_int(sw,UxP_FormRD_verticalSpacing,"verticalSpacing")
#define UxPutVerticalSpacing(sw,val) \
        UxPUT_int(sw,UxP_FormRD_verticalSpacing,"verticalSpacing",val)
#endif

#ifndef UxGetRubberPositioning
extern binptr UxP_FormRD_rubberPositioning;
#define UxGetRubberPositioning(sw) \
        UxGET_string(sw,UxP_FormRD_rubberPositioning,"rubberPositioning")
#define UxPutRubberPositioning(sw,val) \
        UxPUT_string(sw,UxP_FormRD_rubberPositioning,"rubberPositioning",val)
#endif

#ifndef UxGetHorizontalSpacing
extern binptr UxP_FormRD_horizontalSpacing;
#define UxGetHorizontalSpacing(sw) \
        UxGET_int(sw,UxP_FormRD_horizontalSpacing,"horizontalSpacing")
#define UxPutHorizontalSpacing(sw,val) \
        UxPUT_int(sw,UxP_FormRD_horizontalSpacing,"horizontalSpacing",val)
#endif

#ifndef UxGetFractionBase
extern binptr UxP_FormRD_fractionBase;
#define UxGetFractionBase(sw) \
        UxGET_int(sw,UxP_FormRD_fractionBase,"fractionBase")
#define UxPutFractionBase(sw,val) \
        UxPUT_int(sw,UxP_FormRD_fractionBase,"fractionBase",val)
#endif

extern Class_t UxC_form;
#define UxCreateForm(name,parent) \
        UxCreateSwidget(UxC_form,name,parent)
#else
#define UxCreateForm(name,parent) \
        UxCreateSwidget(name,xmFormWidgetClass,parent)
#endif
#endif