Debian Codegraph @

gui/XEchelle/prj/SkyShell.i

raw
1 ! UIMX ascii 2.0 key: 4538
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.ExtendedHelp: {\
38 DisplayExtendedHelp(UxWidget);\
39 }
40 *action.HelpShort: {WidgetEnter(UxWidget);}
41 *action.ClearShort: {WidgetLeave(UxWidget);}
42 *action.UpdateDirectory: {\
43 \
44 char node[80];\
45 \
46 /* if (XmTextGetSelection(UxWidget) == NULL) return; */\
47 strcpy(node,\
48 XmTextGetSelection(UxWidget));\
49 XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay));\
50 \
51 node[strlen(node)-1] = '\0';\
52 WGet_all_dirs(node);\
53 WChange_Midas_dir();\
54 WGet_all_files();\
55 \
56 }
57
58 *translation.table: transTable21
59 *translation.parent: SkyShell
60 *translation.policy: override
61 *translation.<Btn3Down>: FileSelectACT()
62
63 *translation.table: transTable22
64 *translation.parent: SkyShell
65 *translation.policy: override
66 *translation.<Btn3Down>: ExtendedHelp()
67 *translation.<EnterWindow>: HelpShort()
68 *translation.<LeaveWindow>: ClearShort()
69
70 *translation.table: transTable23
71 *translation.parent: SkyShell
72 *translation.policy: override
73 *translation.<Btn1Up>: UpdateDirectory()
74
75 *translation.table: transTable33
76 *translation.parent: SkyShell
77 *translation.policy: override
78 *translation.<Btn3Down>: ExtendedHelp()
79 *translation.<EnterWindow>: HelpShort()
80 *translation.<LeaveWindow>: ClearShort()
81
82 *SkyShell.class: transientShell
83 *SkyShell.parent: NO_PARENT
84 *SkyShell.static: true
85 *SkyShell.gbldecl: #include <stdio.h>\
86 #include <ExternResources.h>
87 *SkyShell.ispecdecl:
88 *SkyShell.funcdecl: swidget create_SkyShell()\
89
90 *SkyShell.funcname: create_SkyShell
91 *SkyShell.funcdef: "swidget", "<create_SkyShell>(%)"
92 *SkyShell.icode:
93 *SkyShell.fcode: return(rtrn);\
94
95 *SkyShell.auxdecl:
96 *SkyShell.name: SkyShell
97 *SkyShell.x: 274
98 *SkyShell.y: 118
99 *SkyShell.width: 520
100 *SkyShell.height: 340
101 *SkyShell.title: "XEchelle: Sky Background"
102 *SkyShell.geometry: "+10+60"
103
104 *form33.class: form
105 *form33.parent: SkyShell
106 *form33.static: true
107 *form33.name: form33
108 *form33.resizePolicy: "resize_none"
109 *form33.unitType: "pixels"
110 *form33.x: -10
111 *form33.y: 0
112 *form33.width: 500
113 *form33.height: 344
114 *form33.background: WindowBackground
115
116 *form34.class: form
117 *form34.parent: form33
118 *form34.static: true
119 *form34.name: form34
120 *form34.resizePolicy: "resize_none"
121 *form34.x: 12
122 *form34.y: 296
123 *form34.width: 490
124 *form34.height: 40
125 *form34.background: ButtonBackground
126
127 *pb_search_search8.class: pushButton
128 *pb_search_search8.parent: form34
129 *pb_search_search8.static: true
130 *pb_search_search8.name: pb_search_search8
131 *pb_search_search8.x: 8
132 *pb_search_search8.y: 4
133 *pb_search_search8.width: 86
134 *pb_search_search8.height: 30
135 *pb_search_search8.background: ButtonBackground
136 *pb_search_search8.fontList: BoldTextFont
137 *pb_search_search8.foreground: ApplyForeground
138 *pb_search_search8.labelString: "Windows"
139 *pb_search_search8.activateCallback: {\
140 MidasCommand(UxThisWidget);\
141 \
142 }
143
144 *pushButton6.class: pushButton
145 *pushButton6.parent: form34
146 *pushButton6.static: true
147 *pushButton6.name: pushButton6
148 *pushButton6.x: 392
149 *pushButton6.y: 6
150 *pushButton6.width: 86
151 *pushButton6.height: 30
152 *pushButton6.background: ButtonBackground
153 *pushButton6.fontList: BoldTextFont
154 *pushButton6.foreground: CancelForeground
155 *pushButton6.labelString: "Cancel"
156 *pushButton6.activateCallback: {\
157 UxPopdownInterface(UxFindSwidget("SkyShell"));\
158 }
159
160 *pb_search_plot19.class: pushButton
161 *pb_search_plot19.parent: form34
162 *pb_search_plot19.static: true
163 *pb_search_plot19.name: pb_search_plot19
164 *pb_search_plot19.x: 196
165 *pb_search_plot19.y: 4
166 *pb_search_plot19.width: 100
167 *pb_search_plot19.height: 30
168 *pb_search_plot19.background: ButtonBackground
169 *pb_search_plot19.fontList: BoldTextFont
170 *pb_search_plot19.foreground: ButtonForeground
171 *pb_search_plot19.labelString: "Plot Orders"
172 *pb_search_plot19.activateCallback: {\
173 MidasCommand(UxThisWidget);\
174 \
175 }
176
177 *pb_search_plot20.class: pushButton
178 *pb_search_plot20.parent: form34
179 *pb_search_plot20.static: true
180 *pb_search_plot20.name: pb_search_plot20
181 *pb_search_plot20.x: 304
182 *pb_search_plot20.y: 4
183 *pb_search_plot20.width: 86
184 *pb_search_plot20.height: 30
185 *pb_search_plot20.background: ButtonBackground
186 *pb_search_plot20.fontList: BoldTextFont
187 *pb_search_plot20.foreground: ButtonForeground
188 *pb_search_plot20.labelString: "Help..."
189 *pb_search_plot20.activateCallback: {\
190 GetExtendedHelp(UxWidget);\
191 }
192
193 *pb_search_search9.class: pushButton
194 *pb_search_search9.parent: form34
195 *pb_search_search9.static: true
196 *pb_search_search9.name: pb_search_search9
197 *pb_search_search9.x: 104
198 *pb_search_search9.y: 4
199 *pb_search_search9.width: 86
200 *pb_search_search9.height: 30
201 *pb_search_search9.background: ButtonBackground
202 *pb_search_search9.fontList: BoldTextFont
203 *pb_search_search9.foreground: ApplyForeground
204 *pb_search_search9.labelString: "Extract"
205 *pb_search_search9.activateCallback: {\
206 MidasCommand(UxThisWidget);\
207 \
208 }
209
210 *shelp_search6.class: text
211 *shelp_search6.parent: form33
212 *shelp_search6.static: true
213 *shelp_search6.name: shelp_search6
214 *shelp_search6.x: 14
215 *shelp_search6.y: 236
216 *shelp_search6.width: 484
217 *shelp_search6.height: 50
218 *shelp_search6.background: SHelpBackground
219 *shelp_search6.cursorPositionVisible: "false"
220 *shelp_search6.editable: "false"
221 *shelp_search6.fontList: TextFont
222
223 *separator28.class: separator
224 *separator28.parent: form33
225 *separator28.static: true
226 *separator28.name: separator28
227 *separator28.x: 12
228 *separator28.y: 226
229 *separator28.width: 492
230 *separator28.height: 10
231 *separator28.background: WindowBackground
232
233 *separator29.class: separator
234 *separator29.parent: form33
235 *separator29.static: true
236 *separator29.name: separator29
237 *separator29.x: 8
238 *separator29.y: 284
239 *separator29.width: 492
240 *separator29.height: 10
241 *separator29.background: WindowBackground
242
243 *tf_thres9.class: textField
244 *tf_thres9.parent: form33
245 *tf_thres9.static: true
246 *tf_thres9.name: tf_thres9
247 *tf_thres9.x: 208
248 *tf_thres9.y: 12
249 *tf_thres9.width: 212
250 *tf_thres9.height: 34
251 *tf_thres9.background: TextBackground
252 *tf_thres9.fontList: TextFont
253 *tf_thres9.highlightOnEnter: "true"
254 *tf_thres9.foreground: TextForeground
255 *tf_thres9.losingFocusCallback: {\
256 \
257 }
258
259 *label100.class: label
260 *label100.parent: form33
261 *label100.static: true
262 *label100.name: label100
263 *label100.x: 20
264 *label100.y: 14
265 *label100.width: 170
266 *label100.height: 30
267 *label100.background: LabelBackground
268 *label100.fontList: TextFont
269 *label100.labelString: "Input Frame:"
270 *label100.alignment: "alignment_beginning"
271 *label100.foreground: TextForeground
272
273 *pb_main_search23.class: pushButton
274 *pb_main_search23.parent: form33
275 *pb_main_search23.static: true
276 *pb_main_search23.name: pb_main_search23
277 *pb_main_search23.x: 428
278 *pb_main_search23.y: 14
279 *pb_main_search23.height: 28
280 *pb_main_search23.background: ButtonBackground
281 *pb_main_search23.fontList: BoldTextFont
282 *pb_main_search23.foreground: ButtonForeground
283 *pb_main_search23.labelString: "..."
284 *pb_main_search23.activateCallback: {\
285 SelectList(UxWidget);\
286 \
287 \
288 }
289 *pb_main_search23.recomputeSize: "true"
290 *pb_main_search23.width: 46
291
292 *label101.class: label
293 *label101.parent: form33
294 *label101.static: true
295 *label101.name: label101
296 *label101.x: 20
297 *label101.y: 56
298 *label101.width: 170
299 *label101.height: 30
300 *label101.background: LabelBackground
301 *label101.fontList: TextFont
302 *label101.labelString: "Output Frame:"
303 *label101.alignment: "alignment_beginning"
304 *label101.foreground: TextForeground
305
306 *tf_thres10.class: textField
307 *tf_thres10.parent: form33
308 *tf_thres10.static: true
309 *tf_thres10.name: tf_thres10
310 *tf_thres10.x: 210
311 *tf_thres10.y: 50
312 *tf_thres10.width: 212
313 *tf_thres10.height: 34
314 *tf_thres10.background: TextBackground
315 *tf_thres10.fontList: TextFont
316 *tf_thres10.highlightOnEnter: "true"
317 *tf_thres10.foreground: TextForeground
318 *tf_thres10.losingFocusCallback: {\
319 \
320 }
321
322 *pb_main_search24.class: pushButton
323 *pb_main_search24.parent: form33
324 *pb_main_search24.static: true
325 *pb_main_search24.name: pb_main_search24
326 *pb_main_search24.x: 426
327 *pb_main_search24.y: 52
328 *pb_main_search24.height: 28
329 *pb_main_search24.background: ButtonBackground
330 *pb_main_search24.fontList: BoldTextFont
331 *pb_main_search24.foreground: ButtonForeground
332 *pb_main_search24.labelString: "..."
333 *pb_main_search24.activateCallback: {\
334 SelectList(UxWidget);\
335 \
336 }
337 *pb_main_search24.recomputeSize: "true"
338 *pb_main_search24.width: 46
339
340 *form35.class: form
341 *form35.parent: form33
342 *form35.static: true
343 *form35.name: form35
344 *form35.resizePolicy: "resize_none"
345 *form35.x: 154
346 *form35.y: 98
347 *form35.width: 354
348 *form35.height: 40
349 *form35.background: WindowBackground
350
351 *label24.class: label
352 *label24.parent: form35
353 *label24.static: true
354 *label24.name: label24
355 *label24.x: 32
356 *label24.y: 2
357 *label24.width: 52
358 *label24.height: 35
359 *label24.background: LabelBackground
360 *label24.fontList: TextFont
361 *label24.labelString: "Min="
362 *label24.alignment: "alignment_beginning"
363 *label24.foreground: TextForeground
364 *label24.recomputeSize: "false"
365 *label24.bottomAttachment: "attach_form"
366 *label24.bottomOffset: 2
367
368 *tf_alpha22.class: textField
369 *tf_alpha22.parent: form35
370 *tf_alpha22.static: true
371 *tf_alpha22.name: tf_alpha22
372 *tf_alpha22.x: 82
373 *tf_alpha22.y: 2
374 *tf_alpha22.width: 110
375 *tf_alpha22.height: 35
376 *tf_alpha22.background: TextBackground
377 *tf_alpha22.fontList: TextFont
378 *tf_alpha22.highlightOnEnter: "true"
379 *tf_alpha22.foreground: TextForeground
380 *tf_alpha22.losingFocusCallback: {\
381 \
382 }
383 *tf_alpha22.bottomAttachment: "attach_form"
384 *tf_alpha22.bottomOffset: 2
385
386 *tf_alpha23.class: textField
387 *tf_alpha23.parent: form35
388 *tf_alpha23.static: true
389 *tf_alpha23.name: tf_alpha23
390 *tf_alpha23.x: 240
391 *tf_alpha23.y: 2
392 *tf_alpha23.width: 110
393 *tf_alpha23.height: 35
394 *tf_alpha23.background: TextBackground
395 *tf_alpha23.fontList: TextFont
396 *tf_alpha23.highlightOnEnter: "true"
397 *tf_alpha23.foreground: TextForeground
398 *tf_alpha23.losingFocusCallback: {\
399 \
400 }
401 *tf_alpha23.bottomAttachment: "attach_form"
402 *tf_alpha23.bottomOffset: 2
403
404 *label96.class: label
405 *label96.parent: form35
406 *label96.static: true
407 *label96.name: label96
408 *label96.x: 198
409 *label96.y: 2
410 *label96.width: 42
411 *label96.height: 35
412 *label96.background: LabelBackground
413 *label96.fontList: TextFont
414 *label96.labelString: "Max="
415 *label96.alignment: "alignment_beginning"
416 *label96.foreground: TextForeground
417 *label96.bottomAttachment: "attach_form"
418 *label96.bottomOffset: 2
419
420 *form36.class: form
421 *form36.parent: form33
422 *form36.static: true
423 *form36.name: form36
424 *form36.resizePolicy: "resize_none"
425 *form36.x: 186
426 *form36.y: 136
427 *form36.width: 322
428 *form36.height: 40
429 *form36.background: WindowBackground
430
431 *label97.class: label
432 *label97.parent: form36
433 *label97.static: true
434 *label97.name: label97
435 *label97.x: 0
436 *label97.y: 2
437 *label97.width: 52
438 *label97.height: 35
439 *label97.background: LabelBackground
440 *label97.fontList: TextFont
441 *label97.labelString: "Min="
442 *label97.alignment: "alignment_beginning"
443 *label97.foreground: TextForeground
444 *label97.recomputeSize: "false"
445 *label97.bottomAttachment: "attach_form"
446 *label97.bottomOffset: 2
447
448 *tf_alpha24.class: textField
449 *tf_alpha24.parent: form36
450 *tf_alpha24.static: true
451 *tf_alpha24.name: tf_alpha24
452 *tf_alpha24.x: 50
453 *tf_alpha24.y: 2
454 *tf_alpha24.width: 110
455 *tf_alpha24.height: 35
456 *tf_alpha24.background: TextBackground
457 *tf_alpha24.fontList: TextFont
458 *tf_alpha24.highlightOnEnter: "true"
459 *tf_alpha24.foreground: TextForeground
460 *tf_alpha24.losingFocusCallback: {\
461 \
462 }
463 *tf_alpha24.bottomAttachment: "attach_form"
464 *tf_alpha24.bottomOffset: 2
465
466 *tf_alpha25.class: textField
467 *tf_alpha25.parent: form36
468 *tf_alpha25.static: true
469 *tf_alpha25.name: tf_alpha25
470 *tf_alpha25.x: 206
471 *tf_alpha25.y: 2
472 *tf_alpha25.width: 110
473 *tf_alpha25.height: 35
474 *tf_alpha25.background: TextBackground
475 *tf_alpha25.fontList: TextFont
476 *tf_alpha25.highlightOnEnter: "true"
477 *tf_alpha25.foreground: TextForeground
478 *tf_alpha25.losingFocusCallback: {\
479 \
480 }
481 *tf_alpha25.bottomAttachment: "attach_form"
482 *tf_alpha25.bottomOffset: 2
483
484 *label98.class: label
485 *label98.parent: form36
486 *label98.static: true
487 *label98.name: label98
488 *label98.x: 162
489 *label98.y: 3
490 *label98.width: 46
491 *label98.height: 35
492 *label98.background: LabelBackground
493 *label98.fontList: TextFont
494 *label98.labelString: "Max="
495 *label98.alignment: "alignment_beginning"
496 *label98.foreground: TextForeground
497 *label98.bottomAttachment: "attach_form"
498 *label98.bottomOffset: 2
499
500 *toggleButton19.class: toggleButton
501 *toggleButton19.parent: form33
502 *toggleButton19.static: true
503 *toggleButton19.name: toggleButton19
504 *toggleButton19.x: 30
505 *toggleButton19.y: 186
506 *toggleButton19.width: 178
507 *toggleButton19.height: 35
508 *toggleButton19.recomputeSize: "false"
509 *toggleButton19.background: WindowBackground
510 *toggleButton19.fontList: TextFont
511 *toggleButton19.foreground: TextForeground
512 *toggleButton19.labelString: "Cosmic Rays Filtering"
513 *toggleButton19.selectColor: "Yellow"
514 *toggleButton19.valueChangedCallback: {\
515 if (CheckStatus(UxThisWidget) == TRUE)\
516 AppendDialogText("SET/ECHEL ROTOPT=YES");\
517 else\
518 AppendDialogText("SET/ECHEL ROTOPT=NO");\
519 \
520 }
521 *toggleButton19.leftAttachment: "attach_form"
522 *toggleButton19.leftOffset: 20
523
524 *rowColumn7.class: rowColumn
525 *rowColumn7.parent: form33
526 *rowColumn7.static: true
527 *rowColumn7.name: rowColumn7
528 *rowColumn7.x: 16
529 *rowColumn7.y: 98
530 *rowColumn7.width: 106
531 *rowColumn7.height: 96
532 *rowColumn7.radioBehavior: "true"
533 *rowColumn7.background: WindowBackground
534 *rowColumn7.entryBorder: 0
535 *rowColumn7.labelString: ""
536 *rowColumn7.shadowThickness: 0
537 *rowColumn7.borderWidth: 0
538 *rowColumn7.entryAlignment: "alignment_beginning"
539 *rowColumn7.adjustLast: "false"
540 *rowColumn7.adjustMargin: "true"
541 *rowColumn7.isAligned: "true"
542
543 *toggleButton16.class: toggleButton
544 *toggleButton16.parent: rowColumn7
545 *toggleButton16.static: true
546 *toggleButton16.name: toggleButton16
547 *toggleButton16.x: -16
548 *toggleButton16.y: -2
549 *toggleButton16.width: 145
550 *toggleButton16.height: 35
551 *toggleButton16.recomputeSize: "false"
552 *toggleButton16.background: WindowBackground
553 *toggleButton16.fontList: TextFont
554 *toggleButton16.foreground: TextForeground
555 *toggleButton16.labelString: "Offsets Window 1:"
556 *toggleButton16.selectColor: "Yellow"
557 *toggleButton16.valueChangedCallback: {\
558 \
559 }
560 *toggleButton16.armCallback: RadioSet(UxWidget);
561 *toggleButton16.translations: transTable22
562
563 *toggleButton18.class: toggleButton
564 *toggleButton18.parent: rowColumn7
565 *toggleButton18.static: true
566 *toggleButton18.name: toggleButton18
567 *toggleButton18.x: -16
568 *toggleButton18.y: 26
569 *toggleButton18.width: 141
570 *toggleButton18.height: 35
571 *toggleButton18.recomputeSize: "false"
572 *toggleButton18.background: WindowBackground
573 *toggleButton18.fontList: TextFont
574 *toggleButton18.foreground: TextForeground
575 *toggleButton18.labelString: "Offsets Window 2:"
576 *toggleButton18.selectColor: "Yellow"
577 *toggleButton18.valueChangedCallback: {\
578 \
579 }
580 *toggleButton18.armCallback: RadioSet(UxWidget);
581 *toggleButton18.translations: transTable22
582