Debian Codegraph @

gui/XEchelle/prj/ExtractionShell.i

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