1
! UIMX ascii 2.0 key: 8738
2
*action.FileSelectACT: {\
4
#include <spec_comm.h>\
6
extern swidget FileListInterface, TextFieldSwidget;\
7
extern Widget FileListWidget;\
8
extern char DirSpecs[];\
11
int strip = 1; /* strip off */\
13
TextFieldSwidget = UxThisWidget;\
15
if ( UxWidget == UxGetWidget(UxFindSwidget("tf_lincat")) ) {\
16
SET_LIST_TITLE("Enter line catalog");\
17
ListType = LIST_LINCAT;\
19
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_guess")) ) {\
20
SET_LIST_TITLE("Enter guess table");\
21
ListType = LIST_GUESS;\
23
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flux_tbl")) ) {\
24
SET_LIST_TITLE("Enter flux table");\
25
ListType = LIST_FLUX_TBL;\
27
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_extin_tbl")) ) {\
28
SET_LIST_TITLE("Enter extinction table");\
29
ListType = LIST_EXTIN_TBL;\
32
strcpy(DirSpecs, "*.tbl"); \
33
SetFileList(FileListWidget, strip, DirSpecs);\
34
UxPopupInterface(FileListInterface, exclusive_grab);\
38
UxPutText(UxFindSwidget("shelp_main"), "");\
39
UxPutText(UxFindSwidget("shelp_search"), "");\
40
UxPutText(UxFindSwidget("shelp_calib"), "");\
41
UxPutText(UxFindSwidget("shelp_rebin"), "");\
42
UxPutText(UxFindSwidget("shelp_extract"), "");\
43
UxPutText(UxFindSwidget("shelp_flux"), "");\
46
DisplayShortHelp(UxWidget);\
48
*action.ExtendedHelp: {\
49
DisplayExtendedHelp(UxWidget);\
52
*translation.table: SelectFileMain
53
*translation.parent: ApplicWindow
54
*translation.policy: override
55
*translation.<Btn3Down>: FileSelectACT()
57
*ApplicWindow.class: applicationShell
58
*ApplicWindow.parent: NO_PARENT
59
*ApplicWindow.static: true
60
*ApplicWindow.gbldecl: #include <stdio.h>\
61
#include <ExternResources.h>
62
*ApplicWindow.ispecdecl:
63
*ApplicWindow.funcdecl: swidget create_ApplicWindow()\
65
*ApplicWindow.funcname: create_ApplicWindow
66
*ApplicWindow.funcdef: "swidget", "<create_ApplicWindow>(%)"
67
*ApplicWindow.icode: extern swidget create_SearchShell();\
68
extern swidget create_CalibShell();\
69
extern swidget create_RebinShell();\
70
extern swidget create_FluxShell();\
71
extern swidget create_file_dialog();\
72
extern swidget create_extin_dialog();\
73
extern swidget create_resid_dialog();\
74
extern swidget create_ExtractShell();\
75
extern swidget create_HelpShell();\
79
*ApplicWindow.fcode: create_SearchShell();\
83
create_file_dialog();\
84
create_extin_dialog();\
85
create_resid_dialog();\
86
create_ExtractShell();\
91
*ApplicWindow.auxdecl:
92
*ApplicWindow.name: ApplicWindow
95
*ApplicWindow.width: 447
96
*ApplicWindow.height: 460
97
*ApplicWindow.iconName: "Long Slit"
98
*ApplicWindow.keyboardFocusPolicy: "pointer"
99
*ApplicWindow.title: "Long slit reduction"
100
*ApplicWindow.geometry: "+0+0"
102
*MainWindow.class: mainWindow
103
*MainWindow.parent: ApplicWindow
104
*MainWindow.static: true
105
*MainWindow.name: MainWindow
106
*MainWindow.unitType: "pixels"
109
*MainWindow.width: 440
110
*MainWindow.height: 460
111
*MainWindow.background: WindowBackground
113
*menu1.class: rowColumn
114
*menu1.parent: MainWindow
117
*menu1.rowColumnType: "menu_bar"
118
*menu1.menuAccelerator: "<KeyUp>F10"
119
*menu1.menuHelpWidget: "menu1_top_b5"
120
*menu1.background: MenuBackground
122
*menu1_p1.class: rowColumn
123
*menu1_p1.parent: menu1
124
*menu1_p1.static: true
125
*menu1_p1.name: menu1_p1
126
*menu1_p1.rowColumnType: "menu_pulldown"
127
*menu1_p1.background: MenuBackground
128
*menu1_p1.foreground: MenuForeground
130
*menu1_p1_b1.class: pushButtonGadget
131
*menu1_p1_b1.parent: menu1_p1
132
*menu1_p1_b1.static: true
133
*menu1_p1_b1.name: menu1_p1_b1
134
*menu1_p1_b1.labelString: "Open"
135
*menu1_p1_b1.mnemonic: "O"
136
*menu1_p1_b1.fontList: BoldTextFont
137
*menu1_p1_b1.activateCallback: {\
138
#include <spec_comm.h>\
140
PopupList(LIST_SESSION);\
143
*menu1_p1_b2.class: pushButtonGadget
144
*menu1_p1_b2.parent: menu1_p1
145
*menu1_p1_b2.static: true
146
*menu1_p1_b2.name: menu1_p1_b2
147
*menu1_p1_b2.labelString: "Save"
148
*menu1_p1_b2.mnemonic: "S"
149
*menu1_p1_b2.fontList: BoldTextFont
150
*menu1_p1_b2.activateCallback: {\
151
#include <spec_comm.h>\
153
extern char Session[];\
156
sprintf(command, "%s%s", C_SAVE, Session);\
157
AppendDialogText(command);\
160
*menu1_p1_b3.class: pushButtonGadget
161
*menu1_p1_b3.parent: menu1_p1
162
*menu1_p1_b3.static: true
163
*menu1_p1_b3.name: menu1_p1_b3
164
*menu1_p1_b3.labelString: "Save As ..."
165
*menu1_p1_b3.mnemonic: "S"
166
*menu1_p1_b3.fontList: BoldTextFont
167
*menu1_p1_b3.activateCallback: {\
168
#include <xm_defs.h>\
169
#include <spec_comm.h>\
171
extern int DialogType;\
172
extern char Session[];\
174
SET_DIALOG_PROMPT("Output parameters table :");\
176
XmTextSetString(UxGetWidget(UxFindSwidget("tf_file_dialog")), Session);\
177
DialogType = DIALOG_SESSION;\
178
UxPopupInterface(UxFindSwidget("file_dialog"), exclusive_grab);\
181
*menu1_p1_b4.class: pushButtonGadget
182
*menu1_p1_b4.parent: menu1_p1
183
*menu1_p1_b4.static: true
184
*menu1_p1_b4.name: menu1_p1_b4
185
*menu1_p1_b4.labelString: "Exit"
186
*menu1_p1_b4.accelerator: "E"
187
*menu1_p1_b4.activateCallback: {\
188
#include <spec_comm.h>\
190
AppendDialogText(C_CLEAN);\
195
*menu1_p1_b4.fontList: BoldTextFont
197
*menu1_p4.class: rowColumn
198
*menu1_p4.parent: menu1
199
*menu1_p4.static: true
200
*menu1_p4.name: menu1_p4
201
*menu1_p4.rowColumnType: "menu_pulldown"
202
*menu1_p4.background: MenuBackground
203
*menu1_p4.foreground: MenuForeground
205
*menu1_p4_b1.class: pushButtonGadget
206
*menu1_p4_b1.parent: menu1_p4
207
*menu1_p4_b1.static: true
208
*menu1_p4_b1.name: menu1_p4_b1
209
*menu1_p4_b1.labelString: "Create Display"
210
*menu1_p4_b1.mnemonic: "D"
211
*menu1_p4_b1.fontList: BoldTextFont
212
*menu1_p4_b1.activateCallback: AppendDialogText("make/display");
214
*menu1_p4_b2.class: pushButtonGadget
215
*menu1_p4_b2.parent: menu1_p4
216
*menu1_p4_b2.static: true
217
*menu1_p4_b2.name: menu1_p4_b2
218
*menu1_p4_b2.labelString: "Create Graphics"
219
*menu1_p4_b2.mnemonic: "G"
220
*menu1_p4_b2.fontList: BoldTextFont
221
*menu1_p4_b2.activateCallback: AppendDialogText("graph/long");
223
*menu1_p4_b8.class: separatorGadget
224
*menu1_p4_b8.parent: menu1_p4
225
*menu1_p4_b8.static: true
226
*menu1_p4_b8.name: menu1_p4_b8
228
*menu1_p4_b10.class: pushButtonGadget
229
*menu1_p4_b10.parent: menu1_p4
230
*menu1_p4_b10.static: true
231
*menu1_p4_b10.name: menu1_p4_b10
232
*menu1_p4_b10.labelString: "Load image"
233
*menu1_p4_b10.activateCallback: { \
234
#include <spec_comm.h>\
236
PopupList(LIST_LOAD_IMA);\
238
*menu1_p4_b10.fontList: BoldTextFont
239
*menu1_p4_b10.mnemonic: "L"
241
*menu1_p4_b13.class: pushButtonGadget
242
*menu1_p4_b13.parent: menu1_p4
243
*menu1_p4_b13.static: true
244
*menu1_p4_b13.name: menu1_p4_b13
245
*menu1_p4_b13.labelString: "Clear overlay"
246
*menu1_p4_b13.activateCallback: AppendDialogText("clear/channel over");
247
*menu1_p4_b13.fontList: BoldTextFont
248
*menu1_p4_b13.mnemonic: "o"
250
*menu1_p4_b12.class: separatorGadget
251
*menu1_p4_b12.parent: menu1_p4
252
*menu1_p4_b12.static: true
253
*menu1_p4_b12.name: menu1_p4_b12
255
*menu1_p4_b3.class: pushButtonGadget
256
*menu1_p4_b3.parent: menu1_p4
257
*menu1_p4_b3.static: true
258
*menu1_p4_b3.name: menu1_p4_b3
259
*menu1_p4_b3.labelString: "Print Display"
260
*menu1_p4_b3.mnemonic: "P"
261
*menu1_p4_b3.fontList: BoldTextFont
262
*menu1_p4_b3.activateCallback: AppendDialogText("copy/display laser");
264
*menu1_p4_b4.class: pushButtonGadget
265
*menu1_p4_b4.parent: menu1_p4
266
*menu1_p4_b4.static: true
267
*menu1_p4_b4.name: menu1_p4_b4
268
*menu1_p4_b4.labelString: "Print Graphics"
269
*menu1_p4_b4.mnemonic: "r"
270
*menu1_p4_b4.fontList: BoldTextFont
271
*menu1_p4_b4.activateCallback: AppendDialogText("copy/graph laser");
273
*menu1_p4_b9.class: separatorGadget
274
*menu1_p4_b9.parent: menu1_p4
275
*menu1_p4_b9.static: true
276
*menu1_p4_b9.name: menu1_p4_b9
278
*menu1_p4_b5.class: pushButtonGadget
279
*menu1_p4_b5.parent: menu1_p4
280
*menu1_p4_b5.static: true
281
*menu1_p4_b5.name: menu1_p4_b5
282
*menu1_p4_b5.labelString: "Graphics Cursor"
283
*menu1_p4_b5.mnemonic: "C"
284
*menu1_p4_b5.fontList: BoldTextFont
285
*menu1_p4_b5.activateCallback: AppendDialogText("get/gcursor");
287
*menu1_p4_b11.class: pushButtonGadget
288
*menu1_p4_b11.parent: menu1_p4
289
*menu1_p4_b11.static: true
290
*menu1_p4_b11.name: menu1_p4_b11
291
*menu1_p4_b11.labelString: "Display Cursor"
292
*menu1_p4_b11.mnemonic: "u"
293
*menu1_p4_b11.activateCallback: AppendDialogText("get/cursor");
294
*menu1_p4_b11.fontList: BoldTextFont
296
*menu1_p4_b14.class: separatorGadget
297
*menu1_p4_b14.parent: menu1_p4
298
*menu1_p4_b14.static: true
299
*menu1_p4_b14.name: menu1_p4_b14
301
*menu1_p4_b15.class: pushButtonGadget
302
*menu1_p4_b15.parent: menu1_p4
303
*menu1_p4_b15.static: true
304
*menu1_p4_b15.name: menu1_p4_b15
305
*menu1_p4_b15.labelString: "get MIDAS table"
306
*menu1_p4_b15.activateCallback: {\
307
#include <spec_comm.h>\
309
char midashome[256];\
311
osfphname("MIDASHOME", midashome);\
312
sprintf(DirSpecs, "%s/calib/data/", midashome);\
314
PopupList(LIST_BROWSER);\
316
*menu1_p4_b15.fontList: BoldTextFont
318
*menu1_p5.class: rowColumn
319
*menu1_p5.parent: menu1
320
*menu1_p5.static: true
321
*menu1_p5.name: menu1_p5
322
*menu1_p5.rowColumnType: "menu_pulldown"
323
*menu1_p5.background: MenuBackground
324
*menu1_p5.foreground: MenuForeground
326
*menu_help_context.class: pushButtonGadget
327
*menu_help_context.parent: menu1_p5
328
*menu_help_context.static: true
329
*menu_help_context.name: menu_help_context
330
*menu_help_context.labelString: "On Context ..."
331
*menu_help_context.mnemonic: "C"
332
*menu_help_context.fontList: BoldTextFont
333
*menu_help_context.activateCallback: DisplayExtendedHelp(UxWidget);
335
*menu_help_help.class: pushButtonGadget
336
*menu_help_help.parent: menu1_p5
337
*menu_help_help.static: true
338
*menu_help_help.name: menu_help_help
339
*menu_help_help.labelString: "On Help ..."
340
*menu_help_help.mnemonic: "H"
341
*menu_help_help.fontList: BoldTextFont
342
*menu_help_help.activateCallback: DisplayExtendedHelp(UxWidget);
344
*menu1_p5_b5.class: separatorGadget
345
*menu1_p5_b5.parent: menu1_p5
346
*menu1_p5_b5.static: true
347
*menu1_p5_b5.name: menu1_p5_b5
349
*menu_help_tutorial.class: pushButtonGadget
350
*menu_help_tutorial.parent: menu1_p5
351
*menu_help_tutorial.static: true
352
*menu_help_tutorial.name: menu_help_tutorial
353
*menu_help_tutorial.labelString: "Tutorial"
354
*menu_help_tutorial.mnemonic: "T"
355
*menu_help_tutorial.fontList: BoldTextFont
356
*menu_help_tutorial.activateCallback: DisplayExtendedHelp(UxWidget);
358
*menu_help_version.class: pushButtonGadget
359
*menu_help_version.parent: menu1_p5
360
*menu_help_version.static: true
361
*menu_help_version.name: menu_help_version
362
*menu_help_version.labelString: "On Version..."
363
*menu_help_version.mnemonic: "V"
364
*menu_help_version.fontList: BoldTextFont
365
*menu_help_version.activateCallback: DisplayExtendedHelp(UxWidget);
367
*menu1_top_b1.class: cascadeButton
368
*menu1_top_b1.parent: menu1
369
*menu1_top_b1.static: true
370
*menu1_top_b1.name: menu1_top_b1
371
*menu1_top_b1.labelString: "File"
372
*menu1_top_b1.mnemonic: "F"
373
*menu1_top_b1.subMenuId: "menu1_p1"
374
*menu1_top_b1.background: MenuBackground
375
*menu1_top_b1.fontList: BoldTextFont
376
*menu1_top_b1.foreground: MenuForeground
378
*menu1_top_b4.class: cascadeButton
379
*menu1_top_b4.parent: menu1
380
*menu1_top_b4.static: true
381
*menu1_top_b4.name: menu1_top_b4
382
*menu1_top_b4.labelString: "Utils"
383
*menu1_top_b4.mnemonic: "U"
384
*menu1_top_b4.subMenuId: "menu1_p4"
385
*menu1_top_b4.background: MenuBackground
386
*menu1_top_b4.fontList: BoldTextFont
387
*menu1_top_b4.foreground: MenuForeground
389
*menu1_top_b5.class: cascadeButton
390
*menu1_top_b5.parent: menu1
391
*menu1_top_b5.static: true
392
*menu1_top_b5.name: menu1_top_b5
393
*menu1_top_b5.labelString: "Help"
394
*menu1_top_b5.mnemonic: "H"
395
*menu1_top_b5.subMenuId: "menu1_p5"
396
*menu1_top_b5.background: MenuBackground
397
*menu1_top_b5.fontList: BoldTextFont
398
*menu1_top_b5.foreground: MenuForeground
401
*form1.parent: MainWindow
404
*form1.background: WindowBackground
410
*form5.resizePolicy: "resize_none"
415
*form5.background: ButtonBackground
416
*form5.bottomAttachment: "attach_form"
418
*pb_main_search.class: pushButton
419
*pb_main_search.parent: form5
420
*pb_main_search.static: true
421
*pb_main_search.name: pb_main_search
424
*pb_main_search.width: 86
425
*pb_main_search.height: 30
426
*pb_main_search.background: ButtonBackground
427
*pb_main_search.fontList: BoldTextFont
428
*pb_main_search.foreground: ButtonForeground
429
*pb_main_search.labelString: "Search ..."
430
*pb_main_search.activateCallback: {\
431
PopupLong("SearchShell");\
434
*pb_main_ident.class: pushButton
435
*pb_main_ident.parent: form5
436
*pb_main_ident.static: true
437
*pb_main_ident.name: pb_main_ident
440
*pb_main_ident.width: 86
441
*pb_main_ident.height: 30
442
*pb_main_ident.background: ButtonBackground
443
*pb_main_ident.fontList: BoldTextFont
444
*pb_main_ident.foreground: ButtonForeground
445
*pb_main_ident.labelString: "Identify ..."
446
*pb_main_ident.activateCallback: {\
448
#include <spec_comm.h>\
450
extern char Lincat[], Wlc[];\
452
if ( !file_exists(Wlc, ".bdf") ) {\
453
SCTPUT("*** Error: invalid calibration frame ***");\
456
if ( !file_exists(Lincat, ".tbl") ) {\
457
SCTPUT("*** Error: invalid line catalog table ***");\
461
AppendDialogText(C_IDENT);\
465
*pb_main_calib.class: pushButton
466
*pb_main_calib.parent: form5
467
*pb_main_calib.static: true
468
*pb_main_calib.name: pb_main_calib
469
*pb_main_calib.x: 182
471
*pb_main_calib.width: 86
472
*pb_main_calib.height: 30
473
*pb_main_calib.background: ButtonBackground
474
*pb_main_calib.fontList: BoldTextFont
475
*pb_main_calib.foreground: ButtonForeground
476
*pb_main_calib.labelString: "Calibrate ..."
477
*pb_main_calib.activateCallback: {\
479
#include <spec_comm.h>\
481
AppendDialogText(C_CALIB_ERAS);\
482
PopupLong("CalibShell");\
487
*pb_main_rebin.class: pushButton
488
*pb_main_rebin.parent: form5
489
*pb_main_rebin.static: true
490
*pb_main_rebin.name: pb_main_rebin
491
*pb_main_rebin.x: 270
493
*pb_main_rebin.width: 86
494
*pb_main_rebin.height: 30
495
*pb_main_rebin.background: ButtonBackground
496
*pb_main_rebin.fontList: BoldTextFont
497
*pb_main_rebin.foreground: ButtonForeground
498
*pb_main_rebin.labelString: "Rebin ..."
499
*pb_main_rebin.activateCallback: {\
500
PopupLong("RebinShell");\
503
*pb_main_extract.class: pushButton
504
*pb_main_extract.parent: form5
505
*pb_main_extract.static: true
506
*pb_main_extract.name: pb_main_extract
507
*pb_main_extract.x: 358
508
*pb_main_extract.y: 6
509
*pb_main_extract.width: 86
510
*pb_main_extract.height: 30
511
*pb_main_extract.background: ButtonBackground
512
*pb_main_extract.fontList: BoldTextFont
513
*pb_main_extract.foreground: ButtonForeground
514
*pb_main_extract.labelString: "Extract ..."
515
*pb_main_extract.activateCallback: {\
516
PopupLong("ExtractShell");\
519
*pb_main_flux.class: pushButton
520
*pb_main_flux.parent: form5
521
*pb_main_flux.static: true
522
*pb_main_flux.name: pb_main_flux
525
*pb_main_flux.width: 86
526
*pb_main_flux.height: 30
527
*pb_main_flux.background: ButtonBackground
528
*pb_main_flux.fontList: BoldTextFont
529
*pb_main_flux.foreground: ButtonForeground
530
*pb_main_flux.labelString: "Flux ..."
531
*pb_main_flux.activateCallback: {\
532
PopupLong("FluxShell");\
535
*pb_main_batch.class: pushButton
536
*pb_main_batch.parent: form5
537
*pb_main_batch.static: true
538
*pb_main_batch.name: pb_main_batch
541
*pb_main_batch.width: 86
542
*pb_main_batch.height: 30
543
*pb_main_batch.background: ButtonBackground
544
*pb_main_batch.fontList: BoldTextFont
545
*pb_main_batch.foreground: ButtonForeground
546
*pb_main_batch.labelString: "Batch ..."
547
*pb_main_batch.activateCallback: {\
549
#include <spec_comm.h>\
551
AppendDialogText(C_BATCHRED);\
555
*separator12.class: separator
556
*separator12.parent: form1
557
*separator12.static: true
558
*separator12.name: separator12
561
*separator12.width: 450
562
*separator12.height: 6
563
*separator12.background: LabelBackground
564
*separator12.bottomAttachment: "attach_widget"
565
*separator12.bottomWidget: "form5"
567
*shelp_main.class: text
568
*shelp_main.parent: form1
569
*shelp_main.static: true
570
*shelp_main.name: shelp_main
573
*shelp_main.width: 448
574
*shelp_main.height: 50
575
*shelp_main.background: SHelpBackground
576
*shelp_main.cursorPositionVisible: "false"
577
*shelp_main.editable: "false"
578
*shelp_main.fontList: TextFont
579
*shelp_main.bottomAttachment: "attach_widget"
580
*shelp_main.bottomWidget: "separator12"
582
*separator1.class: separator
583
*separator1.parent: form1
584
*separator1.static: true
585
*separator1.name: separator1
588
*separator1.width: 450
589
*separator1.height: 6
590
*separator1.background: LabelBackground
591
*separator1.bottomAttachment: "attach_widget"
592
*separator1.bottomWidget: "shelp_main"
594
*tf_imin.class: textField
595
*tf_imin.parent: form1
596
*tf_imin.static: true
597
*tf_imin.name: tf_imin
602
*tf_imin.background: TextBackground
603
*tf_imin.fontList: TextFont
604
*tf_imin.highlightOnEnter: "true"
605
*tf_imin.foreground: TextForeground
606
*tf_imin.losingFocusCallback: {\
607
#include <spec_comm.h>\
613
text = XmTextGetString(UxWidget);\
614
sscanf(text, "%f", &val);\
616
if ( val != Imin ) {\
618
WriteKeyword(text, K_IMIN);\
623
*tf_imin.bottomAttachment: "attach_widget"
624
*tf_imin.bottomWidget: "separator1"
627
*label6.parent: form1
634
*label6.background: LabelBackground
635
*label6.fontList: TextFont
636
*label6.labelString: "Minimal Intensity in Catalog :"
637
*label6.alignment: "alignment_beginning"
638
*label6.foreground: TextForeground
639
*label6.bottomAttachment: "attach_widget"
640
*label6.bottomWidget: "separator1"
642
*tf_wrang1.class: textField
643
*tf_wrang1.parent: form1
644
*tf_wrang1.static: true
645
*tf_wrang1.name: tf_wrang1
649
*tf_wrang1.height: 37
650
*tf_wrang1.background: TextBackground
651
*tf_wrang1.fontList: TextFont
652
*tf_wrang1.highlightOnEnter: "true"
653
*tf_wrang1.foreground: TextForeground
654
*tf_wrang1.losingFocusCallback: {\
655
#include <spec_comm.h>\
661
text = XmTextGetString(UxWidget);\
662
sscanf(text, "%d", &val);\
664
if ( val != Wrang[0] ) {\
666
WriteKeyword(text, K_WRANG1);\
671
*tf_wrang1.bottomAttachment: "attach_widget"
672
*tf_wrang1.bottomWidget: "tf_imin"
675
*label5.parent: form1
682
*label5.background: LabelBackground
683
*label5.fontList: TextFont
684
*label5.labelString: "Wavelength Range :"
685
*label5.alignment: "alignment_beginning"
686
*label5.foreground: TextForeground
687
*label5.bottomAttachment: "attach_widget"
688
*label5.bottomWidget: "tf_imin"
690
*tf_wrang2.class: textField
691
*tf_wrang2.parent: form1
692
*tf_wrang2.static: true
693
*tf_wrang2.name: tf_wrang2
697
*tf_wrang2.height: 37
698
*tf_wrang2.background: TextBackground
699
*tf_wrang2.fontList: TextFont
700
*tf_wrang2.highlightOnEnter: "true"
701
*tf_wrang2.foreground: TextForeground
702
*tf_wrang2.losingFocusCallback: {\
703
#include <spec_comm.h>\
709
text = XmTextGetString(UxWidget);\
710
sscanf(text, "%d", &val);\
712
if ( val != Wrang[1] ) {\
714
WriteKeyword(text, K_WRANG2);\
719
*tf_wrang2.bottomAttachment: "attach_widget"
720
*tf_wrang2.bottomWidget: "tf_imin"
722
*tf_lincat.class: textField
723
*tf_lincat.parent: form1
724
*tf_lincat.static: true
725
*tf_lincat.name: tf_lincat
728
*tf_lincat.width: 236
729
*tf_lincat.height: 37
730
*tf_lincat.background: TextBackground
731
*tf_lincat.fontList: TextFont
732
*tf_lincat.highlightOnEnter: "true"
733
*tf_lincat.foreground: TextForeground
734
*tf_lincat.translations: SelectFileMain
735
*tf_lincat.losingFocusCallback: {\
736
#include <spec_comm.h>\
739
extern char Lincat[];\
741
text = XmTextGetString(UxWidget);\
743
if ( strcmp(text, Lincat) ) {\
744
strcpy(Lincat, text);\
745
WriteKeyword(text, K_LINCAT);\
750
*tf_lincat.bottomAttachment: "attach_widget"
751
*tf_lincat.bottomWidget: "tf_wrang1"
754
*label4.parent: form1
761
*label4.background: LabelBackground
762
*label4.fontList: TextFont
763
*label4.labelString: "Line Catalog :"
764
*label4.alignment: "alignment_beginning"
765
*label4.foreground: TextForeground
766
*label4.bottomAttachment: "attach_widget"
767
*label4.bottomWidget: "tf_wrang1"
769
*tf_ystart.class: textField
770
*tf_ystart.parent: form1
771
*tf_ystart.static: true
772
*tf_ystart.name: tf_ystart
776
*tf_ystart.height: 37
777
*tf_ystart.background: TextBackground
778
*tf_ystart.fontList: TextFont
779
*tf_ystart.highlightOnEnter: "true"
780
*tf_ystart.foreground: TextForeground
781
*tf_ystart.losingFocusCallback: {\
782
#include <spec_comm.h>\
788
text = XmTextGetString(UxWidget);\
789
sscanf(text, "%d", &val);\
791
if ( val != Ystart ) {\
793
WriteKeyword(text, K_YSTART);\
798
*tf_ystart.bottomAttachment: "attach_widget"
799
*tf_ystart.bottomWidget: "tf_lincat"
802
*label3.parent: form1
809
*label3.background: LabelBackground
810
*label3.fontList: TextFont
811
*label3.labelString: "Calibration Starting Row :"
812
*label3.alignment: "alignment_beginning"
813
*label3.foreground: TextForeground
814
*label3.bottomAttachment: "attach_widget"
815
*label3.bottomWidget: "tf_lincat"
817
*tf_instrume.class: textField
818
*tf_instrume.parent: form1
819
*tf_instrume.static: true
820
*tf_instrume.name: tf_instrume
823
*tf_instrume.width: 236
824
*tf_instrume.height: 37
825
*tf_instrume.background: TextBackground
826
*tf_instrume.fontList: TextFont
827
*tf_instrume.highlightOnEnter: "true"
828
*tf_instrume.foreground: TextForeground
829
*tf_instrume.borderWidth: 0
830
*tf_instrume.bottomAttachment: "attach_widget"
831
*tf_instrume.bottomWidget: "tf_ystart"
834
*label8.parent: form1
841
*label8.background: LabelBackground
842
*label8.fontList: TextFont
843
*label8.labelString: "Instrument :"
844
*label8.alignment: "alignment_beginning"
845
*label8.foreground: TextForeground
846
*label8.bottomAttachment: "attach_widget"
847
*label8.bottomWidget: "tf_ystart"
850
*label1.parent: form1
857
*label1.background: LabelBackground
858
*label1.fontList: TextFont
859
*label1.labelString: "Calibration Frame :"
860
*label1.alignment: "alignment_beginning"
861
*label1.foreground: TextForeground
862
*label1.bottomAttachment: "attach_widget"
863
*label1.bottomWidget: "tf_instrume"
865
*tf_wlc.class: textField
866
*tf_wlc.parent: form1
873
*tf_wlc.background: TextBackground
874
*tf_wlc.fontList: TextFont
875
*tf_wlc.highlightOnEnter: "false"
876
*tf_wlc.foreground: TextForeground
877
*tf_wlc.cursorPositionVisible: "false"
878
*tf_wlc.editable: "false"
879
*tf_wlc.borderWidth: 1
880
*tf_wlc.bottomAttachment: "attach_widget"
881
*tf_wlc.bottomWidget: "tf_instrume"
883
*tf_session.class: textField
884
*tf_session.parent: form1
885
*tf_session.static: true
886
*tf_session.name: tf_session
889
*tf_session.width: 235
890
*tf_session.height: 37
891
*tf_session.background: TextBackground
892
*tf_session.fontList: TextFont
893
*tf_session.highlightOnEnter: "false"
894
*tf_session.foreground: TextForeground
895
*tf_session.cursorPositionVisible: "false"
896
*tf_session.editable: "false"
897
*tf_session.borderWidth: 1
898
*tf_session.bottomAttachment: "attach_widget"
899
*tf_session.bottomWidget: "tf_wlc"
902
*label2.parent: form1
909
*label2.background: LabelBackground
910
*label2.fontList: TextFont
911
*label2.labelString: "Session :"
912
*label2.alignment: "alignment_beginning"
913
*label2.foreground: TextForeground
914
*label2.bottomAttachment: "attach_widget"
915
*label2.bottomWidget: "tf_wlc"
918
*label7.parent: form1
925
*label7.background: LabelBackground
926
*label7.fontList: TextFont
927
*label7.labelString: "GENERAL PARAMETERS"
928
*label7.alignment: "alignment_beginning"
929
*label7.foreground: TextForeground
930
*label7.bottomAttachment: "attach_widget"
931
*label7.bottomWidget: "tf_session"