~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to gui/XEchelle/prj/OrderShell.i

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! UIMX ascii 2.0 key: 3518                                                      
 
2
*action.FileSelectACT: {\
 
3
#include <xm_defs.h>\
 
4
#include <spec_comm.h>\
 
5
\
 
6
extern swidget FileListInterface, TextFieldSwidget;\
 
7
extern Widget FileListWidget;\
 
8
extern char  DirSpecs[];\
 
9
extern int ListType;\
 
10
\
 
11
int  strip = 1; /* strip off */\
 
12
\
 
13
TextFieldSwidget = UxThisWidget;\
 
14
\
 
15
if ( UxWidget == UxGetWidget(UxFindSwidget("tf_lincat")) ) {\
 
16
    SET_LIST_TITLE("Enter line catalog");\
 
17
    ListType = LIST_LINCAT;\
 
18
}\
 
19
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_guess")) ) {\
 
20
    SET_LIST_TITLE("Enter guess table");\
 
21
    ListType = LIST_GUESS;\
 
22
}\
 
23
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flux_tbl")) ) {\
 
24
    SET_LIST_TITLE("Enter flux table");\
 
25
    ListType = LIST_FLUX_TBL;\
 
26
}\
 
27
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_extin_tbl")) )  {\
 
28
    SET_LIST_TITLE("Enter extinction table");\
 
29
    ListType = LIST_EXTIN_TBL;\
 
30
}\
 
31
\
 
32
strcpy(DirSpecs, "*.tbl");      \
 
33
SetFileList(FileListWidget, strip, DirSpecs);\
 
34
UxPopupInterface(FileListInterface, exclusive_grab);\
 
35
\
 
36
}
 
37
*action.ExtendedHelp: {\
 
38
DisplayExtendedHelp(UxWidget);\
 
39
}
 
40
*action.HelpShort: {WidgetEnter(UxWidget);}
 
41
*action.ClearShort: {WidgetLeave(UxWidget);}  
 
42
 
 
43
*translation.table: transTable10
 
44
*translation.parent: OrderShell
 
45
*translation.policy: override
 
46
*translation.<Btn3Down>: FileSelectACT()
 
47
 
 
48
*translation.table: transTable11
 
49
*translation.parent: OrderShell
 
50
*translation.policy: override
 
51
*translation.<Btn3Down>: ExtendedHelp()
 
52
*translation.<EnterWindow>: HelpShort()
 
53
*translation.<LeaveWindow>: ClearShort()
 
54
 
 
55
*OrderShell.class: transientShell
 
56
*OrderShell.parent: NO_PARENT
 
57
*OrderShell.static: true
 
58
*OrderShell.gbldecl: #include <stdio.h>\
 
59
#include <ExternResources.h>
 
60
*OrderShell.ispecdecl:
 
61
*OrderShell.funcdecl: swidget create_OrderShell()\
 
62
 
 
63
*OrderShell.funcname: create_OrderShell
 
64
*OrderShell.funcdef: "swidget", "<create_OrderShell>(%)"
 
65
*OrderShell.icode:
 
66
*OrderShell.fcode: return(rtrn);\
 
67
 
 
68
*OrderShell.auxdecl:
 
69
*OrderShell.name: OrderShell
 
70
*OrderShell.x: 845
 
71
*OrderShell.y: 107
 
72
*OrderShell.width: 500
 
73
*OrderShell.height: 344
 
74
*OrderShell.title: "XEchelle: Order Definition"
 
75
*OrderShell.geometry: "+10+60"
 
76
 
 
77
*form27.class: form
 
78
*form27.parent: OrderShell
 
79
*form27.static: true
 
80
*form27.name: form27
 
81
*form27.resizePolicy: "resize_none"
 
82
*form27.unitType: "pixels"
 
83
*form27.x: 4
 
84
*form27.y: 2
 
85
*form27.width: 500
 
86
*form27.height: 344
 
87
*form27.background: WindowBackground
 
88
 
 
89
*label61.class: label
 
90
*label61.parent: form27
 
91
*label61.static: true
 
92
*label61.name: label61
 
93
*label61.x: 18
 
94
*label61.y: 134
 
95
*label61.width: 170
 
96
*label61.height: 30
 
97
*label61.background: LabelBackground
 
98
*label61.fontList: TextFont
 
99
*label61.labelString: "Threshold:"
 
100
*label61.alignment: "alignment_beginning"
 
101
*label61.foreground: TextForeground
 
102
 
 
103
*tf_ywidth2.class: textField
 
104
*tf_ywidth2.parent: form27
 
105
*tf_ywidth2.static: true
 
106
*tf_ywidth2.name: tf_ywidth2
 
107
*tf_ywidth2.x: 208
 
108
*tf_ywidth2.y: 132
 
109
*tf_ywidth2.width: 82
 
110
*tf_ywidth2.height: 34
 
111
*tf_ywidth2.background: TextBackground
 
112
*tf_ywidth2.fontList: TextFont
 
113
*tf_ywidth2.highlightOnEnter: "true"
 
114
*tf_ywidth2.foreground: TextForeground
 
115
*tf_ywidth2.losingFocusCallback: {\
 
116
\
 
117
}
 
118
 
 
119
*label62.class: label
 
120
*label62.parent: form27
 
121
*label62.static: true
 
122
*label62.name: label62
 
123
*label62.x: 18
 
124
*label62.y: 170
 
125
*label62.width: 170
 
126
*label62.height: 30
 
127
*label62.background: LabelBackground
 
128
*label62.fontList: TextFont
 
129
*label62.labelString: "Slope:"
 
130
*label62.alignment: "alignment_beginning"
 
131
*label62.foreground: TextForeground
 
132
 
 
133
*label63.class: label
 
134
*label63.parent: form27
 
135
*label63.static: true
 
136
*label63.name: label63
 
137
*label63.x: 18
 
138
*label63.y: 58
 
139
*label63.width: 170
 
140
*label63.height: 30
 
141
*label63.background: LabelBackground
 
142
*label63.fontList: TextFont
 
143
*label63.labelString: "Number of orders:"
 
144
*label63.alignment: "alignment_beginning"
 
145
*label63.foreground: TextForeground
 
146
 
 
147
*tf_ystep2.class: textField
 
148
*tf_ystep2.parent: form27
 
149
*tf_ystep2.static: true
 
150
*tf_ystep2.name: tf_ystep2
 
151
*tf_ystep2.x: 208
 
152
*tf_ystep2.y: 170
 
153
*tf_ystep2.width: 82
 
154
*tf_ystep2.height: 34
 
155
*tf_ystep2.background: TextBackground
 
156
*tf_ystep2.fontList: TextFont
 
157
*tf_ystep2.highlightOnEnter: "true"
 
158
*tf_ystep2.foreground: TextForeground
 
159
*tf_ystep2.losingFocusCallback: {\
 
160
\
 
161
}
 
162
 
 
163
*tf_width2.class: textField
 
164
*tf_width2.parent: form27
 
165
*tf_width2.static: true
 
166
*tf_width2.name: tf_width2
 
167
*tf_width2.x: 208
 
168
*tf_width2.y: 94
 
169
*tf_width2.width: 82
 
170
*tf_width2.height: 34
 
171
*tf_width2.background: TextBackground
 
172
*tf_width2.fontList: TextFont
 
173
*tf_width2.highlightOnEnter: "true"
 
174
*tf_width2.foreground: TextForeground
 
175
*tf_width2.losingFocusCallback: {\
 
176
\
 
177
}
 
178
 
 
179
*rowColumn26.class: rowColumn
 
180
*rowColumn26.parent: form27
 
181
*rowColumn26.static: true
 
182
*rowColumn26.name: rowColumn26
 
183
*rowColumn26.x: 332
 
184
*rowColumn26.y: 82
 
185
*rowColumn26.width: 106
 
186
*rowColumn26.height: 96
 
187
*rowColumn26.radioBehavior: "true"
 
188
*rowColumn26.background: WindowBackground
 
189
*rowColumn26.entryBorder: 0
 
190
*rowColumn26.labelString: ""
 
191
*rowColumn26.shadowThickness: 0
 
192
*rowColumn26.borderWidth: 0
 
193
*rowColumn26.entryAlignment: "alignment_beginning"
 
194
*rowColumn26.adjustLast: "false"
 
195
*rowColumn26.adjustMargin: "true"
 
196
*rowColumn26.isAligned: "true"
 
197
 
 
198
*rb_seamtd_gaus2.class: toggleButton
 
199
*rb_seamtd_gaus2.parent: rowColumn26
 
200
*rb_seamtd_gaus2.static: true
 
201
*rb_seamtd_gaus2.name: rb_seamtd_gaus2
 
202
*rb_seamtd_gaus2.x: 12
 
203
*rb_seamtd_gaus2.y: 12
 
204
*rb_seamtd_gaus2.width: 148
 
205
*rb_seamtd_gaus2.height: 30
 
206
*rb_seamtd_gaus2.background: WindowBackground
 
207
*rb_seamtd_gaus2.fontList: TextFont
 
208
*rb_seamtd_gaus2.labelString: "Hough"
 
209
*rb_seamtd_gaus2.set: "true"
 
210
*rb_seamtd_gaus2.selectColor: SelectColor
 
211
*rb_seamtd_gaus2.highlightOnEnter: "true"
 
212
*rb_seamtd_gaus2.valueChangedCallback: {\
 
213
\
 
214
}
 
215
*rb_seamtd_gaus2.indicatorSize: 16
 
216
*rb_seamtd_gaus2.foreground: TextForeground
 
217
*rb_seamtd_gaus2.armCallback: RadioSet ( UxWidget ) ;
 
218
*rb_seamtd_gaus2.translations: transTable11
 
219
 
 
220
*rb_seamtd_grav2.class: toggleButton
 
221
*rb_seamtd_grav2.parent: rowColumn26
 
222
*rb_seamtd_grav2.static: true
 
223
*rb_seamtd_grav2.name: rb_seamtd_grav2
 
224
*rb_seamtd_grav2.x: 5
 
225
*rb_seamtd_grav2.y: 85
 
226
*rb_seamtd_grav2.width: 148
 
227
*rb_seamtd_grav2.height: 30
 
228
*rb_seamtd_grav2.background: WindowBackground
 
229
*rb_seamtd_grav2.fontList: TextFont
 
230
*rb_seamtd_grav2.labelString: "Standard"
 
231
*rb_seamtd_grav2.selectColor: SelectColor
 
232
*rb_seamtd_grav2.highlightOnEnter: "true"
 
233
*rb_seamtd_grav2.valueChangedCallback: {\
 
234
\
 
235
}
 
236
*rb_seamtd_grav2.indicatorSize: 16
 
237
*rb_seamtd_grav2.foreground: TextForeground
 
238
*rb_seamtd_grav2.armCallback: RadioSet ( UxWidget ) ;
 
239
*rb_seamtd_grav2.translations: transTable11
 
240
 
 
241
*rb_seamtd_maxi2.class: toggleButton
 
242
*rb_seamtd_maxi2.parent: rowColumn26
 
243
*rb_seamtd_maxi2.static: true
 
244
*rb_seamtd_maxi2.name: rb_seamtd_maxi2
 
245
*rb_seamtd_maxi2.x: 4
 
246
*rb_seamtd_maxi2.y: 66
 
247
*rb_seamtd_maxi2.width: 96
 
248
*rb_seamtd_maxi2.height: 24
 
249
*rb_seamtd_maxi2.background: WindowBackground
 
250
*rb_seamtd_maxi2.fontList: TextFont
 
251
*rb_seamtd_maxi2.labelString: "Complement"
 
252
*rb_seamtd_maxi2.selectColor: SelectColor
 
253
*rb_seamtd_maxi2.highlightOnEnter: "true"
 
254
*rb_seamtd_maxi2.valueChangedCallback: {\
 
255
\
 
256
}
 
257
*rb_seamtd_maxi2.indicatorSize: 16
 
258
*rb_seamtd_maxi2.foreground: TextForeground
 
259
*rb_seamtd_maxi2.armCallback: RadioSet ( UxWidget ) ;
 
260
*rb_seamtd_maxi2.translations: transTable11
 
261
 
 
262
*label64.class: label
 
263
*label64.parent: form27
 
264
*label64.static: true
 
265
*label64.name: label64
 
266
*label64.x: 336
 
267
*label64.y: 52
 
268
*label64.width: 106
 
269
*label64.height: 30
 
270
*label64.background: LabelBackground
 
271
*label64.fontList: TextFont
 
272
*label64.labelString: "Method"
 
273
*label64.alignment: "alignment_center"
 
274
*label64.foreground: TextForeground
 
275
 
 
276
*separatorGadget6.class: separatorGadget
 
277
*separatorGadget6.parent: form27
 
278
*separatorGadget6.static: true
 
279
*separatorGadget6.name: separatorGadget6
 
280
*separatorGadget6.x: 450
 
281
*separatorGadget6.y: 66
 
282
*separatorGadget6.width: 12
 
283
*separatorGadget6.height: 120
 
284
*separatorGadget6.orientation: "vertical"
 
285
 
 
286
*separatorGadget7.class: separatorGadget
 
287
*separatorGadget7.parent: form27
 
288
*separatorGadget7.static: true
 
289
*separatorGadget7.name: separatorGadget7
 
290
*separatorGadget7.x: 314
 
291
*separatorGadget7.y: 66
 
292
*separatorGadget7.width: 12
 
293
*separatorGadget7.height: 120
 
294
*separatorGadget7.orientation: "vertical"
 
295
 
 
296
*separatorGadget8.class: separatorGadget
 
297
*separatorGadget8.parent: form27
 
298
*separatorGadget8.static: true
 
299
*separatorGadget8.name: separatorGadget8
 
300
*separatorGadget8.x: 318
 
301
*separatorGadget8.y: 64
 
302
*separatorGadget8.width: 16
 
303
*separatorGadget8.height: 10
 
304
 
 
305
*separatorGadget9.class: separatorGadget
 
306
*separatorGadget9.parent: form27
 
307
*separatorGadget9.static: true
 
308
*separatorGadget9.name: separatorGadget9
 
309
*separatorGadget9.x: 442
 
310
*separatorGadget9.y: 64
 
311
*separatorGadget9.width: 14
 
312
*separatorGadget9.height: 10
 
313
 
 
314
*tf_thres2.class: textField
 
315
*tf_thres2.parent: form27
 
316
*tf_thres2.static: true
 
317
*tf_thres2.name: tf_thres2
 
318
*tf_thres2.x: 208
 
319
*tf_thres2.y: 56
 
320
*tf_thres2.width: 82
 
321
*tf_thres2.height: 34
 
322
*tf_thres2.background: TextBackground
 
323
*tf_thres2.fontList: TextFont
 
324
*tf_thres2.highlightOnEnter: "true"
 
325
*tf_thres2.foreground: TextForeground
 
326
*tf_thres2.losingFocusCallback: {\
 
327
\
 
328
}
 
329
 
 
330
*form28.class: form
 
331
*form28.parent: form27
 
332
*form28.static: true
 
333
*form28.name: form28
 
334
*form28.resizePolicy: "resize_none"
 
335
*form28.x: 2
 
336
*form28.y: 282
 
337
*form28.width: 490
 
338
*form28.height: 40
 
339
*form28.background: ButtonBackground
 
340
 
 
341
*pb_search_search3.class: pushButton
 
342
*pb_search_search3.parent: form28
 
343
*pb_search_search3.static: true
 
344
*pb_search_search3.name: pb_search_search3
 
345
*pb_search_search3.x: 8
 
346
*pb_search_search3.y: 4
 
347
*pb_search_search3.width: 86
 
348
*pb_search_search3.height: 30
 
349
*pb_search_search3.background: ButtonBackground
 
350
*pb_search_search3.fontList: BoldTextFont
 
351
*pb_search_search3.foreground: ApplyForeground
 
352
*pb_search_search3.labelString: "Define"
 
353
*pb_search_search3.activateCallback: {\
 
354
 MidasCommand(UxThisWidget);\
 
355
\
 
356
}
 
357
 
 
358
*pushButton3.class: pushButton
 
359
*pushButton3.parent: form28
 
360
*pushButton3.static: true
 
361
*pushButton3.name: pushButton3
 
362
*pushButton3.x: 392
 
363
*pushButton3.y: 6
 
364
*pushButton3.width: 86
 
365
*pushButton3.height: 30
 
366
*pushButton3.background: ButtonBackground
 
367
*pushButton3.fontList: BoldTextFont
 
368
*pushButton3.foreground: CancelForeground
 
369
*pushButton3.labelString: "Cancel"
 
370
*pushButton3.activateCallback: {\
 
371
UxPopdownInterface(UxFindSwidget("OrderShell"));\
 
372
}
 
373
 
 
374
*pb_search_plot3.class: pushButton
 
375
*pb_search_plot3.parent: form28
 
376
*pb_search_plot3.static: true
 
377
*pb_search_plot3.name: pb_search_plot3
 
378
*pb_search_plot3.x: 102
 
379
*pb_search_plot3.y: 4
 
380
*pb_search_plot3.width: 100
 
381
*pb_search_plot3.height: 30
 
382
*pb_search_plot3.background: ButtonBackground
 
383
*pb_search_plot3.fontList: BoldTextFont
 
384
*pb_search_plot3.foreground: ButtonForeground
 
385
*pb_search_plot3.labelString: "Load Orders"
 
386
*pb_search_plot3.activateCallback: {\
 
387
MidasCommand(UxThisWidget);\
 
388
\
 
389
}
 
390
 
 
391
*pb_search_plot4.class: pushButton
 
392
*pb_search_plot4.parent: form28
 
393
*pb_search_plot4.static: true
 
394
*pb_search_plot4.name: pb_search_plot4
 
395
*pb_search_plot4.x: 214
 
396
*pb_search_plot4.y: 4
 
397
*pb_search_plot4.width: 86
 
398
*pb_search_plot4.height: 30
 
399
*pb_search_plot4.background: ButtonBackground
 
400
*pb_search_plot4.fontList: BoldTextFont
 
401
*pb_search_plot4.foreground: ButtonForeground
 
402
*pb_search_plot4.labelString: "Save..."
 
403
*pb_search_plot4.activateCallback: {\
 
404
MidasCommand(UxThisWidget);\
 
405
\
 
406
}
 
407
 
 
408
*pb_search_plot5.class: pushButton
 
409
*pb_search_plot5.parent: form28
 
410
*pb_search_plot5.static: true
 
411
*pb_search_plot5.name: pb_search_plot5
 
412
*pb_search_plot5.x: 304
 
413
*pb_search_plot5.y: 4
 
414
*pb_search_plot5.width: 86
 
415
*pb_search_plot5.height: 30
 
416
*pb_search_plot5.background: ButtonBackground
 
417
*pb_search_plot5.fontList: BoldTextFont
 
418
*pb_search_plot5.foreground: ButtonForeground
 
419
*pb_search_plot5.labelString: "Help..."
 
420
*pb_search_plot5.activateCallback: {\
 
421
GetExtendedHelp(UxWidget);\
 
422
}
 
423
 
 
424
*shelp_search3.class: text
 
425
*shelp_search3.parent: form27
 
426
*shelp_search3.static: true
 
427
*shelp_search3.name: shelp_search3
 
428
*shelp_search3.x: 4
 
429
*shelp_search3.y: 222
 
430
*shelp_search3.width: 484
 
431
*shelp_search3.height: 50
 
432
*shelp_search3.background: SHelpBackground
 
433
*shelp_search3.cursorPositionVisible: "false"
 
434
*shelp_search3.editable: "false"
 
435
*shelp_search3.fontList: TextFont
 
436
 
 
437
*separator22.class: separator
 
438
*separator22.parent: form27
 
439
*separator22.static: true
 
440
*separator22.name: separator22
 
441
*separator22.x: 2
 
442
*separator22.y: 212
 
443
*separator22.width: 492
 
444
*separator22.height: 10
 
445
*separator22.background: WindowBackground
 
446
 
 
447
*separator23.class: separator
 
448
*separator23.parent: form27
 
449
*separator23.static: true
 
450
*separator23.name: separator23
 
451
*separator23.x: 0
 
452
*separator23.y: 270
 
453
*separator23.width: 492
 
454
*separator23.height: 10
 
455
*separator23.background: WindowBackground
 
456
 
 
457
*separatorGadget10.class: separatorGadget
 
458
*separatorGadget10.parent: form27
 
459
*separatorGadget10.static: true
 
460
*separatorGadget10.name: separatorGadget10
 
461
*separatorGadget10.x: 318
 
462
*separatorGadget10.y: 180
 
463
*separatorGadget10.width: 138
 
464
*separatorGadget10.height: 10
 
465
 
 
466
*label65.class: label
 
467
*label65.parent: form27
 
468
*label65.static: true
 
469
*label65.name: label65
 
470
*label65.x: 18
 
471
*label65.y: 94
 
472
*label65.width: 170
 
473
*label65.height: 30
 
474
*label65.background: LabelBackground
 
475
*label65.fontList: TextFont
 
476
*label65.labelString: "Order width:"
 
477
*label65.alignment: "alignment_beginning"
 
478
*label65.foreground: TextForeground
 
479
 
 
480
*tf_thres3.class: textField
 
481
*tf_thres3.parent: form27
 
482
*tf_thres3.static: true
 
483
*tf_thres3.name: tf_thres3
 
484
*tf_thres3.x: 208
 
485
*tf_thres3.y: 12
 
486
*tf_thres3.width: 212
 
487
*tf_thres3.height: 34
 
488
*tf_thres3.background: TextBackground
 
489
*tf_thres3.fontList: TextFont
 
490
*tf_thres3.highlightOnEnter: "true"
 
491
*tf_thres3.foreground: TextForeground
 
492
*tf_thres3.losingFocusCallback: {\
 
493
\
 
494
}
 
495
 
 
496
*label66.class: label
 
497
*label66.parent: form27
 
498
*label66.static: true
 
499
*label66.name: label66
 
500
*label66.x: 20
 
501
*label66.y: 14
 
502
*label66.width: 170
 
503
*label66.height: 30
 
504
*label66.background: LabelBackground
 
505
*label66.fontList: TextFont
 
506
*label66.labelString: "Order Definition Frame:"
 
507
*label66.alignment: "alignment_beginning"
 
508
*label66.foreground: TextForeground
 
509
 
 
510
*pb_main_search15.class: pushButton
 
511
*pb_main_search15.parent: form27
 
512
*pb_main_search15.static: true
 
513
*pb_main_search15.name: pb_main_search15
 
514
*pb_main_search15.x: 426
 
515
*pb_main_search15.y: 14
 
516
*pb_main_search15.height: 28
 
517
*pb_main_search15.background: ButtonBackground
 
518
*pb_main_search15.fontList: BoldTextFont
 
519
*pb_main_search15.foreground: ButtonForeground
 
520
*pb_main_search15.labelString: "..."
 
521
*pb_main_search15.activateCallback: {\
 
522
SelectList(UxWidget);\
 
523
\
 
524
}
 
525
*pb_main_search15.recomputeSize: "true"
 
526
*pb_main_search15.width: 46
 
527