Debian Codegraph @

gui/XBatch/prj/ApplicWindow.i

raw
1 ! UIMX ascii 2.0 key: 999
2 *action.FileSelectACT: {\
3 #include <spec_comm.h>\
4 \
5 extern swidget TextFieldSwidget;\
6 \
7 TextFieldSwidget = UxThisWidget;\
8 \
9 if ( UxWidget == UxGetWidget(UxFindSwidget("tf_inputf")) )\
10 PopupList(LIST_INPUTF);\
11 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_bias")) )\
12 PopupList(LIST_BIAS);\
13 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_dark")) )\
14 PopupList(LIST_DARK);\
15 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flat")) )\
16 PopupList(LIST_FLAT);\
17 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_longsess")) )\
18 PopupList(LIST_LONGSESS);\
19 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_redextab")) )\
20 PopupList(LIST_REDEXTAB);\
21 else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_redresp")) )\
22 PopupList(LIST_REDRESP);\
23 }
24 *action.WriteHelp: {\
25 DisplayShortHelp(UxWidget);\
26 }
27 *action.ExtendedHelp: {\
28 DisplayExtendedHelp(UxWidget);\
29 }
30 *action.ClearHelp: {\
31 UxPutText(UxFindSwidget("short_help"), "");\
32 }
33
34 *translation.table: FileSelectMain
35 *translation.parent: ApplicWindow
36 *translation.policy: override
37 *translation.<Btn3Down>: FileSelectACT()
38
39 *ApplicWindow.class: applicationShell
40 *ApplicWindow.parent: NO_PARENT
41 *ApplicWindow.static: true
42 *ApplicWindow.gbldecl: #include <stdio.h>\
43 #include <ExternResources.h>
44 *ApplicWindow.ispecdecl:
45 *ApplicWindow.funcdecl: swidget create_ApplicWindow()\
46
47 *ApplicWindow.funcname: create_ApplicWindow
48 *ApplicWindow.funcdef: "swidget", "<create_ApplicWindow>(%)"
49 *ApplicWindow.icode: extern swidget create_file_dialog();\
50 extern swidget create_AirmassShell();\
51 extern swidget create_HelpShell();
52 *ApplicWindow.fcode: create_file_dialog();\
53 create_HelpShell();\
54 create_AirmassShell();\
55 \
56 return(rtrn);\
57
58 *ApplicWindow.auxdecl:
59 *ApplicWindow.name: ApplicWindow
60 *ApplicWindow.x: 2
61 *ApplicWindow.y: 21
62 *ApplicWindow.width: 447
63 *ApplicWindow.height: 643
64 *ApplicWindow.iconName: "Batch reduction"
65 *ApplicWindow.keyboardFocusPolicy: "pointer"
66 *ApplicWindow.title: "Batch reduction"
67 *ApplicWindow.geometry: "+0+0"
68
69 *MainWindow.class: mainWindow
70 *MainWindow.parent: ApplicWindow
71 *MainWindow.static: true
72 *MainWindow.name: MainWindow
73 *MainWindow.unitType: "pixels"
74 *MainWindow.x: 10
75 *MainWindow.y: 0
76 *MainWindow.width: 440
77 *MainWindow.height: 460
78 *MainWindow.background: WindowBackground
79
80 *menu1.class: rowColumn
81 *menu1.parent: MainWindow
82 *menu1.static: true
83 *menu1.name: menu1
84 *menu1.rowColumnType: "menu_bar"
85 *menu1.menuAccelerator: "<KeyUp>F10"
86 *menu1.menuHelpWidget: "menu1_top_b4"
87 *menu1.background: MenuBackground
88
89 *menu1_p1.class: rowColumn
90 *menu1_p1.parent: menu1
91 *menu1_p1.static: true
92 *menu1_p1.name: menu1_p1
93 *menu1_p1.rowColumnType: "menu_pulldown"
94 *menu1_p1.background: MenuBackground
95 *menu1_p1.foreground: MenuForeground
96
97 *menu1_p1_b1.class: pushButtonGadget
98 *menu1_p1_b1.parent: menu1_p1
99 *menu1_p1_b1.static: true
100 *menu1_p1_b1.name: menu1_p1_b1
101 *menu1_p1_b1.labelString: "Open"
102 *menu1_p1_b1.mnemonic: "O"
103 *menu1_p1_b1.fontList: BoldTextFont
104 *menu1_p1_b1.activateCallback: {\
105 #include <spec_comm.h>\
106 \
107 PopupList(LIST_REDSESS);\
108 }
109
110 *menu1_p1_b2.class: pushButtonGadget
111 *menu1_p1_b2.parent: menu1_p1
112 *menu1_p1_b2.static: true
113 *menu1_p1_b2.name: menu1_p1_b2
114 *menu1_p1_b2.labelString: "Save"
115 *menu1_p1_b2.mnemonic: "S"
116 *menu1_p1_b2.fontList: BoldTextFont
117 *menu1_p1_b2.activateCallback: {\
118 #include <spec_comm.h>\
119 \
120 extern char Redsess[];\
121 char command[256];\
122 \
123 sprintf(command, "%s%s", C_REDSAVE, Redsess);\
124 AppendDialogText(command);\
125 }
126
127 *menu1_p1_b3.class: pushButtonGadget
128 *menu1_p1_b3.parent: menu1_p1
129 *menu1_p1_b3.static: true
130 *menu1_p1_b3.name: menu1_p1_b3
131 *menu1_p1_b3.labelString: "Save As ..."
132 *menu1_p1_b3.mnemonic: "S"
133 *menu1_p1_b3.fontList: BoldTextFont
134 *menu1_p1_b3.activateCallback: {\
135 #include <xm_defs.h>\
136 #include <spec_comm.h>\
137 \
138 extern int DialogType;\
139 extern char Redsess[];\
140 \
141 SET_DIALOG_PROMPT("Output parameters table :");\
142 \
143 XmTextSetString(UxGetWidget(UxFindSwidget("tf_file_dialog")), Redsess);\
144 DialogType = DIALOG_REDSESS;\
145 UxPopupInterface(UxFindSwidget("file_dialog"), exclusive_grab);\
146 }
147
148 *menu1_p1_b4.class: separator
149 *menu1_p1_b4.parent: menu1_p1
150 *menu1_p1_b4.static: true
151 *menu1_p1_b4.name: menu1_p1_b4
152
153 *menu1_p1_b5.class: pushButtonGadget
154 *menu1_p1_b5.parent: menu1_p1
155 *menu1_p1_b5.static: true
156 *menu1_p1_b5.name: menu1_p1_b5
157 *menu1_p1_b5.labelString: "Exit"
158 *menu1_p1_b5.accelerator: "E"
159 *menu1_p1_b5.activateCallback: {\
160 SCSEPI();\
161 exit(0);\
162 }
163 *menu1_p1_b5.fontList: BoldTextFont
164
165 *menu1_p4.class: rowColumn
166 *menu1_p4.parent: menu1
167 *menu1_p4.static: true
168 *menu1_p4.name: menu1_p4
169 *menu1_p4.rowColumnType: "menu_pulldown"
170 *menu1_p4.background: MenuBackground
171 *menu1_p4.foreground: MenuForeground
172
173 *menu_help_window.class: pushButtonGadget
174 *menu_help_window.parent: menu1_p4
175 *menu_help_window.static: true
176 *menu_help_window.name: menu_help_window
177 *menu_help_window.labelString: "On Window ..."
178 *menu_help_window.mnemonic: "W"
179 *menu_help_window.fontList: BoldTextFont
180 *menu_help_window.activateCallback: DisplayExtendedHelp(UxWidget);
181
182 *menu1_top_b1.class: cascadeButton
183 *menu1_top_b1.parent: menu1
184 *menu1_top_b1.static: true
185 *menu1_top_b1.name: menu1_top_b1
186 *menu1_top_b1.labelString: "File"
187 *menu1_top_b1.mnemonic: "F"
188 *menu1_top_b1.subMenuId: "menu1_p1"
189 *menu1_top_b1.background: MenuBackground
190 *menu1_top_b1.fontList: BoldTextFont
191 *menu1_top_b1.foreground: MenuForeground
192
193 *menu1_top_b4.class: cascadeButton
194 *menu1_top_b4.parent: menu1
195 *menu1_top_b4.static: true
196 *menu1_top_b4.name: menu1_top_b4
197 *menu1_top_b4.labelString: "Help"
198 *menu1_top_b4.mnemonic: "H"
199 *menu1_top_b4.subMenuId: "menu1_p4"
200 *menu1_top_b4.background: MenuBackground
201 *menu1_top_b4.fontList: BoldTextFont
202 *menu1_top_b4.foreground: MenuForeground
203
204 *form6.class: form
205 *form6.parent: MainWindow
206 *form6.static: true
207 *form6.name: form6
208 *form6.background: WindowBackground
209
210 *separator1.class: separator
211 *separator1.parent: form6
212 *separator1.static: true
213 *separator1.name: separator1
214 *separator1.x: -4
215 *separator1.y: 496
216 *separator1.width: 450
217 *separator1.height: 6
218 *separator1.background: LabelBackground
219
220 *short_help.class: text
221 *short_help.parent: form6
222 *short_help.static: true
223 *short_help.name: short_help
224 *short_help.x: -2
225 *short_help.y: 502
226 *short_help.width: 448
227 *short_help.height: 50
228 *short_help.background: SHelpBackground
229 *short_help.cursorPositionVisible: "false"
230 *short_help.editable: "false"
231 *short_help.fontList: TextFont
232
233 *separator2.class: separator
234 *separator2.parent: form6
235 *separator2.static: true
236 *separator2.name: separator2
237 *separator2.x: -4
238 *separator2.y: 552
239 *separator2.width: 450
240 *separator2.height: 6
241 *separator2.background: LabelBackground
242
243 *label2.class: label
244 *label2.parent: form6
245 *label2.static: true
246 *label2.name: label2
247 *label2.x: 10
248 *label2.y: 38
249 *label2.width: 54
250 *label2.height: 20
251 *label2.labelString: "Prefix /"
252 *label2.background: ApplicBackground
253 *label2.fontList: TextFont
254 *label2.foreground: TextForeground
255
256 *label3.class: label
257 *label3.parent: form6
258 *label3.static: true
259 *label3.name: label3
260 *label3.x: 238
261 *label3.y: 36
262 *label3.width: 70
263 *label3.height: 25
264 *label3.labelString: "Numbers :"
265 *label3.background: ApplicBackground
266 *label3.fontList: TextFont
267 *label3.foreground: TextForeground
268
269 *tg_biasopt.class: toggleButton
270 *tg_biasopt.parent: form6
271 *tg_biasopt.static: true
272 *tg_biasopt.name: tg_biasopt
273 *tg_biasopt.x: 16
274 *tg_biasopt.y: 72
275 *tg_biasopt.width: 68
276 *tg_biasopt.height: 30
277 *tg_biasopt.labelString: "Bias"
278 *tg_biasopt.background: ApplicBackground
279 *tg_biasopt.alignment: "alignment_beginning"
280 *tg_biasopt.fontList: TextFont
281 *tg_biasopt.set: "false"
282 *tg_biasopt.highlightColor: "black"
283 *tg_biasopt.selectColor: "green"
284 *tg_biasopt.indicatorSize: 18
285 *tg_biasopt.highlightOnEnter: "true"
286 *tg_biasopt.foreground: TextForeground
287 *tg_biasopt.valueChangedCallback: {\
288 #include <spec_comm.h>\
289 \
290 if ( XmToggleButtonGetState(UxWidget) )\
291 WriteKeyword("YES", K_BIASOPT);\
292 else\
293 WriteKeyword("NO ", K_BIASOPT);\
294 \
295 }
296
297 *tg_darkopt.class: toggleButton
298 *tg_darkopt.parent: form6
299 *tg_darkopt.static: true
300 *tg_darkopt.name: tg_darkopt
301 *tg_darkopt.x: 16
302 *tg_darkopt.y: 112
303 *tg_darkopt.width: 68
304 *tg_darkopt.height: 30
305 *tg_darkopt.labelString: "Dark"
306 *tg_darkopt.background: ApplicBackground
307 *tg_darkopt.alignment: "alignment_beginning"
308 *tg_darkopt.fontList: TextFont
309 *tg_darkopt.set: "false"
310 *tg_darkopt.highlightColor: "black"
311 *tg_darkopt.selectColor: "green"
312 *tg_darkopt.indicatorSize: 18
313 *tg_darkopt.highlightOnEnter: "true"
314 *tg_darkopt.foreground: TextForeground
315 *tg_darkopt.valueChangedCallback: {\
316 #include <spec_comm.h>\
317 \
318 if ( XmToggleButtonGetState(UxWidget) )\
319 WriteKeyword("YES", K_DARKOPT);\
320 else\
321 WriteKeyword("NO ", K_DARKOPT);\
322 \
323 }
324
325 *tg_flatopt.class: toggleButton
326 *tg_flatopt.parent: form6
327 *tg_flatopt.static: true
328 *tg_flatopt.name: tg_flatopt
329 *tg_flatopt.x: 16
330 *tg_flatopt.y: 152
331 *tg_flatopt.width: 86
332 *tg_flatopt.height: 30
333 *tg_flatopt.labelString: "Flat field"
334 *tg_flatopt.background: ApplicBackground
335 *tg_flatopt.alignment: "alignment_beginning"
336 *tg_flatopt.fontList: TextFont
337 *tg_flatopt.set: "false"
338 *tg_flatopt.highlightColor: "black"
339 *tg_flatopt.selectColor: "green"
340 *tg_flatopt.indicatorSize: 18
341 *tg_flatopt.highlightOnEnter: "true"
342 *tg_flatopt.foreground: TextForeground
343 *tg_flatopt.valueChangedCallback: {\
344 #include <spec_comm.h>\
345 \
346 if ( XmToggleButtonGetState(UxWidget) )\
347 WriteKeyword("YES", K_FLATOPT);\
348 else\
349 WriteKeyword("NO ", K_FLATOPT);\
350 \
351 }
352
353 *tg_rebopt.class: toggleButton
354 *tg_rebopt.parent: form6
355 *tg_rebopt.static: true
356 *tg_rebopt.name: tg_rebopt
357 *tg_rebopt.x: 16
358 *tg_rebopt.y: 287
359 *tg_rebopt.width: 70
360 *tg_rebopt.height: 30
361 *tg_rebopt.set: "false"
362 *tg_rebopt.labelString: "Rebin"
363 *tg_rebopt.background: ApplicBackground
364 *tg_rebopt.alignment: "alignment_beginning"
365 *tg_rebopt.fontList: TextFont
366 *tg_rebopt.highlightColor: "black"
367 *tg_rebopt.selectColor: "green"
368 *tg_rebopt.indicatorSize: 18
369 *tg_rebopt.highlightOnEnter: "true"
370 *tg_rebopt.foreground: TextForeground
371 *tg_rebopt.valueChangedCallback: {\
372 #include <spec_comm.h>\
373 \
374 if ( XmToggleButtonGetState(UxWidget) )\
375 WriteKeyword("YES", K_REBOPT);\
376 else\
377 WriteKeyword("NO ", K_REBOPT);\
378 \
379 }
380
381 *label8.class: label
382 *label8.parent: form6
383 *label8.static: true
384 *label8.name: label8
385 *label8.x: 104
386 *label8.y: 280
387 *label8.width: 128
388 *label8.height: 25
389 *label8.labelString: "Parameters table :"
390 *label8.background: ApplicBackground
391 *label8.fontList: TextFont
392 *label8.foreground: TextForeground
393
394 *rowColumn1.class: rowColumn
395 *rowColumn1.parent: form6
396 *rowColumn1.static: true
397 *rowColumn1.name: rowColumn1
398 *rowColumn1.x: 106
399 *rowColumn1.y: 310
400 *rowColumn1.width: 318
401 *rowColumn1.height: 34
402 *rowColumn1.orientation: "horizontal"
403 *rowColumn1.radioBehavior: "true"
404 *rowColumn1.background: ApplicBackground
405 *rowColumn1.packing: "pack_tight"
406
407 *tg_linear.class: toggleButton
408 *tg_linear.parent: rowColumn1
409 *tg_linear.static: true
410 *tg_linear.name: tg_linear
411 *tg_linear.x: 3
412 *tg_linear.y: 3
413 *tg_linear.width: 67
414 *tg_linear.height: 21
415 *tg_linear.indicatorType: "one_of_many"
416 *tg_linear.labelString: "LINEAR"
417 *tg_linear.set: "true"
418 *tg_linear.background: ApplicBackground
419 *tg_linear.fontList: TextFont
420 *tg_linear.selectColor: "green"
421 *tg_linear.highlightOnEnter: "true"
422 *tg_linear.foreground: TextForeground
423 *tg_linear.valueChangedCallback: {\
424 #include <spec_comm.h>\
425 \
426 if ( XmToggleButtonGetState(UxWidget) )\
427 WriteKeyword("LINEAR", K_REDRBMTD);\
428 \
429 }
430
431 *tg_quadratic.class: toggleButton
432 *tg_quadratic.parent: rowColumn1
433 *tg_quadratic.static: true
434 *tg_quadratic.name: tg_quadratic
435 *tg_quadratic.x: 75
436 *tg_quadratic.y: 0
437 *tg_quadratic.width: 89
438 *tg_quadratic.height: 25
439 *tg_quadratic.indicatorType: "one_of_many"
440 *tg_quadratic.labelString: "CUADRATIC"
441 *tg_quadratic.background: ApplicBackground
442 *tg_quadratic.fontList: TextFont
443 *tg_quadratic.selectColor: "green"
444 *tg_quadratic.highlightOnEnter: "true"
445 *tg_quadratic.foreground: TextForeground
446 *tg_quadratic.valueChangedCallback: {\
447 #include <spec_comm.h>\
448 \
449 if ( XmToggleButtonGetState(UxWidget) )\
450 WriteKeyword("QUADRATIC", K_REDRBMTD);\
451 \
452 }
453
454 *tg_spline.class: toggleButton
455 *tg_spline.parent: rowColumn1
456 *tg_spline.static: true
457 *tg_spline.name: tg_spline
458 *tg_spline.x: 235
459 *tg_spline.y: 3
460 *tg_spline.width: 89
461 *tg_spline.height: 28
462 *tg_spline.indicatorType: "one_of_many"
463 *tg_spline.labelString: "SPLINE"
464 *tg_spline.background: ApplicBackground
465 *tg_spline.fontList: TextFont
466 *tg_spline.selectColor: "green"
467 *tg_spline.highlightOnEnter: "true"
468 *tg_spline.foreground: TextForeground
469 *tg_spline.valueChangedCallback: {\
470 #include <spec_comm.h>\
471 \
472 if ( XmToggleButtonGetState(UxWidget) )\
473 WriteKeyword("SPLINE", K_REDRBMTD);\
474 \
475 }
476
477 *tg_respopt.class: toggleButton
478 *tg_respopt.parent: form6
479 *tg_respopt.static: true
480 *tg_respopt.name: tg_respopt
481 *tg_respopt.x: 16
482 *tg_respopt.y: 391
483 *tg_respopt.width: 65
484 *tg_respopt.height: 28
485 *tg_respopt.labelString: "Flux"
486 *tg_respopt.background: ApplicBackground
487 *tg_respopt.alignment: "alignment_beginning"
488 *tg_respopt.fontList: TextFont
489 *tg_respopt.set: "false"
490 *tg_respopt.highlightColor: "black"
491 *tg_respopt.selectColor: "green"
492 *tg_respopt.indicatorSize: 18
493 *tg_respopt.highlightOnEnter: "true"
494 *tg_respopt.foreground: TextForeground
495 *tg_respopt.valueChangedCallback: {\
496 #include <spec_comm.h>\
497 \
498 if ( XmToggleButtonGetState(UxWidget) )\
499 WriteKeyword("YES", K_RESPOPT);\
500 else\
501 WriteKeyword("NO ", K_RESPOPT);\
502 \
503 }
504
505 *tg_extopt.class: toggleButton
506 *tg_extopt.parent: form6
507 *tg_extopt.static: true
508 *tg_extopt.name: tg_extopt
509 *tg_extopt.x: 16
510 *tg_extopt.y: 350
511 *tg_extopt.width: 85
512 *tg_extopt.height: 31
513 *tg_extopt.labelString: "Extinct"
514 *tg_extopt.background: ApplicBackground
515 *tg_extopt.alignment: "alignment_beginning"
516 *tg_extopt.fontList: TextFont
517 *tg_extopt.set: "false"
518 *tg_extopt.highlightColor: "black"
519 *tg_extopt.selectColor: "green"
520 *tg_extopt.indicatorSize: 18
521 *tg_extopt.highlightOnEnter: "true"
522 *tg_extopt.foreground: TextForeground
523 *tg_extopt.valueChangedCallback: {\
524 #include <spec_comm.h>\
525 \
526 if ( XmToggleButtonGetState(UxWidget) )\
527 WriteKeyword("YES", K_EXTOPT);\
528 else\
529 WriteKeyword("NO ", K_EXTOPT);\
530 \
531 }
532
533 *label9.class: label
534 *label9.parent: form6
535 *label9.static: true
536 *label9.name: label9
537 *label9.x: 108
538 *label9.y: 397
539 *label9.width: 115
540 *label9.height: 20
541 *label9.labelString: "Response curve :"
542 *label9.background: ApplicBackground
543 *label9.fontList: TextFont
544 *label9.foreground: TextForeground
545
546 *label10.class: label
547 *label10.parent: form6
548 *label10.static: true
549 *label10.name: label10
550 *label10.x: 104
551 *label10.y: 356
552 *label10.width: 98
553 *label10.height: 20
554 *label10.labelString: "Extinct table :"
555 *label10.background: ApplicBackground
556 *label10.fontList: TextFont
557 *label10.foreground: TextForeground
558
559 *label11.class: label
560 *label11.parent: form6
561 *label11.static: true
562 *label11.name: label11
563 *label11.x: 0
564 *label11.y: 430
565 *label11.width: 123
566 *label11.height: 20
567 *label11.labelString: "OUTPUT FILES"
568 *label11.background: ApplicBackground
569 *label11.fontList: TextFont
570 *label11.foreground: TextForeground
571
572 *label12.class: label
573 *label12.parent: form6
574 *label12.static: true
575 *label12.name: label12
576 *label12.x: 10
577 *label12.y: 460
578 *label12.width: 59
579 *label12.height: 20
580 *label12.labelString: "Prefix :"
581 *label12.background: ApplicBackground
582 *label12.fontList: TextFont
583 *label12.foreground: TextForeground
584
585 *label13.class: label
586 *label13.parent: form6
587 *label13.static: true
588 *label13.name: label13
589 *label13.x: 191
590 *label13.y: 460
591 *label13.width: 81
592 *label13.height: 20
593 *label13.labelString: "Initial file # :"
594 *label13.background: ApplicBackground
595 *label13.fontList: TextFont
596 *label13.foreground: TextForeground
597
598 *tg_rotopt.class: toggleButton
599 *tg_rotopt.parent: form6
600 *tg_rotopt.static: true
601 *tg_rotopt.name: tg_rotopt
602 *tg_rotopt.x: 16
603 *tg_rotopt.y: 194
604 *tg_rotopt.width: 72
605 *tg_rotopt.height: 30
606 *tg_rotopt.labelString: "Rotate"
607 *tg_rotopt.background: ApplicBackground
608 *tg_rotopt.alignment: "alignment_beginning"
609 *tg_rotopt.fontList: TextFont
610 *tg_rotopt.set: "false"
611 *tg_rotopt.highlightColor: "black"
612 *tg_rotopt.selectColor: "green"
613 *tg_rotopt.indicatorSize: 18
614 *tg_rotopt.highlightOnEnter: "true"
615 *tg_rotopt.foreground: TextForeground
616 *tg_rotopt.valueChangedCallback: {\
617 #include <spec_comm.h>\
618 \
619 if ( XmToggleButtonGetState(UxWidget) )\
620 WriteKeyword("YES", K_ROTOPT);\
621 else\
622 WriteKeyword("NO ", K_ROTOPT);\
623 \
624 }
625
626 *tg_trimopt.class: toggleButton
627 *tg_trimopt.parent: form6
628 *tg_trimopt.static: true
629 *tg_trimopt.name: tg_trimopt
630 *tg_trimopt.x: 16
631 *tg_trimopt.y: 234
632 *tg_trimopt.width: 62
633 *tg_trimopt.height: 26
634 *tg_trimopt.labelString: "Trim"
635 *tg_trimopt.background: ApplicBackground
636 *tg_trimopt.alignment: "alignment_beginning"
637 *tg_trimopt.fontList: TextFont
638 *tg_trimopt.set: "false"
639 *tg_trimopt.highlightColor: "black"
640 *tg_trimopt.selectColor: "green"
641 *tg_trimopt.indicatorSize: 18
642 *tg_trimopt.highlightOnEnter: "true"
643 *tg_trimopt.foreground: TextForeground
644 *tg_trimopt.valueChangedCallback: {\
645 #include <spec_comm.h>\
646 \
647 if ( XmToggleButtonGetState(UxWidget) )\
648 WriteKeyword("YES", K_TRIMOPT);\
649 else\
650 WriteKeyword("NO ", K_TRIMOPT);\
651 \
652 }
653
654 *tf_inputf.class: textField
655 *tf_inputf.parent: form6
656 *tf_inputf.static: true
657 *tf_inputf.name: tf_inputf
658 *tf_inputf.x: 134
659 *tf_inputf.y: 32
660 *tf_inputf.width: 104
661 *tf_inputf.height: 34
662 *tf_inputf.background: TextBackground
663 *tf_inputf.fontList: TextFont
664 *tf_inputf.translations: FileSelectMain
665 *tf_inputf.maxLength: 15
666 *tf_inputf.columns: 128
667 *tf_inputf.highlightOnEnter: "true"
668 *tf_inputf.foreground: TextForeground
669 *tf_inputf.losingFocusCallback: {\
670 #include <spec_comm.h>\
671 \
672 char *text;\
673 extern char Inputf[];\
674 \
675 text = XmTextGetString(UxWidget);\
676 \
677 if ( strcmp(text, Inputf) ) {\
678 strcpy(Inputf, text);\
679 WriteKeyword(text, K_INPUTF);\
680 }\
681 \
682 XtFree(text);\
683 }
684
685 *tf_inpnumb.class: textField
686 *tf_inpnumb.parent: form6
687 *tf_inpnumb.static: true
688 *tf_inpnumb.name: tf_inpnumb
689 *tf_inpnumb.x: 308
690 *tf_inpnumb.y: 32
691 *tf_inpnumb.width: 128
692 *tf_inpnumb.height: 34
693 *tf_inpnumb.background: TextBackground
694 *tf_inpnumb.fontList: TextFont
695 *tf_inpnumb.maxLength: 18
696 *tf_inpnumb.columns: 128
697 *tf_inpnumb.highlightOnEnter: "true"
698 *tf_inpnumb.foreground: TextForeground
699 *tf_inpnumb.losingFocusCallback: {\
700 #include <spec_comm.h>\
701 \
702 char *text, valok[256];\
703 int i, j = 0;\
704 extern char Inpnumb[];\
705 \
706 text = XmTextGetString(UxWidget);\
707 \
708 for ( i = 0; text[i] != '\0'; i++ ) \
709 if ( text[i] != ' ' && (text[i] == ',' || text[i] == '-' || \
710 (text[i] <= '9' && text[i] >= '0')) )\
711 valok[j++] = text[i];\
712 valok[j] = '\0';\
713 \
714 if ( strcmp(valok, Inpnumb) ) {\
715 strcpy(Inpnumb, valok);\
716 WriteKeyword(valok, K_INPNUMB);\
717 UxPutText(UxThisWidget, valok);\
718 }\
719 \
720 XtFree(text);\
721 }
722
723 *tf_bias.class: textField
724 *tf_bias.parent: form6
725 *tf_bias.static: true
726 *tf_bias.name: tf_bias
727 *tf_bias.x: 104
728 *tf_bias.y: 74
729 *tf_bias.width: 178
730 *tf_bias.height: 34
731 *tf_bias.background: TextBackground
732 *tf_bias.fontList: TextFont
733 *tf_bias.translations: FileSelectMain
734 *tf_bias.maxLength: 20
735 *tf_bias.highlightOnEnter: "true"
736 *tf_bias.foreground: TextForeground
737 *tf_bias.losingFocusCallback: {\
738 #include <spec_comm.h>\
739 \
740 char *text;\
741 extern char Bias[];\
742 \
743 text = XmTextGetString(UxWidget);\
744 \
745 if ( strcmp(text, Bias) ) {\
746 strcpy(Bias, text);\
747 WriteKeyword(text, K_BIAS);\
748 }\
749 \
750 XtFree(text);\
751 }
752 *tf_bias.columns: 128
753
754 *tf_dark.class: textField
755 *tf_dark.parent: form6
756 *tf_dark.static: true
757 *tf_dark.name: tf_dark
758 *tf_dark.x: 104
759 *tf_dark.y: 110
760 *tf_dark.width: 178
761 *tf_dark.height: 34
762 *tf_dark.background: TextBackground
763 *tf_dark.fontList: TextFont
764 *tf_dark.translations: FileSelectMain
765 *tf_dark.maxLength: 20
766 *tf_dark.highlightOnEnter: "true"
767 *tf_dark.foreground: TextForeground
768 *tf_dark.losingFocusCallback: {\
769 #include <spec_comm.h>\
770 \
771 char *text;\
772 extern char Dark[];\
773 \
774 text = XmTextGetString(UxWidget);\
775 \
776 if ( strcmp(text, Dark) ) {\
777 strcpy(Dark, text);\
778 WriteKeyword(text, K_DARK);\
779 }\
780 \
781 XtFree(text);\
782 }
783 *tf_dark.columns: 128
784
785 *tf_flat.class: textField
786 *tf_flat.parent: form6
787 *tf_flat.static: true
788 *tf_flat.name: tf_flat
789 *tf_flat.x: 104
790 *tf_flat.y: 148
791 *tf_flat.width: 178
792 *tf_flat.height: 34
793 *tf_flat.background: TextBackground
794 *tf_flat.fontList: TextFont
795 *tf_flat.translations: FileSelectMain
796 *tf_flat.maxLength: 20
797 *tf_flat.highlightOnEnter: "true"
798 *tf_flat.foreground: TextForeground
799 *tf_flat.losingFocusCallback: {\
800 #include <spec_comm.h>\
801 \
802 char *text;\
803 extern char Flat[];\
804 \
805 text = XmTextGetString(UxWidget);\
806 \
807 if ( strcmp(text, Flat) ) {\
808 strcpy(Flat, text);\
809 WriteKeyword(text, K_FLAT);\
810 }\
811 \
812 XtFree(text);\
813 }
814 *tf_flat.columns: 128
815
816 *tf_trim4.class: textField
817 *tf_trim4.parent: form6
818 *tf_trim4.static: true
819 *tf_trim4.name: tf_trim4
820 *tf_trim4.x: 374
821 *tf_trim4.y: 230
822 *tf_trim4.width: 60
823 *tf_trim4.height: 34
824 *tf_trim4.background: TextBackground
825 *tf_trim4.fontList: TextFont
826 *tf_trim4.maxLength: 20
827 *tf_trim4.highlightOnEnter: "true"
828 *tf_trim4.foreground: TextForeground
829 *tf_trim4.losingFocusCallback: {\
830 #include <spec_comm.h>\
831 \
832 char *text;\
833 int val;\
834 extern int Trim[];\
835 \
836 text = XmTextGetString(UxWidget);\
837 sscanf(text, "%d", &val);\
838 \
839 if ( val != Trim[3] ) {\
840 Trim[3] = val;\
841 WriteKeyword(text, K_TRIM4);\
842 }\
843 \
844 XtFree(text);\
845 }
846
847 *tf_longsess.class: textField
848 *tf_longsess.parent: form6
849 *tf_longsess.static: true
850 *tf_longsess.name: tf_longsess
851 *tf_longsess.x: 232
852 *tf_longsess.y: 276
853 *tf_longsess.width: 178
854 *tf_longsess.height: 34
855 *tf_longsess.background: TextBackground
856 *tf_longsess.fontList: TextFont
857 *tf_longsess.translations: FileSelectMain
858 *tf_longsess.maxLength: 20
859 *tf_longsess.highlightOnEnter: "true"
860 *tf_longsess.foreground: TextForeground
861 *tf_longsess.losingFocusCallback: {\
862 #include <spec_comm.h>\
863 \
864 char *text;\
865 extern char Longsess[];\
866 \
867 text = XmTextGetString(UxWidget);\
868 \
869 if ( strcmp(text, Longsess) ) {\
870 strcpy(Longsess, text);\
871 WriteKeyword(text, K_LONGSESS);\
872 }\
873 \
874 XtFree(text);\
875 }
876 *tf_longsess.columns: 128
877
878 *tf_redextab.class: textField
879 *tf_redextab.parent: form6
880 *tf_redextab.static: true
881 *tf_redextab.name: tf_redextab
882 *tf_redextab.x: 232
883 *tf_redextab.y: 350
884 *tf_redextab.width: 178
885 *tf_redextab.height: 34
886 *tf_redextab.background: TextBackground
887 *tf_redextab.fontList: TextFont
888 *tf_redextab.translations: FileSelectMain
889 *tf_redextab.text: ""
890 *tf_redextab.maxLength: 20
891 *tf_redextab.highlightOnEnter: "true"
892 *tf_redextab.foreground: TextForeground
893 *tf_redextab.losingFocusCallback: {\
894 #include <spec_comm.h>\
895 \
896 char *text;\
897 extern char Redextab[];\
898 \
899 text = XmTextGetString(UxWidget);\
900 \
901 if ( strcmp(text, Redextab) ) {\
902 strcpy(Redextab, text);\
903 WriteKeyword(text, K_REDEXTAB);\
904 }\
905 \
906 XtFree(text);\
907 }
908 *tf_redextab.columns: 128
909
910 *tf_redresp.class: textField
911 *tf_redresp.parent: form6
912 *tf_redresp.static: true
913 *tf_redresp.name: tf_redresp
914 *tf_redresp.x: 232
915 *tf_redresp.y: 390
916 *tf_redresp.width: 178
917 *tf_redresp.height: 34
918 *tf_redresp.background: TextBackground
919 *tf_redresp.fontList: TextFont
920 *tf_redresp.translations: FileSelectMain
921 *tf_redresp.maxLength: 20
922 *tf_redresp.highlightOnEnter: "true"
923 *tf_redresp.foreground: TextForeground
924 *tf_redresp.losingFocusCallback: {\
925 #include <spec_comm.h>\
926 \
927 char *text;\
928 extern char Redresp[];\
929 \
930 text = XmTextGetString(UxWidget);\
931 \
932 if ( strcmp(text, Redresp) ) {\
933 strcpy(Redresp, text);\
934 WriteKeyword(text, K_REDRESP);\
935 }\
936 \
937 XtFree(text);\
938 }
939 *tf_redresp.columns: 128
940
941 *tf_rotstart.class: textField
942 *tf_rotstart.parent: form6
943 *tf_rotstart.static: true
944 *tf_rotstart.name: tf_rotstart
945 *tf_rotstart.x: 218
946 *tf_rotstart.y: 190
947 *tf_rotstart.width: 72
948 *tf_rotstart.height: 34
949 *tf_rotstart.background: TextBackground
950 *tf_rotstart.fontList: TextFont
951 *tf_rotstart.columns: 15
952 *tf_rotstart.maxLength: 15
953 *tf_rotstart.highlightOnEnter: "true"
954 *tf_rotstart.foreground: TextForeground
955 *tf_rotstart.losingFocusCallback: {\
956 #include <spec_comm.h>\
957 \
958 char *text;\
959 double val;\
960 extern double Rotstart;\
961 \
962 text = XmTextGetString(UxWidget);\
963 sscanf(text, "%lf", &val);\
964 \
965 if ( val != Rotstart ) {\
966 Rotstart = val;\
967 WriteKeyword(text, K_ROTSTART);\
968 }\
969 \
970 XtFree(text);\
971 }
972
973 *tf_outputf.class: textField
974 *tf_outputf.parent: form6
975 *tf_outputf.static: true
976 *tf_outputf.name: tf_outputf
977 *tf_outputf.x: 74
978 *tf_outputf.y: 452
979 *tf_outputf.width: 100
980 *tf_outputf.height: 34
981 *tf_outputf.background: TextBackground
982 *tf_outputf.fontList: TextFont
983 *tf_outputf.columns: 128
984 *tf_outputf.maxLength: 10
985 *tf_outputf.highlightOnEnter: "true"
986 *tf_outputf.foreground: TextForeground
987 *tf_outputf.losingFocusCallback: {\
988 #include <spec_comm.h>\
989 \
990 char *text;\
991 extern char Outputf[];\
992 \
993 text = XmTextGetString(UxWidget);\
994 \
995 if ( strcmp(text, Outputf) ) {\
996 strcpy(Outputf, text);\
997 WriteKeyword(text, K_OUTPUTF);\
998 }\
999 \
1000 XtFree(text);\
1001 }
1002
1003 *tf_outnumb.class: textField
1004 *tf_outnumb.parent: form6
1005 *tf_outnumb.static: true
1006 *tf_outnumb.name: tf_outnumb
1007 *tf_outnumb.x: 276
1008 *tf_outnumb.y: 452
1009 *tf_outnumb.width: 67
1010 *tf_outnumb.height: 34
1011 *tf_outnumb.background: TextBackground
1012 *tf_outnumb.fontList: TextFont
1013 *tf_outnumb.text: ""
1014 *tf_outnumb.columns: 6
1015 *tf_outnumb.maxLength: 6
1016 *tf_outnumb.highlightOnEnter: "true"
1017 *tf_outnumb.foreground: TextForeground
1018 *tf_outnumb.losingFocusCallback: {\
1019 #include <spec_comm.h>\
1020 \
1021 char *text;\
1022 int val;\
1023 extern int Outnumb;\
1024 \
1025 text = XmTextGetString(UxWidget);\
1026 sscanf(text, "%d", &val);\
1027 \
1028 if ( val != Outnumb ) {\
1029 Outnumb = val;\
1030 WriteKeyword(text, K_OUTNUMB);\
1031 }\
1032 \
1033 XtFree(text);\
1034 }
1035
1036 *label5.class: label
1037 *label5.parent: form6
1038 *label5.static: true
1039 *label5.name: label5
1040 *label5.x: 64
1041 *label5.y: 38
1042 *label5.width: 68
1043 *label5.height: 20
1044 *label5.background: ApplicBackground
1045 *label5.fontList: TextFont
1046 *label5.labelString: "Catalog :"
1047 *label5.foreground: TextForeground
1048
1049 *tf_trim1.class: textField
1050 *tf_trim1.parent: form6
1051 *tf_trim1.static: true
1052 *tf_trim1.name: tf_trim1
1053 *tf_trim1.x: 194
1054 *tf_trim1.y: 230
1055 *tf_trim1.width: 60
1056 *tf_trim1.height: 34
1057 *tf_trim1.background: TextBackground
1058 *tf_trim1.fontList: TextFont
1059 *tf_trim1.maxLength: 20
1060 *tf_trim1.highlightOnEnter: "true"
1061 *tf_trim1.foreground: TextForeground
1062 *tf_trim1.losingFocusCallback: {\
1063 #include <spec_comm.h>\
1064 \
1065 char *text;\
1066 int val;\
1067 extern int Trim[];\
1068 \
1069 text = XmTextGetString(UxWidget);\
1070 sscanf(text, "%d", &val);\
1071 \
1072 if ( val != Trim[0] ) {\
1073 Trim[0] = val;\
1074 WriteKeyword(text, K_TRIM1);\
1075 }\
1076 \
1077 XtFree(text);\
1078 }
1079
1080 *tf_trim2.class: textField
1081 *tf_trim2.parent: form6
1082 *tf_trim2.static: true
1083 *tf_trim2.name: tf_trim2
1084 *tf_trim2.x: 254
1085 *tf_trim2.y: 230
1086 *tf_trim2.width: 60
1087 *tf_trim2.height: 34
1088 *tf_trim2.background: TextBackground
1089 *tf_trim2.fontList: TextFont
1090 *tf_trim2.maxLength: 20
1091 *tf_trim2.highlightOnEnter: "true"
1092 *tf_trim2.foreground: TextForeground
1093 *tf_trim2.losingFocusCallback: {\
1094 #include <spec_comm.h>\
1095 \
1096 char *text;\
1097 int val;\
1098 extern int Trim[];\
1099 \
1100 text = XmTextGetString(UxWidget);\
1101 sscanf(text, "%d", &val);\
1102 \
1103 if ( val != Trim[1] ) {\
1104 Trim[1] = val;\
1105 WriteKeyword(text, K_TRIM2);\
1106 }\
1107 \
1108 XtFree(text);\
1109 }
1110
1111 *tf_trim3.class: textField
1112 *tf_trim3.parent: form6
1113 *tf_trim3.static: true
1114 *tf_trim3.name: tf_trim3
1115 *tf_trim3.x: 314
1116 *tf_trim3.y: 230
1117 *tf_trim3.width: 60
1118 *tf_trim3.height: 34
1119 *tf_trim3.background: TextBackground
1120 *tf_trim3.fontList: TextFont
1121 *tf_trim3.maxLength: 20
1122 *tf_trim3.highlightOnEnter: "true"
1123 *tf_trim3.foreground: TextForeground
1124 *tf_trim3.losingFocusCallback: {\
1125 #include <spec_comm.h>\
1126 \
1127 char *text;\
1128 int val;\
1129 extern int Trim[];\
1130 \
1131 text = XmTextGetString(UxWidget);\
1132 sscanf(text, "%d", &val);\
1133 \
1134 if ( val != Trim[2] ) {\
1135 Trim[2] = val;\
1136 WriteKeyword(text, K_TRIM3);\
1137 }\
1138 \
1139 XtFree(text);\
1140 }
1141
1142 *label6.class: label
1143 *label6.parent: form6
1144 *label6.static: true
1145 *label6.name: label6
1146 *label6.x: 106
1147 *label6.y: 236
1148 *label6.width: 84
1149 *label6.height: 25
1150 *label6.labelString: "x1,y1,x2,y2 :"
1151 *label6.background: ApplicBackground
1152 *label6.fontList: TextFont
1153 *label6.foreground: TextForeground
1154
1155 *label7.class: label
1156 *label7.parent: form6
1157 *label7.static: true
1158 *label7.name: label7
1159 *label7.x: 104
1160 *label7.y: 198
1161 *label7.width: 109
1162 *label7.height: 25
1163 *label7.labelString: "start-y,step-y :"
1164 *label7.background: ApplicBackground
1165 *label7.fontList: TextFont
1166 *label7.foreground: TextForeground
1167
1168 *label1.class: label
1169 *label1.parent: form6
1170 *label1.static: true
1171 *label1.name: label1
1172 *label1.x: 0
1173 *label1.y: 10
1174 *label1.width: 105
1175 *label1.height: 20
1176 *label1.labelString: "INPUT FILES"
1177 *label1.background: ApplicBackground
1178 *label1.fontList: TextFont
1179 *label1.foreground: TextForeground
1180
1181 *form2.class: form
1182 *form2.parent: form6
1183 *form2.static: true
1184 *form2.name: form2
1185 *form2.resizePolicy: "resize_none"
1186 *form2.x: 0
1187 *form2.y: 559
1188 *form2.width: 448
1189 *form2.height: 48
1190 *form2.background: ButtonBackground
1191
1192 *pb_execute.class: pushButton
1193 *pb_execute.parent: form2
1194 *pb_execute.static: true
1195 *pb_execute.name: pb_execute
1196 *pb_execute.x: 107
1197 *pb_execute.y: 6
1198 *pb_execute.width: 85
1199 *pb_execute.height: 35
1200 *pb_execute.fontList: BoldTextFont
1201 *pb_execute.foreground: ApplyForeground
1202 *pb_execute.background: ButtonBackground
1203 *pb_execute.labelString: "Apply"
1204 *pb_execute.activateCallback: {\
1205 char *prefix, *numbers;\
1206 extern int ExecuteCaller;\
1207 \
1208 prefix = XmTextFieldGetString(UxGetWidget(tf_inputf));\
1209 numbers = XmTextFieldGetString(UxGetWidget(tf_inpnumb));\
1210 CreateInputCatalog(prefix, numbers);\
1211 \
1212 if ( MissingAirmassInCatalog() ) {\
1213 if ( FillAirmassForm(UxGetWidget(UxFindSwidget("t_airmass_name")),\
1214 UxGetWidget(UxFindSwidget("t_airmass_value")))) {\
1215 UxPopupInterface(UxFindSwidget("AirmassShell"), exclusive_grab);\
1216 ExecuteCaller = TRUE;\
1217 }\
1218 }\
1219 else\
1220 ExecuteReduce();\
1221 \
1222 XtFree(prefix);\
1223 XtFree(numbers);\
1224 \
1225 }
1226 *pb_execute.highlightOnEnter: "true"
1227 *pb_execute.highlightColor: ButtonForeground
1228
1229 *pb_airmass.class: pushButton
1230 *pb_airmass.parent: form2
1231 *pb_airmass.static: true
1232 *pb_airmass.name: pb_airmass
1233 *pb_airmass.x: 8
1234 *pb_airmass.y: 6
1235 *pb_airmass.width: 85
1236 *pb_airmass.height: 35
1237 *pb_airmass.fontList: BoldTextFont
1238 *pb_airmass.foreground: ButtonForeground
1239 *pb_airmass.background: ButtonBackground
1240 *pb_airmass.labelString: "Airmass ..."
1241 *pb_airmass.activateCallback: {\
1242 char *prefix, *numbers;\
1243 extern int ExecuteCaller;\
1244 \
1245 prefix = XmTextFieldGetString(UxGetWidget(tf_inputf));\
1246 numbers = XmTextFieldGetString(UxGetWidget(tf_inpnumb));\
1247 CreateInputCatalog(prefix, numbers);\
1248 \
1249 if ( FillAirmassForm(UxGetWidget(UxFindSwidget("t_airmass_name")),\
1250 UxGetWidget(UxFindSwidget("t_airmass_value")))) {\
1251 ExecuteCaller = FALSE;\
1252 UxPopupInterface(UxFindSwidget("AirmassShell"), exclusive_grab);\
1253 }\
1254 \
1255 XtFree(prefix);\
1256 XtFree(numbers);\
1257 \
1258 }
1259 *pb_airmass.highlightOnEnter: "true"
1260 *pb_airmass.highlightColor: ButtonForeground
1261
1262 *tf_rotstep.class: textField
1263 *tf_rotstep.parent: form6
1264 *tf_rotstep.static: true
1265 *tf_rotstep.name: tf_rotstep
1266 *tf_rotstep.x: 290
1267 *tf_rotstep.y: 190
1268 *tf_rotstep.width: 72
1269 *tf_rotstep.height: 34
1270 *tf_rotstep.background: TextBackground
1271 *tf_rotstep.fontList: TextFont
1272 *tf_rotstep.columns: 15
1273 *tf_rotstep.maxLength: 15
1274 *tf_rotstep.highlightOnEnter: "true"
1275 *tf_rotstep.foreground: TextForeground
1276 *tf_rotstep.losingFocusCallback: {\
1277 #include <spec_comm.h>\
1278 \
1279 char *text;\
1280 double val;\
1281 extern double Rotstep;\
1282 \
1283 text = XmTextGetString(UxWidget);\
1284 sscanf(text, "%lf", &val);\
1285 \
1286 if ( val != Rotstep ) {\
1287 Rotstep = val;\
1288 WriteKeyword(text, K_ROTSTEP);\
1289 }\
1290 \
1291 XtFree(text);\
1292 }
1293