Debian Codegraph @

gui/XLong/prj/FluxShell.i

raw
1 ! UIMX ascii 2.0 key: 4163
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
38 *translation.table: FileSelectFlux
39 *translation.parent: FluxShell
40 *translation.policy: override
41 *translation.<Btn3Down>: FileSelectACT()
42
43 *FluxShell.class: applicationShell
44 *FluxShell.parent: NO_PARENT
45 *FluxShell.static: true
46 *FluxShell.gbldecl: #include <stdio.h>\
47 #include <ExternResources.h>
48 *FluxShell.ispecdecl:
49 *FluxShell.funcdecl: swidget create_FluxShell()\
50
51 *FluxShell.funcname: create_FluxShell
52 *FluxShell.funcdef: "swidget", "<create_FluxShell>(%)"
53 *FluxShell.icode:
54 *FluxShell.fcode: return(rtrn);\
55
56 *FluxShell.auxdecl:
57 *FluxShell.name: FluxShell
58 *FluxShell.x: 294
59 *FluxShell.y: 83
60 *FluxShell.width: 490
61 *FluxShell.height: 427
62 *FluxShell.title: "Flux calibration"
63 *FluxShell.keyboardFocusPolicy: "pointer"
64 *FluxShell.geometry: "+10+60"
65 *FluxShell.background: WindowBackground
66
67 *form10.class: form
68 *form10.parent: FluxShell
69 *form10.static: true
70 *form10.name: form10
71 *form10.resizePolicy: "resize_none"
72 *form10.unitType: "pixels"
73 *form10.x: 0
74 *form10.y: 0
75 *form10.width: 408
76 *form10.height: 348
77 *form10.background: WindowBackground
78
79 *form11.class: form
80 *form11.parent: form10
81 *form11.static: true
82 *form11.name: form11
83 *form11.resizePolicy: "resize_none"
84 *form11.x: -2
85 *form11.y: 342
86 *form11.width: 490
87 *form11.height: 84
88 *form11.background: ButtonBackground
89
90 *pb_flux_extin.class: pushButton
91 *pb_flux_extin.parent: form11
92 *pb_flux_extin.static: true
93 *pb_flux_extin.name: pb_flux_extin
94 *pb_flux_extin.x: 8
95 *pb_flux_extin.y: 4
96 *pb_flux_extin.width: 86
97 *pb_flux_extin.height: 30
98 *pb_flux_extin.background: ButtonBackground
99 *pb_flux_extin.fontList: BoldTextFont
100 *pb_flux_extin.foreground: ApplyForeground
101 *pb_flux_extin.labelString: "Extinct..."
102 *pb_flux_extin.activateCallback: {\
103 #include <spec_comm.h>\
104 \
105 PopupList(LIST_EXTIN);\
106 }
107
108 *pushButton18.class: pushButton
109 *pushButton18.parent: form11
110 *pushButton18.static: true
111 *pushButton18.name: pushButton18
112 *pushButton18.x: 290
113 *pushButton18.y: 42
114 *pushButton18.width: 86
115 *pushButton18.height: 30
116 *pushButton18.background: ButtonBackground
117 *pushButton18.fontList: BoldTextFont
118 *pushButton18.foreground: CancelForeground
119 *pushButton18.labelString: "Cancel"
120 *pushButton18.activateCallback: {\
121 UxPopdownInterface(UxFindSwidget("FluxShell"));\
122 }
123
124 *pb_flux_presp.class: pushButton
125 *pb_flux_presp.parent: form11
126 *pb_flux_presp.static: true
127 *pb_flux_presp.name: pb_flux_presp
128 *pb_flux_presp.x: 196
129 *pb_flux_presp.y: 42
130 *pb_flux_presp.width: 86
131 *pb_flux_presp.height: 30
132 *pb_flux_presp.background: ButtonBackground
133 *pb_flux_presp.fontList: BoldTextFont
134 *pb_flux_presp.foreground: ButtonForeground
135 *pb_flux_presp.labelString: "Plot resp"
136 *pb_flux_presp.activateCallback: {\
137 #include <spec_comm.h>\
138 \
139 AppendDialogText(C_PLOT_RESP);\
140 \
141 }
142
143 *pb_flux_integr.class: pushButton
144 *pb_flux_integr.parent: form11
145 *pb_flux_integr.static: true
146 *pb_flux_integr.name: pb_flux_integr
147 *pb_flux_integr.x: 102
148 *pb_flux_integr.y: 4
149 *pb_flux_integr.width: 86
150 *pb_flux_integr.height: 30
151 *pb_flux_integr.background: ButtonBackground
152 *pb_flux_integr.fontList: BoldTextFont
153 *pb_flux_integr.foreground: ApplyForeground
154 *pb_flux_integr.labelString: "Integrate..."
155 *pb_flux_integr.activateCallback: {\
156 #include <spec_comm.h>\
157 \
158 PopupList(LIST_INTEGR);\
159 }
160
161 *pb_flux_fit.class: pushButton
162 *pb_flux_fit.parent: form11
163 *pb_flux_fit.static: true
164 *pb_flux_fit.name: pb_flux_fit
165 *pb_flux_fit.x: 196
166 *pb_flux_fit.y: 4
167 *pb_flux_fit.width: 86
168 *pb_flux_fit.height: 30
169 *pb_flux_fit.background: ButtonBackground
170 *pb_flux_fit.fontList: BoldTextFont
171 *pb_flux_fit.foreground: ApplyForeground
172 *pb_flux_fit.labelString: "Fit"
173 *pb_flux_fit.activateCallback: {\
174 #include <spec_comm.h>\
175 \
176 AppendDialogText(C_FLUX_FIT);\
177 \
178 }
179
180 *pb_flux_pflux.class: pushButton
181 *pb_flux_pflux.parent: form11
182 *pb_flux_pflux.static: true
183 *pb_flux_pflux.name: pb_flux_pflux
184 *pb_flux_pflux.x: 102
185 *pb_flux_pflux.y: 42
186 *pb_flux_pflux.width: 86
187 *pb_flux_pflux.height: 30
188 *pb_flux_pflux.background: ButtonBackground
189 *pb_flux_pflux.fontList: BoldTextFont
190 *pb_flux_pflux.foreground: ButtonForeground
191 *pb_flux_pflux.labelString: "Plot flux"
192 *pb_flux_pflux.activateCallback: {\
193 #include <spec_comm.h>\
194 \
195 AppendDialogText(C_PLOT_FLUX);\
196 \
197 }
198
199 *pb_flux_filter.class: pushButton
200 *pb_flux_filter.parent: form11
201 *pb_flux_filter.static: true
202 *pb_flux_filter.name: pb_flux_filter
203 *pb_flux_filter.x: 384
204 *pb_flux_filter.y: 4
205 *pb_flux_filter.width: 86
206 *pb_flux_filter.height: 30
207 *pb_flux_filter.background: ButtonBackground
208 *pb_flux_filter.fontList: BoldTextFont
209 *pb_flux_filter.foreground: ApplyForeground
210 *pb_flux_filter.labelString: "Filter..."
211 *pb_flux_filter.activateCallback: {\
212 #include <spec_comm.h>\
213 \
214 PopupList(LIST_FLUX_FILT);\
215 }
216
217 *pb_correct.class: pushButton
218 *pb_correct.parent: form11
219 *pb_correct.static: true
220 *pb_correct.name: pb_correct
221 *pb_correct.x: 8
222 *pb_correct.y: 42
223 *pb_correct.width: 86
224 *pb_correct.height: 30
225 *pb_correct.background: ButtonBackground
226 *pb_correct.fontList: BoldTextFont
227 *pb_correct.foreground: ApplyForeground
228 *pb_correct.labelString: "Correct..."
229 *pb_correct.activateCallback: {\
230 #include <spec_comm.h>\
231 \
232 PopupList(LIST_CORRECT);\
233 \
234 }
235
236 *pb_edit_flux.class: pushButton
237 *pb_edit_flux.parent: form11
238 *pb_edit_flux.static: true
239 *pb_edit_flux.name: pb_edit_flux
240 *pb_edit_flux.x: 290
241 *pb_edit_flux.y: 4
242 *pb_edit_flux.width: 86
243 *pb_edit_flux.height: 30
244 *pb_edit_flux.background: ButtonBackground
245 *pb_edit_flux.fontList: BoldTextFont
246 *pb_edit_flux.foreground: ApplyForeground
247 *pb_edit_flux.labelString: "Edit"
248 *pb_edit_flux.activateCallback: {\
249 #include <spec_comm.h>\
250 \
251 AppendDialogText(C_EDIT_FLUX);\
252 \
253 }
254
255 *shelp_flux.class: text
256 *shelp_flux.parent: form10
257 *shelp_flux.static: true
258 *shelp_flux.name: shelp_flux
259 *shelp_flux.x: 0
260 *shelp_flux.y: 282
261 *shelp_flux.width: 484
262 *shelp_flux.height: 50
263 *shelp_flux.background: SHelpBackground
264 *shelp_flux.cursorPositionVisible: "false"
265 *shelp_flux.editable: "false"
266 *shelp_flux.fontList: TextFont
267
268 *separator8.class: separator
269 *separator8.parent: form10
270 *separator8.static: true
271 *separator8.name: separator8
272 *separator8.x: -2
273 *separator8.y: 272
274 *separator8.width: 492
275 *separator8.height: 10
276 *separator8.background: WindowBackground
277
278 *separator9.class: separator
279 *separator9.parent: form10
280 *separator9.static: true
281 *separator9.name: separator9
282 *separator9.x: -4
283 *separator9.y: 330
284 *separator9.width: 492
285 *separator9.height: 10
286 *separator9.background: WindowBackground
287
288 *label27.class: label
289 *label27.parent: form10
290 *label27.static: true
291 *label27.name: label27
292 *label27.x: 10
293 *label27.y: 12
294 *label27.width: 126
295 *label27.height: 30
296 *label27.background: LabelBackground
297 *label27.fontList: TextFont
298 *label27.labelString: "Extinction table :"
299 *label27.alignment: "alignment_beginning"
300 *label27.foreground: TextForeground
301
302 *tf_extin_tbl.class: textField
303 *tf_extin_tbl.parent: form10
304 *tf_extin_tbl.static: true
305 *tf_extin_tbl.name: tf_extin_tbl
306 *tf_extin_tbl.x: 148
307 *tf_extin_tbl.y: 10
308 *tf_extin_tbl.width: 222
309 *tf_extin_tbl.height: 40
310 *tf_extin_tbl.background: TextBackground
311 *tf_extin_tbl.fontList: TextFont
312 *tf_extin_tbl.highlightOnEnter: "true"
313 *tf_extin_tbl.foreground: TextForeground
314 *tf_extin_tbl.translations: FileSelectFlux
315 *tf_extin_tbl.losingFocusCallback: {\
316 #include <spec_comm.h>\
317 \
318 char *text;\
319 extern char Extab[];\
320 \
321 text = XmTextGetString(UxWidget);\
322 \
323 if ( strcmp(text, Extab) ) {\
324 strcpy(Extab, text);\
325 WriteKeyword(text, K_EXTAB);\
326 }\
327 \
328 XtFree(text);\
329 }
330
331 *label29.class: label
332 *label29.parent: form10
333 *label29.static: true
334 *label29.name: label29
335 *label29.x: 10
336 *label29.y: 48
337 *label29.width: 122
338 *label29.height: 30
339 *label29.background: LabelBackground
340 *label29.fontList: TextFont
341 *label29.labelString: "Flux table :"
342 *label29.alignment: "alignment_beginning"
343 *label29.foreground: TextForeground
344
345 *tf_flux_tbl.class: textField
346 *tf_flux_tbl.parent: form10
347 *tf_flux_tbl.static: true
348 *tf_flux_tbl.name: tf_flux_tbl
349 *tf_flux_tbl.x: 148
350 *tf_flux_tbl.y: 48
351 *tf_flux_tbl.width: 221
352 *tf_flux_tbl.height: 40
353 *tf_flux_tbl.background: TextBackground
354 *tf_flux_tbl.fontList: TextFont
355 *tf_flux_tbl.highlightOnEnter: "true"
356 *tf_flux_tbl.foreground: TextForeground
357 *tf_flux_tbl.translations: FileSelectFlux
358 *tf_flux_tbl.losingFocusCallback: {\
359 #include <spec_comm.h>\
360 \
361 char *text;\
362 extern char Fluxtab[];\
363 \
364 text = XmTextGetString(UxWidget);\
365 \
366 if ( strcmp(text, Fluxtab) ) {\
367 strcpy(Fluxtab, text);\
368 WriteKeyword(text, K_FLUXTAB);\
369 }\
370 \
371 XtFree(text);\
372 }
373
374 *label30.class: label
375 *label30.parent: form10
376 *label30.static: true
377 *label30.name: label30
378 *label30.x: 10
379 *label30.y: 88
380 *label30.width: 126
381 *label30.height: 30
382 *label30.background: LabelBackground
383 *label30.fontList: TextFont
384 *label30.labelString: "Response curve :"
385 *label30.alignment: "alignment_beginning"
386 *label30.foreground: TextForeground
387
388 *tf_output_resp.class: textField
389 *tf_output_resp.parent: form10
390 *tf_output_resp.static: true
391 *tf_output_resp.name: tf_output_resp
392 *tf_output_resp.x: 148
393 *tf_output_resp.y: 88
394 *tf_output_resp.width: 221
395 *tf_output_resp.height: 40
396 *tf_output_resp.background: TextBackground
397 *tf_output_resp.fontList: TextFont
398 *tf_output_resp.highlightOnEnter: "true"
399 *tf_output_resp.foreground: TextForeground
400 *tf_output_resp.losingFocusCallback: {\
401 #include <spec_comm.h>\
402 \
403 char *text;\
404 extern char Response[];\
405 \
406 text = XmTextGetString(UxWidget);\
407 \
408 if ( strcmp(text, Response) ) {\
409 strcpy(Response, text);\
410 WriteKeyword(text, K_RESPONSE);\
411 }\
412 \
413 XtFree(text);\
414 }
415
416 *rowColumn4.class: rowColumn
417 *rowColumn4.parent: form10
418 *rowColumn4.static: true
419 *rowColumn4.name: rowColumn4
420 *rowColumn4.x: 233
421 *rowColumn4.y: 191
422 *rowColumn4.width: 82
423 *rowColumn4.height: 67
424 *rowColumn4.radioBehavior: "true"
425 *rowColumn4.background: "grey80"
426 *rowColumn4.entryBorder: 0
427 *rowColumn4.labelString: ""
428 *rowColumn4.shadowThickness: 0
429 *rowColumn4.borderWidth: 0
430 *rowColumn4.entryAlignment: "alignment_beginning"
431 *rowColumn4.isAligned: "true"
432
433 *rb_fityp_poly.class: toggleButton
434 *rb_fityp_poly.parent: rowColumn4
435 *rb_fityp_poly.static: true
436 *rb_fityp_poly.name: rb_fityp_poly
437 *rb_fityp_poly.x: 3
438 *rb_fityp_poly.y: 2
439 *rb_fityp_poly.width: 76
440 *rb_fityp_poly.height: 20
441 *rb_fityp_poly.background: WindowBackground
442 *rb_fityp_poly.fontList: TextFont
443 *rb_fityp_poly.labelString: "POLY"
444 *rb_fityp_poly.set: "true"
445 *rb_fityp_poly.selectColor: SelectColor
446 *rb_fityp_poly.foreground: TextForeground
447 *rb_fityp_poly.highlightOnEnter: "true"
448 *rb_fityp_poly.indicatorSize: 16
449
450 *rb_fityp_spli.class: toggleButton
451 *rb_fityp_spli.parent: rowColumn4
452 *rb_fityp_spli.static: true
453 *rb_fityp_spli.name: rb_fityp_spli
454 *rb_fityp_spli.x: 3
455 *rb_fityp_spli.y: 34
456 *rb_fityp_spli.width: 76
457 *rb_fityp_spli.height: 66
458 *rb_fityp_spli.background: WindowBackground
459 *rb_fityp_spli.fontList: TextFont
460 *rb_fityp_spli.labelString: "SPLINE"
461 *rb_fityp_spli.selectColor: SelectColor
462 *rb_fityp_spli.foreground: TextForeground
463 *rb_fityp_spli.valueChangedCallback: {\
464 #include <spec_comm.h>\
465 \
466 extern int UpdateToggle;\
467 \
468 if ( !UpdateToggle )\
469 return;\
470 \
471 if ( XmToggleButtonGetState(UxWidget) ) /*selected */\
472 WriteKeyword("SPLINE", K_FITYP);\
473 else\
474 WriteKeyword("POLY", K_FITYP);\
475 \
476 }
477 *rb_fityp_spli.set: "false"
478 *rb_fityp_spli.highlightOnEnter: "true"
479 *rb_fityp_spli.indicatorSize: 16
480
481 *label33.class: label
482 *label33.parent: form10
483 *label33.static: true
484 *label33.name: label33
485 *label33.x: 236
486 *label33.y: 164
487 *label33.width: 80
488 *label33.height: 22
489 *label33.background: WindowBackground
490 *label33.fontList: TextFont
491 *label33.labelString: "Fitting type"
492 *label33.alignment: "alignment_beginning"
493 *label33.foreground: TextForeground
494
495 *separatorGadget16.class: separatorGadget
496 *separatorGadget16.parent: form10
497 *separatorGadget16.static: true
498 *separatorGadget16.name: separatorGadget16
499 *separatorGadget16.x: 218
500 *separatorGadget16.y: 180
501 *separatorGadget16.width: 12
502 *separatorGadget16.height: 84
503 *separatorGadget16.orientation: "vertical"
504
505 *separatorGadget17.class: separatorGadget
506 *separatorGadget17.parent: form10
507 *separatorGadget17.static: true
508 *separatorGadget17.name: separatorGadget17
509 *separatorGadget17.x: 224
510 *separatorGadget17.y: 260
511 *separatorGadget17.width: 104
512 *separatorGadget17.height: 8
513
514 *separatorGadget18.class: separatorGadget
515 *separatorGadget18.parent: form10
516 *separatorGadget18.static: true
517 *separatorGadget18.name: separatorGadget18
518 *separatorGadget18.x: 322
519 *separatorGadget18.y: 180
520 *separatorGadget18.width: 12
521 *separatorGadget18.height: 84
522 *separatorGadget18.orientation: "vertical"
523
524 *rowColumn5.class: rowColumn
525 *rowColumn5.parent: form10
526 *rowColumn5.static: true
527 *rowColumn5.name: rowColumn5
528 *rowColumn5.x: 348
529 *rowColumn5.y: 190
530 *rowColumn5.width: 82
531 *rowColumn5.height: 67
532 *rowColumn5.radioBehavior: "true"
533 *rowColumn5.background: "grey80"
534 *rowColumn5.entryBorder: 0
535 *rowColumn5.labelString: ""
536 *rowColumn5.shadowThickness: 0
537 *rowColumn5.borderWidth: 0
538 *rowColumn5.entryAlignment: "alignment_beginning"
539 *rowColumn5.isAligned: "true"
540
541 *rb_plotyp_rati.class: toggleButton
542 *rb_plotyp_rati.parent: rowColumn5
543 *rb_plotyp_rati.static: true
544 *rb_plotyp_rati.name: rb_plotyp_rati
545 *rb_plotyp_rati.x: -12
546 *rb_plotyp_rati.y: 0
547 *rb_plotyp_rati.width: 76
548 *rb_plotyp_rati.height: 20
549 *rb_plotyp_rati.background: WindowBackground
550 *rb_plotyp_rati.fontList: TextFont
551 *rb_plotyp_rati.labelString: "RATIO"
552 *rb_plotyp_rati.set: "true"
553 *rb_plotyp_rati.selectColor: SelectColor
554 *rb_plotyp_rati.foreground: TextForeground
555 *rb_plotyp_rati.highlightOnEnter: "true"
556 *rb_plotyp_rati.indicatorSize: 16
557
558 *rb_plotyp_colo.class: toggleButton
559 *rb_plotyp_colo.parent: rowColumn5
560 *rb_plotyp_colo.static: true
561 *rb_plotyp_colo.name: rb_plotyp_colo
562 *rb_plotyp_colo.x: 3
563 *rb_plotyp_colo.y: 34
564 *rb_plotyp_colo.width: 76
565 *rb_plotyp_colo.height: 66
566 *rb_plotyp_colo.background: WindowBackground
567 *rb_plotyp_colo.fontList: TextFont
568 *rb_plotyp_colo.labelString: "MAGNITUDE"
569 *rb_plotyp_colo.selectColor: SelectColor
570 *rb_plotyp_colo.foreground: TextForeground
571 *rb_plotyp_colo.valueChangedCallback: {\
572 #include <spec_comm.h>\
573 \
574 extern int UpdateToggle;\
575 \
576 if ( !UpdateToggle )\
577 return;\
578 \
579 if ( XmToggleButtonGetState(UxWidget) ) /*selected */\
580 WriteKeyword("MAGNITUDE", K_PLOTYP);\
581 else\
582 WriteKeyword("RATIO", K_PLOTYP);\
583 \
584 }
585 *rb_plotyp_colo.set: "false"
586 *rb_plotyp_colo.highlightOnEnter: "true"
587 *rb_plotyp_colo.indicatorSize: 16
588
589 *label34.class: label
590 *label34.parent: form10
591 *label34.static: true
592 *label34.name: label34
593 *label34.x: 365
594 *label34.y: 164
595 *label34.width: 91
596 *label34.height: 22
597 *label34.background: WindowBackground
598 *label34.fontList: TextFont
599 *label34.labelString: "Fitting space"
600 *label34.alignment: "alignment_beginning"
601 *label34.foreground: TextForeground
602
603 *separatorGadget21.class: separatorGadget
604 *separatorGadget21.parent: form10
605 *separatorGadget21.static: true
606 *separatorGadget21.name: separatorGadget21
607 *separatorGadget21.x: 334
608 *separatorGadget21.y: 180
609 *separatorGadget21.width: 12
610 *separatorGadget21.height: 84
611 *separatorGadget21.orientation: "vertical"
612
613 *separatorGadget22.class: separatorGadget
614 *separatorGadget22.parent: form10
615 *separatorGadget22.static: true
616 *separatorGadget22.name: separatorGadget22
617 *separatorGadget22.x: 471
618 *separatorGadget22.y: 180
619 *separatorGadget22.width: 12
620 *separatorGadget22.height: 84
621 *separatorGadget22.orientation: "vertical"
622
623 *separatorGadget23.class: separatorGadget
624 *separatorGadget23.parent: form10
625 *separatorGadget23.static: true
626 *separatorGadget23.name: separatorGadget23
627 *separatorGadget23.x: 338
628 *separatorGadget23.y: 176
629 *separatorGadget23.width: 24
630 *separatorGadget23.height: 10
631
632 *separatorGadget24.class: separatorGadget
633 *separatorGadget24.parent: form10
634 *separatorGadget24.static: true
635 *separatorGadget24.name: separatorGadget24
636 *separatorGadget24.x: 460
637 *separatorGadget24.y: 176
638 *separatorGadget24.width: 17
639 *separatorGadget24.height: 10
640
641 *separatorGadget25.class: separatorGadget
642 *separatorGadget25.parent: form10
643 *separatorGadget25.static: true
644 *separatorGadget25.name: separatorGadget25
645 *separatorGadget25.x: 339
646 *separatorGadget25.y: 260
647 *separatorGadget25.width: 138
648 *separatorGadget25.height: 8
649
650 *separatorGadget19.class: separatorGadget
651 *separatorGadget19.parent: form10
652 *separatorGadget19.static: true
653 *separatorGadget19.name: separatorGadget19
654 *separatorGadget19.x: 318
655 *separatorGadget19.y: 176
656 *separatorGadget19.width: 10
657 *separatorGadget19.height: 10
658
659 *separatorGadget20.class: separatorGadget
660 *separatorGadget20.parent: form10
661 *separatorGadget20.static: true
662 *separatorGadget20.name: separatorGadget20
663 *separatorGadget20.x: 222
664 *separatorGadget20.y: 176
665 *separatorGadget20.width: 10
666 *separatorGadget20.height: 10
667
668 *label35.class: label
669 *label35.parent: form10
670 *label35.static: true
671 *label35.name: label35
672 *label35.x: 12
673 *label35.y: 226
674 *label35.width: 120
675 *label35.height: 30
676 *label35.background: LabelBackground
677 *label35.fontList: TextFont
678 *label35.labelString: "Smoothing factor :"
679 *label35.alignment: "alignment_beginning"
680 *label35.foreground: TextForeground
681
682 *tf_smooth.class: textField
683 *tf_smooth.parent: form10
684 *tf_smooth.static: true
685 *tf_smooth.name: tf_smooth
686 *tf_smooth.x: 136
687 *tf_smooth.y: 222
688 *tf_smooth.width: 80
689 *tf_smooth.height: 34
690 *tf_smooth.background: TextBackground
691 *tf_smooth.fontList: TextFont
692 *tf_smooth.highlightOnEnter: "true"
693 *tf_smooth.foreground: TextForeground
694 *tf_smooth.losingFocusCallback: {\
695 #include <spec_comm.h>\
696 \
697 char *text;\
698 float val;\
699 extern float Smooth;\
700 \
701 text = XmTextGetString(UxWidget);\
702 sscanf(text, "%f", &val);\
703 \
704 if ( val != Smooth ) {\
705 Smooth = val;\
706 WriteKeyword(text, K_SMOOTH);\
707 }\
708 \
709 XtFree(text);\
710 \
711 }
712
713 *label36.class: label
714 *label36.parent: form10
715 *label36.static: true
716 *label36.name: label36
717 *label36.x: 12
718 *label36.y: 186
719 *label36.width: 120
720 *label36.height: 30
721 *label36.background: LabelBackground
722 *label36.fontList: TextFont
723 *label36.labelString: "Fit degree :"
724 *label36.alignment: "alignment_beginning"
725 *label36.foreground: TextForeground
726
727 *tf_fitd.class: textField
728 *tf_fitd.parent: form10
729 *tf_fitd.static: true
730 *tf_fitd.name: tf_fitd
731 *tf_fitd.x: 136
732 *tf_fitd.y: 182
733 *tf_fitd.width: 80
734 *tf_fitd.height: 34
735 *tf_fitd.background: TextBackground
736 *tf_fitd.fontList: TextFont
737 *tf_fitd.highlightOnEnter: "true"
738 *tf_fitd.foreground: TextForeground
739 *tf_fitd.losingFocusCallback: {\
740 #include <spec_comm.h>\
741 \
742 char *text;\
743 int val;\
744 extern int Fitd;\
745 \
746 text = XmTextGetString(UxWidget);\
747 sscanf(text, "%d", &val);\
748 \
749 if ( val != Fitd ) {\
750 Fitd = val;\
751 WriteKeyword(text, K_FITD);\
752 }\
753 \
754 XtFree(text);\
755 }
756
757 *label37.class: label
758 *label37.parent: form10
759 *label37.static: true
760 *label37.name: label37
761 *label37.x: 4
762 *label37.y: 140
763 *label37.width: 180
764 *label37.height: 30
765 *label37.background: LabelBackground
766 *label37.fontList: TextFont
767 *label37.labelString: "FITTING PARAMETERS"
768 *label37.alignment: "alignment_beginning"
769 *label37.foreground: TextForeground
770