File: UxWmSh.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 (225 lines) | stat: -rw-r--r-- 6,997 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/* @(#)UxWmSh.h	17.1 (ESO-IPG) 01/25/02 17:26:03 */
#ifndef UXWMShell_INCLUDED
#define UXWMShell_INCLUDED

#include "X11/Shell.h"

#ifdef DESIGN_TIME
#include "UxShell.h"

#ifndef UxGetWmTimeout
extern binptr UxP_WMShellRD_wmTimeout;
#define UxGetWmTimeout(sw) \
        UxGET_int(sw,UxP_WMShellRD_wmTimeout,"wmTimeout")
#define UxPutWmTimeout(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_wmTimeout,"wmTimeout",val)
#endif

#ifndef UxGetWinGravity
extern binptr UxP_WMShellRD_winGravity;
#define UxGetWinGravity(sw) \
        UxGET_string(sw,UxP_WMShellRD_winGravity,"winGravity")
#define UxPutWinGravity(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_winGravity,"winGravity",val)
#endif

#ifndef UxGetWindowGroup
extern binptr UxP_WMShellRD_windowGroup;
#define UxGetWindowGroup(sw) \
        UxGET_string(sw,UxP_WMShellRD_windowGroup,"windowGroup")
#define UxPutWindowGroup(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_windowGroup,"windowGroup",val)
#endif

#ifndef UxGetWidthInc
extern binptr UxP_WMShellRD_widthInc;
#define UxGetWidthInc(sw) \
        UxGET_int(sw,UxP_WMShellRD_widthInc,"widthInc")
#define UxPutWidthInc(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_widthInc,"widthInc",val)
#endif

#ifndef UxGetWaitForWm
extern binptr UxP_WMShellRD_waitForWm;
#define UxGetWaitForWm(sw) \
        UxGET_string(sw,UxP_WMShellRD_waitForWm,"waitForWm")
#define UxPutWaitForWm(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_waitForWm,"waitForWm",val)
#endif

#ifndef UxGetTransient
extern binptr UxP_WMShellRD_transient;
#define UxGetTransient(sw) \
        UxGET_string(sw,UxP_WMShellRD_transient,"transient")
#define UxPutTransient(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_transient,"transient",val)
#endif

#ifndef UxGetTitleEncoding
extern binptr UxP_WMShellRD_titleEncoding;
#define UxGetTitleEncoding(sw) \
        UxGET_string(sw,UxP_WMShellRD_titleEncoding,"titleEncoding")
#define UxPutTitleEncoding(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_titleEncoding,"titleEncoding",val)
#endif

#ifndef UxGetTitle
extern binptr UxP_WMShellRD_title;
#define UxGetTitle(sw) \
        UxGET_string(sw,UxP_WMShellRD_title,"title")
#define UxPutTitle(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_title,"title",val)
#endif

#ifndef UxGetMinWidth
extern binptr UxP_WMShellRD_minWidth;
#define UxGetMinWidth(sw) \
        UxGET_int(sw,UxP_WMShellRD_minWidth,"minWidth")
#define UxPutMinWidth(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_minWidth,"minWidth",val)
#endif

#ifndef UxGetMinHeight
extern binptr UxP_WMShellRD_minHeight;
#define UxGetMinHeight(sw) \
        UxGET_int(sw,UxP_WMShellRD_minHeight,"minHeight")
#define UxPutMinHeight(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_minHeight,"minHeight",val)
#endif

#ifndef UxGetMinAspectY
extern binptr UxP_WMShellRD_minAspectY;
#define UxGetMinAspectY(sw) \
        UxGET_int(sw,UxP_WMShellRD_minAspectY,"minAspectY")
#define UxPutMinAspectY(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_minAspectY,"minAspectY",val)
#endif

#ifndef UxGetMinAspectX
extern binptr UxP_WMShellRD_minAspectX;
#define UxGetMinAspectX(sw) \
        UxGET_int(sw,UxP_WMShellRD_minAspectX,"minAspectX")
#define UxPutMinAspectX(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_minAspectX,"minAspectX",val)
#endif

#ifndef UxGetMaxWidth
extern binptr UxP_WMShellRD_maxWidth;
#define UxGetMaxWidth(sw) \
        UxGET_int(sw,UxP_WMShellRD_maxWidth,"maxWidth")
#define UxPutMaxWidth(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_maxWidth,"maxWidth",val)
#endif

#ifndef UxGetMaxHeight
extern binptr UxP_WMShellRD_maxHeight;
#define UxGetMaxHeight(sw) \
        UxGET_int(sw,UxP_WMShellRD_maxHeight,"maxHeight")
#define UxPutMaxHeight(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_maxHeight,"maxHeight",val)
#endif

#ifndef UxGetMaxAspectY
extern binptr UxP_WMShellRD_maxAspectY;
#define UxGetMaxAspectY(sw) \
        UxGET_int(sw,UxP_WMShellRD_maxAspectY,"maxAspectY")
#define UxPutMaxAspectY(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_maxAspectY,"maxAspectY",val)
#endif

#ifndef UxGetMaxAspectX
extern binptr UxP_WMShellRD_maxAspectX;
#define UxGetMaxAspectX(sw) \
        UxGET_int(sw,UxP_WMShellRD_maxAspectX,"maxAspectX")
#define UxPutMaxAspectX(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_maxAspectX,"maxAspectX",val)
#endif

#ifndef UxGetInput
extern binptr UxP_WMShellRD_input;
#define UxGetInput(sw) \
        UxGET_string(sw,UxP_WMShellRD_input,"input")
#define UxPutInput(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_input,"input",val)
#endif

#ifndef UxGetInitialState
extern binptr UxP_WMShellRD_initialState;
#define UxGetInitialState(sw) \
        UxGET_string(sw,UxP_WMShellRD_initialState,"initialState")
#define UxPutInitialState(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_initialState,"initialState",val)
#endif

#ifndef UxGetIconY
extern binptr UxP_WMShellRD_iconY;
#define UxGetIconY(sw) \
        UxGET_int(sw,UxP_WMShellRD_iconY,"iconY")
#define UxPutIconY(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_iconY,"iconY",val)
#endif

#ifndef UxGetIconX
extern binptr UxP_WMShellRD_iconX;
#define UxGetIconX(sw) \
        UxGET_int(sw,UxP_WMShellRD_iconX,"iconX")
#define UxPutIconX(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_iconX,"iconX",val)
#endif

#ifndef UxGetIconWindow
extern binptr UxP_WMShellRD_iconWindow;
#define UxGetIconWindow(sw) \
        UxGET_string(sw,UxP_WMShellRD_iconWindow,"iconWindow")
#define UxPutIconWindow(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_iconWindow,"iconWindow",val)
#endif

#ifndef UxGetIconPixmap
extern binptr UxP_WMShellRD_iconPixmap;
#define UxGetIconPixmap(sw) \
        UxGET_string(sw,UxP_WMShellRD_iconPixmap,"iconPixmap")
#define UxPutIconPixmap(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_iconPixmap,"iconPixmap",val)
#endif

#ifndef UxGetIconMask
extern binptr UxP_WMShellRD_iconMask;
#define UxGetIconMask(sw) \
        UxGET_string(sw,UxP_WMShellRD_iconMask,"iconMask")
#define UxPutIconMask(sw,val) \
        UxPUT_string(sw,UxP_WMShellRD_iconMask,"iconMask",val)
#endif

#ifndef UxGetHeightInc
extern binptr UxP_WMShellRD_heightInc;
#define UxGetHeightInc(sw) \
        UxGET_int(sw,UxP_WMShellRD_heightInc,"heightInc")
#define UxPutHeightInc(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_heightInc,"heightInc",val)
#endif

#ifndef UxGetBaseWidth
extern binptr UxP_WMShellRD_baseWidth;
#define UxGetBaseWidth(sw) \
        UxGET_int(sw,UxP_WMShellRD_baseWidth,"baseWidth")
#define UxPutBaseWidth(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_baseWidth,"baseWidth",val)
#endif

#ifndef UxGetBaseHeight
extern binptr UxP_WMShellRD_baseHeight;
#define UxGetBaseHeight(sw) \
        UxGET_int(sw,UxP_WMShellRD_baseHeight,"baseHeight")
#define UxPutBaseHeight(sw,val) \
        UxPUT_int(sw,UxP_WMShellRD_baseHeight,"baseHeight",val)
#endif

extern Class_t UxC_wMShell;
#define UxCreateWMShell(name,parent) \
        UxCreateSwidget(UxC_wMShell,name,parent)
#else
#define UxCreateWMShell(name,parent) \
        UxCreateSwidget(name,wmShellWidgetClass,parent)
#endif
#endif