Debian Codegraph @

gui/XEchelle/prj/MergeShell.i

raw
1 ! UIMX ascii 2.0 key: 1471
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: transTable30
59 *translation.parent: MergeShell
60 *translation.policy: override
61 *translation.<Btn3Down>: FileSelectACT()
62
63 *translation.table: transTable31
64 *translation.parent: MergeShell
65 *translation.policy: override
66 *translation.<Btn3Down>: ExtendedHelp()
67 *translation.<EnterWindow>: HelpShort()
68 *translation.<LeaveWindow>: ClearShort()
69
70 *translation.table: transTable32
71 *translation.parent: MergeShell
72 *translation.policy: override
73 *translation.<Btn1Up>: UpdateDirectory()
74
75 *MergeShell.class: transientShell
76 *MergeShell.parent: NO_PARENT
77 *MergeShell.static: true
78 *MergeShell.gbldecl: #include <stdio.h>\
79 #include <ExternResources.h>
80 *MergeShell.ispecdecl:
81 *MergeShell.funcdecl: swidget create_MergeShell()\
82
83 *MergeShell.funcname: create_MergeShell
84 *MergeShell.funcdef: "swidget", "<create_MergeShell>(%)"
85 *MergeShell.icode:
86 *MergeShell.fcode: return(rtrn);\
87
88 *MergeShell.auxdecl:
89 *MergeShell.name: MergeShell
90 *MergeShell.x: 454
91 *MergeShell.y: 514
92 *MergeShell.width: 500
93 *MergeShell.height: 330
94 *MergeShell.geometry: "+10+60"
95 *MergeShell.title: "XEchelle: Orders Merging"
96
97 *form14.class: form
98 *form14.parent: MergeShell
99 *form14.static: true
100 *form14.name: form14
101 *form14.resizePolicy: "resize_none"
102 *form14.unitType: "pixels"
103 *form14.x: 4
104 *form14.y: 2
105 *form14.width: 500
106 *form14.height: 344
107 *form14.background: WindowBackground
108
109 *form15.class: form
110 *form15.parent: form14
111 *form15.static: true
112 *form15.name: form15
113 *form15.resizePolicy: "resize_none"
114 *form15.x: 2
115 *form15.y: 282
116 *form15.width: 490
117 *form15.height: 40
118 *form15.background: ButtonBackground
119
120 *pb_search_search13.class: pushButton
121 *pb_search_search13.parent: form15
122 *pb_search_search13.static: true
123 *pb_search_search13.name: pb_search_search13
124 *pb_search_search13.x: 2
125 *pb_search_search13.y: 4
126 *pb_search_search13.width: 86
127 *pb_search_search13.height: 30
128 *pb_search_search13.background: ButtonBackground
129 *pb_search_search13.fontList: BoldTextFont
130 *pb_search_search13.foreground: ApplyForeground
131 *pb_search_search13.labelString: "Merge"
132 *pb_search_search13.activateCallback: {\
133 MidasCommand(UxThisWidget);\
134 \
135 }
136
137 *pushButton10.class: pushButton
138 *pushButton10.parent: form15
139 *pushButton10.static: true
140 *pushButton10.name: pushButton10
141 *pushButton10.x: 398
142 *pushButton10.y: 4
143 *pushButton10.width: 86
144 *pushButton10.height: 30
145 *pushButton10.background: ButtonBackground
146 *pushButton10.fontList: BoldTextFont
147 *pushButton10.foreground: CancelForeground
148 *pushButton10.labelString: "Cancel"
149 *pushButton10.activateCallback: {\
150 UxPopdownInterface(UxFindSwidget("MergeShell"));\
151 }
152
153 *pb_search_plot25.class: pushButton
154 *pb_search_plot25.parent: form15
155 *pb_search_plot25.static: true
156 *pb_search_plot25.name: pb_search_plot25
157 *pb_search_plot25.x: 90
158 *pb_search_plot25.y: 4
159 *pb_search_plot25.width: 112
160 *pb_search_plot25.height: 30
161 *pb_search_plot25.background: ButtonBackground
162 *pb_search_plot25.fontList: BoldTextFont
163 *pb_search_plot25.foreground: ButtonForeground
164 *pb_search_plot25.labelString: "Plot Overlaps"
165 *pb_search_plot25.activateCallback: {\
166 MidasCommand(UxThisWidget);\
167 }
168
169 *pb_search_plot28.class: pushButton
170 *pb_search_plot28.parent: form15
171 *pb_search_plot28.static: true
172 *pb_search_plot28.name: pb_search_plot28
173 *pb_search_plot28.x: 202
174 *pb_search_plot28.y: 4
175 *pb_search_plot28.width: 118
176 *pb_search_plot28.height: 30
177 *pb_search_plot28.background: ButtonBackground
178 *pb_search_plot28.fontList: BoldTextFont
179 *pb_search_plot28.foreground: ButtonForeground
180 *pb_search_plot28.labelString: "Plot Spectrum"
181 *pb_search_plot28.activateCallback: {\
182 MidasCommand(UxThisWidget);\
183 \
184 }
185
186 *pb_search_plot29.class: pushButton
187 *pb_search_plot29.parent: form15
188 *pb_search_plot29.static: true
189 *pb_search_plot29.name: pb_search_plot29
190 *pb_search_plot29.x: 324
191 *pb_search_plot29.y: 4
192 *pb_search_plot29.width: 74
193 *pb_search_plot29.height: 30
194 *pb_search_plot29.background: ButtonBackground
195 *pb_search_plot29.fontList: BoldTextFont
196 *pb_search_plot29.foreground: ButtonForeground
197 *pb_search_plot29.labelString: "Help"
198 *pb_search_plot29.activateCallback: {\
199 GetExtendedHelp(UxWidget);\
200 }
201
202 *shelp_search9.class: text
203 *shelp_search9.parent: form14
204 *shelp_search9.static: true
205 *shelp_search9.name: shelp_search9
206 *shelp_search9.x: 4
207 *shelp_search9.y: 222
208 *shelp_search9.width: 484
209 *shelp_search9.height: 50
210 *shelp_search9.background: SHelpBackground
211 *shelp_search9.cursorPositionVisible: "false"
212 *shelp_search9.editable: "false"
213 *shelp_search9.fontList: TextFont
214
215 *separator10.class: separator
216 *separator10.parent: form14
217 *separator10.static: true
218 *separator10.name: separator10
219 *separator10.x: 2
220 *separator10.y: 212
221 *separator10.width: 492
222 *separator10.height: 10
223 *separator10.background: WindowBackground
224
225 *separator11.class: separator
226 *separator11.parent: form14
227 *separator11.static: true
228 *separator11.name: separator11
229 *separator11.x: 0
230 *separator11.y: 270
231 *separator11.width: 492
232 *separator11.height: 10
233 *separator11.background: WindowBackground
234
235 *label38.class: label
236 *label38.parent: form14
237 *label38.static: true
238 *label38.name: label38
239 *label38.x: 20
240 *label38.y: 14
241 *label38.width: 130
242 *label38.height: 30
243 *label38.background: LabelBackground
244 *label38.fontList: TextFont
245 *label38.labelString: "Input Frame:"
246 *label38.alignment: "alignment_beginning"
247 *label38.foreground: TextForeground
248
249 *tf_thres8.class: textField
250 *tf_thres8.parent: form14
251 *tf_thres8.static: true
252 *tf_thres8.name: tf_thres8
253 *tf_thres8.x: 170
254 *tf_thres8.y: 14
255 *tf_thres8.width: 210
256 *tf_thres8.height: 34
257 *tf_thres8.background: TextBackground
258 *tf_thres8.fontList: TextFont
259 *tf_thres8.highlightOnEnter: "true"
260 *tf_thres8.foreground: TextForeground
261 *tf_thres8.losingFocusCallback: {\
262 \
263 }
264
265 *pb_main_search30.class: pushButton
266 *pb_main_search30.parent: form14
267 *pb_main_search30.static: true
268 *pb_main_search30.name: pb_main_search30
269 *pb_main_search30.x: 428
270 *pb_main_search30.y: 14
271 *pb_main_search30.height: 28
272 *pb_main_search30.background: ButtonBackground
273 *pb_main_search30.fontList: BoldTextFont
274 *pb_main_search30.foreground: ButtonForeground
275 *pb_main_search30.labelString: "..."
276 *pb_main_search30.activateCallback: {\
277 SelectList(UxWidget);\
278 \
279 }
280 *pb_main_search30.recomputeSize: "true"
281 *pb_main_search30.width: 46
282
283 *pb_main_search31.class: pushButton
284 *pb_main_search31.parent: form14
285 *pb_main_search31.static: true
286 *pb_main_search31.name: pb_main_search31
287 *pb_main_search31.x: 428
288 *pb_main_search31.y: 54
289 *pb_main_search31.height: 28
290 *pb_main_search31.background: ButtonBackground
291 *pb_main_search31.fontList: BoldTextFont
292 *pb_main_search31.foreground: ButtonForeground
293 *pb_main_search31.labelString: "..."
294 *pb_main_search31.activateCallback: {\
295 SelectList(UxWidget);\
296 \
297 }
298 *pb_main_search31.recomputeSize: "true"
299 *pb_main_search31.width: 46
300
301 *tf_thres11.class: textField
302 *tf_thres11.parent: form14
303 *tf_thres11.static: true
304 *tf_thres11.name: tf_thres11
305 *tf_thres11.x: 168
306 *tf_thres11.y: 52
307 *tf_thres11.width: 212
308 *tf_thres11.height: 34
309 *tf_thres11.background: TextBackground
310 *tf_thres11.fontList: TextFont
311 *tf_thres11.highlightOnEnter: "true"
312 *tf_thres11.foreground: TextForeground
313 *tf_thres11.losingFocusCallback: {\
314 \
315 }
316
317 *label42.class: label
318 *label42.parent: form14
319 *label42.static: true
320 *label42.name: label42
321 *label42.x: 20
322 *label42.y: 56
323 *label42.width: 120
324 *label42.height: 30
325 *label42.background: LabelBackground
326 *label42.fontList: TextFont
327 *label42.labelString: "Output Frame:"
328 *label42.alignment: "alignment_beginning"
329 *label42.foreground: TextForeground
330
331 *label43.class: label
332 *label43.parent: form14
333 *label43.static: true
334 *label43.name: label43
335 *label43.x: 22
336 *label43.y: 94
337 *label43.width: 68
338 *label43.height: 30
339 *label43.background: LabelBackground
340 *label43.fontList: TextFont
341 *label43.labelString: "Method:"
342 *label43.alignment: "alignment_beginning"
343 *label43.foreground: TextForeground
344
345 *rowColumn6.class: rowColumn
346 *rowColumn6.parent: form14
347 *rowColumn6.static: true
348 *rowColumn6.name: rowColumn6
349 *rowColumn6.x: 134
350 *rowColumn6.y: 97
351 *rowColumn6.width: 261
352 *rowColumn6.height: 34
353 *rowColumn6.radioBehavior: "true"
354 *rowColumn6.background: WindowBackground
355 *rowColumn6.entryBorder: 0
356 *rowColumn6.labelString: ""
357 *rowColumn6.shadowThickness: 0
358 *rowColumn6.borderWidth: 0
359 *rowColumn6.entryAlignment: "alignment_beginning"
360 *rowColumn6.adjustLast: "false"
361 *rowColumn6.adjustMargin: "true"
362 *rowColumn6.isAligned: "true"
363 *rowColumn6.orientation: "horizontal"
364 *rowColumn6.resizeWidth: "true"
365
366 *rb_seamtd_gaus6.class: toggleButton
367 *rb_seamtd_gaus6.parent: rowColumn6
368 *rb_seamtd_gaus6.static: true
369 *rb_seamtd_gaus6.name: rb_seamtd_gaus6
370 *rb_seamtd_gaus6.x: 2
371 *rb_seamtd_gaus6.y: 3
372 *rb_seamtd_gaus6.width: 84
373 *rb_seamtd_gaus6.height: 28
374 *rb_seamtd_gaus6.background: WindowBackground
375 *rb_seamtd_gaus6.fontList: TextFont
376 *rb_seamtd_gaus6.labelString: "Average Overlaps"
377 *rb_seamtd_gaus6.set: "true"
378 *rb_seamtd_gaus6.selectColor: SelectColor
379 *rb_seamtd_gaus6.highlightOnEnter: "true"
380 *rb_seamtd_gaus6.valueChangedCallback: {\
381 \
382 }
383 *rb_seamtd_gaus6.indicatorSize: 16
384 *rb_seamtd_gaus6.foreground: TextForeground
385 *rb_seamtd_gaus6.armCallback: RadioSet(UxWidget);
386 *rb_seamtd_gaus6.translations: transTable31
387
388 *rb_seamtd_grav6.class: toggleButton
389 *rb_seamtd_grav6.parent: rowColumn6
390 *rb_seamtd_grav6.static: true
391 *rb_seamtd_grav6.name: rb_seamtd_grav6
392 *rb_seamtd_grav6.x: 114
393 *rb_seamtd_grav6.y: 4
394 *rb_seamtd_grav6.width: 84
395 *rb_seamtd_grav6.height: 28
396 *rb_seamtd_grav6.background: WindowBackground
397 *rb_seamtd_grav6.fontList: TextFont
398 *rb_seamtd_grav6.labelString: "No Append"
399 *rb_seamtd_grav6.selectColor: SelectColor
400 *rb_seamtd_grav6.highlightOnEnter: "true"
401 *rb_seamtd_grav6.valueChangedCallback: {\
402 \
403 }
404 *rb_seamtd_grav6.indicatorSize: 16
405 *rb_seamtd_grav6.foreground: TextForeground
406 *rb_seamtd_grav6.armCallback: RadioSet(UxWidget);
407 *rb_seamtd_grav6.translations: transTable31
408
409 *label45.class: label
410 *label45.parent: form14
411 *label45.static: true
412 *label45.name: label45
413 *label45.x: 24
414 *label45.y: 170
415 *label45.width: 94
416 *label45.height: 30
417 *label45.background: LabelBackground
418 *label45.fontList: TextFont
419 *label45.labelString: "Order Range"
420 *label45.alignment: "alignment_beginning"
421 *label45.foreground: TextForeground
422
423 *label46.class: label
424 *label46.parent: form14
425 *label46.static: true
426 *label46.name: label46
427 *label46.x: 140
428 *label46.y: 170
429 *label46.width: 40
430 *label46.height: 30
431 *label46.background: LabelBackground
432 *label46.fontList: TextFont
433 *label46.labelString: "Min="
434 *label46.alignment: "alignment_beginning"
435 *label46.foreground: TextForeground
436
437 *tf_alpha31.class: textField
438 *tf_alpha31.parent: form14
439 *tf_alpha31.static: true
440 *tf_alpha31.name: tf_alpha31
441 *tf_alpha31.x: 188
442 *tf_alpha31.y: 168
443 *tf_alpha31.width: 96
444 *tf_alpha31.height: 32
445 *tf_alpha31.background: TextBackground
446 *tf_alpha31.fontList: TextFont
447 *tf_alpha31.highlightOnEnter: "true"
448 *tf_alpha31.foreground: TextForeground
449 *tf_alpha31.losingFocusCallback: {\
450 \
451 }
452
453 *label47.class: label
454 *label47.parent: form14
455 *label47.static: true
456 *label47.name: label47
457 *label47.x: 302
458 *label47.y: 168
459 *label47.width: 50
460 *label47.height: 30
461 *label47.background: LabelBackground
462 *label47.fontList: TextFont
463 *label47.labelString: "Max="
464 *label47.alignment: "alignment_beginning"
465 *label47.foreground: TextForeground
466
467 *tf_alpha40.class: textField
468 *tf_alpha40.parent: form14
469 *tf_alpha40.static: true
470 *tf_alpha40.name: tf_alpha40
471 *tf_alpha40.x: 360
472 *tf_alpha40.y: 166
473 *tf_alpha40.width: 96
474 *tf_alpha40.height: 32
475 *tf_alpha40.background: TextBackground
476 *tf_alpha40.fontList: TextFont
477 *tf_alpha40.highlightOnEnter: "true"
478 *tf_alpha40.foreground: TextForeground
479 *tf_alpha40.losingFocusCallback: {\
480 \
481 }
482
483 *label48.class: label
484 *label48.parent: form14
485 *label48.static: true
486 *label48.name: label48
487 *label48.x: 16
488 *label48.y: 134
489 *label48.width: 136
490 *label48.height: 30
491 *label48.background: LabelBackground
492 *label48.fontList: TextFont
493 *label48.labelString: "Ignored Interval:"
494 *label48.alignment: "alignment_beginning"
495 *label48.foreground: TextForeground
496
497 *tf_alpha42.class: textField
498 *tf_alpha42.parent: form14
499 *tf_alpha42.static: true
500 *tf_alpha42.name: tf_alpha42
501 *tf_alpha42.x: 184
502 *tf_alpha42.y: 134
503 *tf_alpha42.width: 140
504 *tf_alpha42.height: 32
505 *tf_alpha42.background: TextBackground
506 *tf_alpha42.fontList: TextFont
507 *tf_alpha42.highlightOnEnter: "true"
508 *tf_alpha42.foreground: TextForeground
509 *tf_alpha42.losingFocusCallback: {\
510 \
511 }
512