Debian Codegraph @

gui/XEchelle/prj/FlatShell.i

raw
1 ! UIMX ascii 2.0 key: 7204
2 *action.FileSelectACT: {\
3 #include <xm_defs.h>\
4 #include <spec_comm.h>\
5 \
6 extern swidget FileListInterface, TextFieldSwidget;\
7 extern Widget FileListWidget;\
8 extern char DirSpecs[];\
9 extern int ListType;\
10 \
11 int strip = 1; /* strip off */\
12 \
13 TextFieldSwidget = UxThisWidget;\
14 \
15 if ( UxWidget == UxGetWidget(UxFindSwidget("tf_lincat")) ) {\
16 SET_LIST_TITLE("Enter line catalog");\
17 ListType = LIST_LINCAT;\
18 }\
19 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_guess")) ) {\
20 SET_LIST_TITLE("Enter guess table");\
21 ListType = LIST_GUESS;\
22 }\
23 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flux_tbl")) ) {\
24 SET_LIST_TITLE("Enter flux table");\
25 ListType = LIST_FLUX_TBL;\
26 }\
27 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_extin_tbl")) ) {\
28 SET_LIST_TITLE("Enter extinction table");\
29 ListType = LIST_EXTIN_TBL;\
30 }\
31 \
32 strcpy(DirSpecs, "*.tbl"); \
33 SetFileList(FileListWidget, strip, DirSpecs);\
34 UxPopupInterface(FileListInterface, exclusive_grab);\
35 \
36 }
37 *action.HelpShort: {WidgetEnter(UxWidget);}
38 *action.ClearShort: {WidgetLeave(UxWidget);}
39 *action.UpdateDirectory: {\
40 \
41 char node[80];\
42 \
43 /* if (XmTextGetSelection(UxWidget) == NULL) return; */\
44 strcpy(node,\
45 XmTextGetSelection(UxWidget));\
46 XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay));\
47 \
48 node[strlen(node)-1] = '\0';\
49 WGet_all_dirs(node);\
50 WChange_Midas_dir();\
51 WGet_all_files();\
52 \
53 }
54
55 *translation.table: transTable24
56 *translation.parent: FlatShell
57 *translation.policy: override
58 *translation.<Btn3Down>: FileSelectACT()
59
60 *translation.table: transTable25
61 *translation.parent: FlatShell
62 *translation.policy: override
63 *translation.<Btn3Down>: HelpHelp()
64 *translation.<EnterWindow>: HelpShort()
65 *translation.<LeaveWindow>: ClearShort()
66
67 *translation.table: transTable26
68 *translation.parent: FlatShell
69 *translation.policy: override
70 *translation.<Btn1Up>: UpdateDirectory()
71
72 *FlatShell.class: transientShell
73 *FlatShell.parent: NO_PARENT
74 *FlatShell.static: true
75 *FlatShell.gbldecl: #include <stdio.h>\
76 #include <ExternResources.h>
77 *FlatShell.ispecdecl:
78 *FlatShell.funcdecl: swidget create_FlatShell()\
79
80 *FlatShell.funcname: create_FlatShell
81 *FlatShell.funcdef: "swidget", "<create_FlatShell>(%)"
82 *FlatShell.icode:
83 *FlatShell.fcode: return(rtrn);\
84
85 *FlatShell.auxdecl:
86 *FlatShell.name: FlatShell
87 *FlatShell.x: 484
88 *FlatShell.y: 574
89 *FlatShell.width: 530
90 *FlatShell.height: 300
91 *FlatShell.geometry: "+10+60"
92
93 *form37.class: form
94 *form37.parent: FlatShell
95 *form37.static: true
96 *form37.name: form37
97 *form37.resizePolicy: "resize_none"
98 *form37.unitType: "pixels"
99 *form37.x: 0
100 *form37.y: -2
101 *form37.width: 408
102 *form37.height: 348
103 *form37.background: WindowBackground
104
105 *form38.class: form
106 *form38.parent: form37
107 *form38.static: true
108 *form38.name: form38
109 *form38.resizePolicy: "resize_none"
110 *form38.x: 10
111 *form38.y: 240
112 *form38.width: 508
113 *form38.height: 50
114 *form38.background: ButtonBackground
115
116 *pb_search_search10.class: pushButton
117 *pb_search_search10.parent: form38
118 *pb_search_search10.static: true
119 *pb_search_search10.name: pb_search_search10
120 *pb_search_search10.x: 16
121 *pb_search_search10.y: 10
122 *pb_search_search10.width: 150
123 *pb_search_search10.height: 30
124 *pb_search_search10.background: ButtonBackground
125 *pb_search_search10.fontList: BoldTextFont
126 *pb_search_search10.foreground: ApplyForeground
127 *pb_search_search10.labelString: "Fit and Subtract"
128 *pb_search_search10.activateCallback: {\
129 MidasCommand(UxThisWidget);\
130 \
131 }
132
133 *pushButton7.class: pushButton
134 *pushButton7.parent: form38
135 *pushButton7.static: true
136 *pushButton7.name: pushButton7
137 *pushButton7.x: 412
138 *pushButton7.y: 8
139 *pushButton7.width: 86
140 *pushButton7.height: 30
141 *pushButton7.background: ButtonBackground
142 *pushButton7.fontList: BoldTextFont
143 *pushButton7.foreground: CancelForeground
144 *pushButton7.labelString: "Cancel"
145 *pushButton7.activateCallback: {\
146 UxPopdownInterface(UxFindSwidget("FlatShell"));\
147 }
148
149 *pb_search_plot21.class: pushButton
150 *pb_search_plot21.parent: form38
151 *pb_search_plot21.static: true
152 *pb_search_plot21.name: pb_search_plot21
153 *pb_search_plot21.x: 320
154 *pb_search_plot21.y: 10
155 *pb_search_plot21.width: 86
156 *pb_search_plot21.height: 30
157 *pb_search_plot21.background: ButtonBackground
158 *pb_search_plot21.fontList: BoldTextFont
159 *pb_search_plot21.foreground: ButtonForeground
160 *pb_search_plot21.labelString: "Help..."
161 *pb_search_plot21.activateCallback: {\
162 GetExtendedHelp(UxWidget);\
163 }
164
165 *pb_search_plot24.class: pushButton
166 *pb_search_plot24.parent: form38
167 *pb_search_plot24.static: true
168 *pb_search_plot24.name: pb_search_plot24
169 *pb_search_plot24.x: 202
170 *pb_search_plot24.y: 10
171 *pb_search_plot24.width: 106
172 *pb_search_plot24.height: 30
173 *pb_search_plot24.background: ButtonBackground
174 *pb_search_plot24.fontList: BoldTextFont
175 *pb_search_plot24.foreground: ButtonForeground
176 *pb_search_plot24.labelString: "Plot Blaze"
177 *pb_search_plot24.activateCallback: {\
178 MidasCommand(UxThisWidget);\
179 \
180 }
181
182 *shelp_search7.class: text
183 *shelp_search7.parent: form37
184 *shelp_search7.static: true
185 *shelp_search7.name: shelp_search7
186 *shelp_search7.x: 8
187 *shelp_search7.y: 182
188 *shelp_search7.width: 508
189 *shelp_search7.height: 50
190 *shelp_search7.background: SHelpBackground
191 *shelp_search7.cursorPositionVisible: "false"
192 *shelp_search7.editable: "false"
193 *shelp_search7.fontList: TextFont
194
195 *separator30.class: separator
196 *separator30.parent: form37
197 *separator30.static: true
198 *separator30.name: separator30
199 *separator30.x: 8
200 *separator30.y: 232
201 *separator30.width: 514
202 *separator30.height: 10
203 *separator30.background: WindowBackground
204
205 *separator31.class: separator
206 *separator31.parent: form37
207 *separator31.static: true
208 *separator31.name: separator31
209 *separator31.x: 8
210 *separator31.y: 168
211 *separator31.width: 518
212 *separator31.height: 10
213 *separator31.background: WindowBackground
214
215 *tf_alpha35.class: textField
216 *tf_alpha35.parent: form37
217 *tf_alpha35.static: true
218 *tf_alpha35.name: tf_alpha35
219 *tf_alpha35.x: 130
220 *tf_alpha35.y: 8
221 *tf_alpha35.width: 230
222 *tf_alpha35.height: 32
223 *tf_alpha35.background: TextBackground
224 *tf_alpha35.fontList: TextFont
225 *tf_alpha35.highlightOnEnter: "true"
226 *tf_alpha35.foreground: TextForeground
227 *tf_alpha35.losingFocusCallback: {\
228 \
229 }
230
231 *tf_alpha36.class: textField
232 *tf_alpha36.parent: form37
233 *tf_alpha36.static: true
234 *tf_alpha36.name: tf_alpha36
235 *tf_alpha36.x: 130
236 *tf_alpha36.y: 46
237 *tf_alpha36.width: 230
238 *tf_alpha36.height: 32
239 *tf_alpha36.background: TextBackground
240 *tf_alpha36.fontList: TextFont
241 *tf_alpha36.highlightOnEnter: "true"
242 *tf_alpha36.foreground: TextForeground
243 *tf_alpha36.losingFocusCallback: {\
244 \
245 }
246 *tf_alpha36.text: "middummff.bdf"
247
248 *tf_alpha37.class: textField
249 *tf_alpha37.parent: form37
250 *tf_alpha37.static: true
251 *tf_alpha37.name: tf_alpha37
252 *tf_alpha37.x: 130
253 *tf_alpha37.y: 90
254 *tf_alpha37.width: 230
255 *tf_alpha37.height: 32
256 *tf_alpha37.background: TextBackground
257 *tf_alpha37.fontList: TextFont
258 *tf_alpha37.highlightOnEnter: "true"
259 *tf_alpha37.foreground: TextForeground
260 *tf_alpha37.losingFocusCallback: {\
261 \
262 }
263
264 *label114.class: label
265 *label114.parent: form37
266 *label114.static: true
267 *label114.name: label114
268 *label114.x: 18
269 *label114.y: 10
270 *label114.width: 94
271 *label114.height: 30
272 *label114.background: LabelBackground
273 *label114.fontList: TextFont
274 *label114.labelString: "Input Frame"
275 *label114.alignment: "alignment_beginning"
276 *label114.foreground: TextForeground
277
278 *pb_main_search25.class: pushButton
279 *pb_main_search25.parent: form37
280 *pb_main_search25.static: true
281 *pb_main_search25.name: pb_main_search25
282 *pb_main_search25.x: 365
283 *pb_main_search25.y: 10
284 *pb_main_search25.height: 28
285 *pb_main_search25.background: ButtonBackground
286 *pb_main_search25.fontList: BoldTextFont
287 *pb_main_search25.foreground: ButtonForeground
288 *pb_main_search25.labelString: "..."
289 *pb_main_search25.activateCallback: {\
290 SelectList(UxWidget);\
291 \
292 }
293 *pb_main_search25.recomputeSize: "true"
294 *pb_main_search25.width: 46
295
296 *pb_main_search26.class: pushButton
297 *pb_main_search26.parent: form37
298 *pb_main_search26.static: true
299 *pb_main_search26.name: pb_main_search26
300 *pb_main_search26.x: 365
301 *pb_main_search26.y: 48
302 *pb_main_search26.height: 28
303 *pb_main_search26.background: ButtonBackground
304 *pb_main_search26.fontList: BoldTextFont
305 *pb_main_search26.foreground: ButtonForeground
306 *pb_main_search26.labelString: "..."
307 *pb_main_search26.activateCallback: {\
308 SelectList(UxWidget);\
309 \
310 }
311 *pb_main_search26.recomputeSize: "true"
312 *pb_main_search26.width: 46
313
314 *pb_main_search27.class: pushButton
315 *pb_main_search27.parent: form37
316 *pb_main_search27.static: true
317 *pb_main_search27.name: pb_main_search27
318 *pb_main_search27.x: 365
319 *pb_main_search27.y: 88
320 *pb_main_search27.height: 28
321 *pb_main_search27.background: ButtonBackground
322 *pb_main_search27.fontList: BoldTextFont
323 *pb_main_search27.foreground: ButtonForeground
324 *pb_main_search27.labelString: "..."
325 *pb_main_search27.activateCallback: {\
326 SelectList(UxWidget);\
327 \
328 }
329 *pb_main_search27.recomputeSize: "true"
330 *pb_main_search27.width: 46
331
332 *label115.class: label
333 *label115.parent: form37
334 *label115.static: true
335 *label115.name: label115
336 *label115.x: 4
337 *label115.y: 42
338 *label115.width: 94
339 *label115.height: 30
340 *label115.background: LabelBackground
341 *label115.fontList: TextFont
342 *label115.labelString: "- Background"
343 *label115.alignment: "alignment_beginning"
344 *label115.foreground: TextForeground
345
346 *label116.class: label
347 *label116.parent: form37
348 *label116.static: true
349 *label116.name: label116
350 *label116.x: 6
351 *label116.y: 86
352 *label116.width: 116
353 *label116.height: 30
354 *label116.background: LabelBackground
355 *label116.fontList: TextFont
356 *label116.labelString: "= Output Frame"
357 *label116.alignment: "alignment_beginning"
358 *label116.foreground: TextForeground
359
360 *pb_search_plot26.class: pushButton
361 *pb_search_plot26.parent: form37
362 *pb_search_plot26.static: true
363 *pb_search_plot26.name: pb_search_plot26
364 *pb_search_plot26.x: 420
365 *pb_search_plot26.y: 10
366 *pb_search_plot26.width: 86
367 *pb_search_plot26.height: 30
368 *pb_search_plot26.background: ButtonBackground
369 *pb_search_plot26.fontList: BoldTextFont
370 *pb_search_plot26.foreground: ButtonForeground
371 *pb_search_plot26.labelString: "Display"
372 *pb_search_plot26.activateCallback: {\
373 MidasCommand(UxThisWidget);\
374 \
375 }
376
377 *pb_search_plot27.class: pushButton
378 *pb_search_plot27.parent: form37
379 *pb_search_plot27.static: true
380 *pb_search_plot27.name: pb_search_plot27
381 *pb_search_plot27.x: 420
382 *pb_search_plot27.y: 48
383 *pb_search_plot27.width: 86
384 *pb_search_plot27.height: 30
385 *pb_search_plot27.background: ButtonBackground
386 *pb_search_plot27.fontList: BoldTextFont
387 *pb_search_plot27.foreground: ButtonForeground
388 *pb_search_plot27.labelString: "Display"
389 *pb_search_plot27.activateCallback: {\
390 MidasCommand(UxThisWidget);\
391 \
392 }
393
394 *tf_alpha11.class: textField
395 *tf_alpha11.parent: form37
396 *tf_alpha11.static: true
397 *tf_alpha11.name: tf_alpha11
398 *tf_alpha11.x: 130
399 *tf_alpha11.y: 130
400 *tf_alpha11.width: 230
401 *tf_alpha11.height: 32
402 *tf_alpha11.background: TextBackground
403 *tf_alpha11.fontList: TextFont
404 *tf_alpha11.highlightOnEnter: "true"
405 *tf_alpha11.foreground: TextForeground
406 *tf_alpha11.losingFocusCallback: {\
407 \
408 }
409
410 *label6.class: label
411 *label6.parent: form37
412 *label6.static: true
413 *label6.name: label6
414 *label6.x: 8
415 *label6.y: 128
416 *label6.width: 116
417 *label6.height: 30
418 *label6.background: LabelBackground
419 *label6.fontList: TextFont
420 *label6.labelString: "Blaze Function:"
421 *label6.alignment: "alignment_beginning"
422 *label6.foreground: TextForeground
423