Debian Codegraph @

gui/XDo/prj/transientShell2.i

raw
1 ! UIMX ascii 2.0 key: 1627
2
3 *Association.class: transientShell
4 *Association.parent: NO_PARENT
5 *Association.static: true
6 *Association.gbldecl: #include <stdio.h>\
7 #include <ExternResources.h>\
8
9 *Association.ispecdecl:
10 *Association.funcdecl: swidget create_Association()\
11
12 *Association.funcname: create_Association
13 *Association.funcdef: "swidget", "<create_Association>(%)"
14 *Association.icode:
15 *Association.fcode: return(rtrn);\
16
17 *Association.auxdecl:
18 *Association.name: Association
19 *Association.x: 630
20 *Association.y: 170
21 *Association.width: 610
22 *Association.height: 540
23 *Association.title: "Association of Images"
24
25 *form5.class: form
26 *form5.parent: Association
27 *form5.static: true
28 *form5.name: form5
29 *form5.resizePolicy: "resize_none"
30 *form5.unitType: "pixels"
31 *form5.x: 0
32 *form5.y: 0
33 *form5.width: 610
34 *form5.height: 540
35 *form5.background: WindowBackground
36
37 *scrolledWindow5.class: scrolledWindow
38 *scrolledWindow5.parent: form5
39 *scrolledWindow5.static: true
40 *scrolledWindow5.name: scrolledWindow5
41 *scrolledWindow5.scrollingPolicy: "automatic"
42 *scrolledWindow5.x: 280
43 *scrolledWindow5.y: 20
44 *scrolledWindow5.width: 550
45 *scrolledWindow5.height: 215
46 *scrolledWindow5.scrollBarPlacement: "bottom_left"
47 *scrolledWindow5.background: WindowBackground
48 *scrolledWindow5.topAttachment: "attach_form"
49 *scrolledWindow5.topOffset: 80
50 *scrolledWindow5.leftAttachment: "attach_form"
51 *scrolledWindow5.leftOffset: 35
52 *scrolledWindow5.rightAttachment: "attach_form"
53 *scrolledWindow5.rightOffset: 35
54
55 *rowColumn2.class: rowColumn
56 *rowColumn2.parent: scrolledWindow5
57 *rowColumn2.static: true
58 *rowColumn2.name: rowColumn2
59 *rowColumn2.x: 8
60 *rowColumn2.y: -2
61 *rowColumn2.width: 520
62 *rowColumn2.height: 220
63 *rowColumn2.orientation: "horizontal"
64 *rowColumn2.packing: "pack_none"
65 *rowColumn2.background: WindowBackground
66 *rowColumn2.sensitive: "true"
67 *rowColumn2.resizeWidth: "false"
68 *rowColumn2.radioAlwaysOne: "true"
69 *rowColumn2.popupEnabled: "true"
70 *rowColumn2.traversalOn: "false"
71
72 *t_1.class: toggleButton
73 *t_1.parent: rowColumn2
74 *t_1.static: true
75 *t_1.name: t_1
76 *t_1.x: 0
77 *t_1.y: 15
78 *t_1.width: 40
79 *t_1.height: 30
80 *t_1.labelString: ""
81 *t_1.background: WindowBackground
82 *t_1.indicatorType: "one_of_many"
83 *t_1.selectColor: "PaleGreen"
84
85 *t1_1.class: text
86 *t1_1.parent: rowColumn2
87 *t1_1.static: true
88 *t1_1.name: t1_1
89 *t1_1.x: 40
90 *t1_1.y: 10
91 *t1_1.width: 80
92 *t1_1.height: 30
93 *t1_1.background: TextBackground
94 *t1_1.fontList: BoldTextFont
95 *t1_1.text: "BIAS"
96
97 *t2_1.class: text
98 *t2_1.parent: rowColumn2
99 *t2_1.static: true
100 *t2_1.name: t2_1
101 *t2_1.x: 150
102 *t2_1.y: 10
103 *t2_1.width: 80
104 *t2_1.height: 30
105 *t2_1.background: TextBackground
106 *t2_1.fontList: TextFont
107
108 *t_2.class: toggleButton
109 *t_2.parent: rowColumn2
110 *t_2.static: true
111 *t_2.name: t_2
112 *t_2.x: 0
113 *t_2.y: 60
114 *t_2.width: 40
115 *t_2.height: 30
116 *t_2.labelString: ""
117 *t_2.background: WindowBackground
118 *t_2.indicatorType: "one_of_many"
119 *t_2.selectColor: "PaleGreen"
120
121 *t_3.class: toggleButton
122 *t_3.parent: rowColumn2
123 *t_3.static: true
124 *t_3.name: t_3
125 *t_3.x: 0
126 *t_3.y: 105
127 *t_3.width: 40
128 *t_3.height: 30
129 *t_3.labelString: ""
130 *t_3.background: WindowBackground
131 *t_3.indicatorType: "one_of_many"
132 *t_3.selectColor: "PaleGreen"
133
134 *t_4.class: toggleButton
135 *t_4.parent: rowColumn2
136 *t_4.static: true
137 *t_4.name: t_4
138 *t_4.x: 0
139 *t_4.y: 150
140 *t_4.width: 40
141 *t_4.height: 30
142 *t_4.labelString: ""
143 *t_4.background: WindowBackground
144 *t_4.indicatorType: "one_of_many"
145 *t_4.selectColor: "PaleGreen"
146
147 *t_5.class: toggleButton
148 *t_5.parent: rowColumn2
149 *t_5.static: true
150 *t_5.name: t_5
151 *t_5.x: 0
152 *t_5.y: 195
153 *t_5.width: 40
154 *t_5.height: 30
155 *t_5.labelString: ""
156 *t_5.background: WindowBackground
157 *t_5.indicatorType: "one_of_many"
158 *t_5.selectColor: "PaleGreen"
159
160 *t_6.class: toggleButton
161 *t_6.parent: rowColumn2
162 *t_6.static: true
163 *t_6.name: t_6
164 *t_6.x: 0
165 *t_6.y: 240
166 *t_6.width: 40
167 *t_6.height: 30
168 *t_6.labelString: ""
169 *t_6.background: WindowBackground
170 *t_6.indicatorType: "one_of_many"
171 *t_6.selectColor: "PaleGreen"
172
173 *t1_2.class: text
174 *t1_2.parent: rowColumn2
175 *t1_2.static: true
176 *t1_2.name: t1_2
177 *t1_2.x: 40
178 *t1_2.y: 55
179 *t1_2.width: 80
180 *t1_2.height: 20
181 *t1_2.background: TextBackground
182 *t1_2.fontList: BoldTextFont
183 *t1_2.text: "DARK"
184
185 *t1_3.class: text
186 *t1_3.parent: rowColumn2
187 *t1_3.static: true
188 *t1_3.name: t1_3
189 *t1_3.x: 40
190 *t1_3.y: 100
191 *t1_3.width: 80
192 *t1_3.height: 20
193 *t1_3.background: TextBackground
194 *t1_3.fontList: BoldTextFont
195 *t1_3.text: "FF"
196
197 *t1_4.class: text
198 *t1_4.parent: rowColumn2
199 *t1_4.static: true
200 *t1_4.name: t1_4
201 *t1_4.x: 40
202 *t1_4.y: 145
203 *t1_4.width: 80
204 *t1_4.height: 20
205 *t1_4.background: TextBackground
206 *t1_4.fontList: BoldTextFont
207 *t1_4.text: "WCAL"
208
209 *t1_5.class: text
210 *t1_5.parent: rowColumn2
211 *t1_5.static: true
212 *t1_5.name: t1_5
213 *t1_5.x: 40
214 *t1_5.y: 190
215 *t1_5.width: 80
216 *t1_5.height: 20
217 *t1_5.background: TextBackground
218 *t1_5.fontList: BoldTextFont
219
220 *t1_6.class: text
221 *t1_6.parent: rowColumn2
222 *t1_6.static: true
223 *t1_6.name: t1_6
224 *t1_6.x: 40
225 *t1_6.y: 235
226 *t1_6.width: 80
227 *t1_6.height: 20
228 *t1_6.background: TextBackground
229 *t1_6.fontList: BoldTextFont
230
231 *t2_2.class: text
232 *t2_2.parent: rowColumn2
233 *t2_2.static: true
234 *t2_2.name: t2_2
235 *t2_2.x: 150
236 *t2_2.y: 55
237 *t2_2.width: 80
238 *t2_2.height: 30
239 *t2_2.background: TextBackground
240 *t2_2.fontList: TextFont
241
242 *t2_3.class: text
243 *t2_3.parent: rowColumn2
244 *t2_3.static: true
245 *t2_3.name: t2_3
246 *t2_3.x: 150
247 *t2_3.y: 100
248 *t2_3.width: 80
249 *t2_3.height: 30
250 *t2_3.background: TextBackground
251 *t2_3.fontList: TextFont
252
253 *t2_4.class: text
254 *t2_4.parent: rowColumn2
255 *t2_4.static: true
256 *t2_4.name: t2_4
257 *t2_4.x: 150
258 *t2_4.y: 145
259 *t2_4.width: 80
260 *t2_4.height: 30
261 *t2_4.background: TextBackground
262 *t2_4.fontList: TextFont
263
264 *t2_5.class: text
265 *t2_5.parent: rowColumn2
266 *t2_5.static: true
267 *t2_5.name: t2_5
268 *t2_5.x: 150
269 *t2_5.y: 190
270 *t2_5.width: 80
271 *t2_5.height: 30
272 *t2_5.background: TextBackground
273 *t2_5.fontList: TextFont
274
275 *t3_1.class: text
276 *t3_1.parent: rowColumn2
277 *t3_1.static: true
278 *t3_1.name: t3_1
279 *t3_1.x: 250
280 *t3_1.y: 10
281 *t3_1.width: 180
282 *t3_1.height: 30
283 *t3_1.background: TextBackground
284 *t3_1.fontList: TextFont
285
286 *p_1.class: pushButton
287 *p_1.parent: rowColumn2
288 *p_1.static: true
289 *p_1.name: p_1
290 *p_1.x: 460
291 *p_1.y: 5
292 *p_1.width: 90
293 *p_1.height: 30
294 *p_1.recomputeSize: "true"
295 *p_1.fillOnArm: "true"
296 *p_1.background: ButtonBackground
297 *p_1.labelString: " ... "
298 *p_1.activateCallback: {\
299 extern swidget asso;\
300 \
301 extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
302 char mytext[8];\
303 Widget tl;\
304 int rows = 5;\
305 int i;\
306 extern int arowno;\
307 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
308 \
309 if (!arow1[0]) {\
310 arowno = 5;\
311 for (i=0; i<rows; i++) \
312 {\
313 sprintf(mytext,"a1_%d",i);\
314 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
315 sprintf(mytext,"a2_%d",i);\
316 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
317 sprintf(mytext,"a3_%d",i);\
318 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
319 sprintf(mytext,"a4_%d",i);\
320 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
321 }\
322 \
323 }\
324 \
325 UxPutText(UxFindSwidget("arule_name"),"bias_assorule");\
326 UxPopupInterface(asso,no_grab);\
327 }
328
329 *p_2.class: pushButton
330 *p_2.parent: rowColumn2
331 *p_2.static: true
332 *p_2.name: p_2
333 *p_2.x: 460
334 *p_2.y: 50
335 *p_2.width: 90
336 *p_2.height: 30
337 *p_2.recomputeSize: "true"
338 *p_2.fillOnArm: "true"
339 *p_2.background: ButtonBackground
340 *p_2.labelString: " ... "
341 *p_2.activateCallback: {\
342 \
343 \
344 extern swidget asso;\
345 \
346 extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
347 char mytext[8];\
348 Widget tl;\
349 int rows = 5;\
350 int i;\
351 extern int arowno;\
352 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
353 \
354 if (!arow1[0]) {\
355 arowno = 5;\
356 for (i=0; i<rows; i++) \
357 {\
358 sprintf(mytext,"a1_%d",i);\
359 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
360 sprintf(mytext,"a2_%d",i);\
361 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
362 sprintf(mytext,"a3_%d",i);\
363 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
364 sprintf(mytext,"a4_%d",i);\
365 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
366 }\
367 \
368 }\
369 \
370 \
371 UxPutText(UxFindSwidget("arule_name"),"dark_assorule");\
372 UxPopupInterface(asso,no_grab);\
373 }
374
375 *t2_6.class: text
376 *t2_6.parent: rowColumn2
377 *t2_6.static: true
378 *t2_6.name: t2_6
379 *t2_6.x: 150
380 *t2_6.y: 235
381 *t2_6.width: 80
382 *t2_6.height: 30
383 *t2_6.background: TextBackground
384 *t2_6.fontList: TextFont
385
386 *t3_2.class: text
387 *t3_2.parent: rowColumn2
388 *t3_2.static: true
389 *t3_2.name: t3_2
390 *t3_2.x: 250
391 *t3_2.y: 55
392 *t3_2.width: 180
393 *t3_2.height: 30
394 *t3_2.background: TextBackground
395 *t3_2.fontList: TextFont
396
397 *t3_3.class: text
398 *t3_3.parent: rowColumn2
399 *t3_3.static: true
400 *t3_3.name: t3_3
401 *t3_3.x: 250
402 *t3_3.y: 100
403 *t3_3.width: 180
404 *t3_3.height: 30
405 *t3_3.background: TextBackground
406 *t3_3.fontList: TextFont
407
408 *t3_4.class: text
409 *t3_4.parent: rowColumn2
410 *t3_4.static: true
411 *t3_4.name: t3_4
412 *t3_4.x: 250
413 *t3_4.y: 145
414 *t3_4.width: 180
415 *t3_4.height: 30
416 *t3_4.background: TextBackground
417 *t3_4.fontList: TextFont
418
419 *t3_5.class: text
420 *t3_5.parent: rowColumn2
421 *t3_5.static: true
422 *t3_5.name: t3_5
423 *t3_5.x: 250
424 *t3_5.y: 190
425 *t3_5.width: 180
426 *t3_5.height: 30
427 *t3_5.background: TextBackground
428 *t3_5.fontList: TextFont
429
430 *t3_6.class: text
431 *t3_6.parent: rowColumn2
432 *t3_6.static: true
433 *t3_6.name: t3_6
434 *t3_6.x: 250
435 *t3_6.y: 235
436 *t3_6.width: 180
437 *t3_6.height: 30
438 *t3_6.background: TextBackground
439 *t3_6.fontList: TextFont
440
441 *p_3.class: pushButton
442 *p_3.parent: rowColumn2
443 *p_3.static: true
444 *p_3.name: p_3
445 *p_3.x: 460
446 *p_3.y: 95
447 *p_3.width: 90
448 *p_3.height: 30
449 *p_3.recomputeSize: "true"
450 *p_3.fillOnArm: "true"
451 *p_3.background: ButtonBackground
452 *p_3.labelString: " ... "
453 *p_3.activateCallback: {\
454 extern swidget asso;\
455 \
456 \
457 extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
458 char mytext[8];\
459 Widget tl;\
460 int rows = 5;\
461 int i;\
462 extern int arowno;\
463 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
464 \
465 if (!arow1[0]) {\
466 arowno = 5;\
467 for (i=0; i<rows; i++) \
468 {\
469 sprintf(mytext,"a1_%d",i);\
470 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
471 sprintf(mytext,"a2_%d",i);\
472 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
473 sprintf(mytext,"a3_%d",i);\
474 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
475 sprintf(mytext,"a4_%d",i);\
476 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
477 }\
478 \
479 }\
480 \
481 UxPutText(UxFindSwidget("arule_name"),"ff_assorule");\
482 UxPopupInterface(asso,no_grab);\
483 }
484
485 *p_4.class: pushButton
486 *p_4.parent: rowColumn2
487 *p_4.static: true
488 *p_4.name: p_4
489 *p_4.x: 460
490 *p_4.y: 140
491 *p_4.width: 90
492 *p_4.height: 30
493 *p_4.recomputeSize: "true"
494 *p_4.fillOnArm: "true"
495 *p_4.background: ButtonBackground
496 *p_4.labelString: " ... "
497 *p_4.activateCallback: {\
498 extern swidget asso;\
499 extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
500 char mytext[8];\
501 Widget tl;\
502 int rows = 5;\
503 int i;\
504 extern int arowno;\
505 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
506 \
507 if (!arow1[0]) {\
508 arowno = 5;\
509 for (i=0; i<rows; i++) \
510 {\
511 sprintf(mytext,"a1_%d",i);\
512 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
513 sprintf(mytext,"a2_%d",i);\
514 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
515 sprintf(mytext,"a3_%d",i);\
516 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
517 sprintf(mytext,"a4_%d",i);\
518 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
519 }\
520 \
521 }\
522 \
523 UxPutText(UxFindSwidget("arule_name"),"wcal_assorule");\
524 UxPopupInterface(asso,no_grab);\
525 }
526
527 *p_5.class: pushButton
528 *p_5.parent: rowColumn2
529 *p_5.static: true
530 *p_5.name: p_5
531 *p_5.x: 460
532 *p_5.y: 185
533 *p_5.width: 90
534 *p_5.height: 30
535 *p_5.recomputeSize: "true"
536 *p_5.fillOnArm: "true"
537 *p_5.background: ButtonBackground
538 *p_5.labelString: " ... "
539 *p_5.activateCallback: {\
540 extern swidget asso;extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
541 char mytext[8];\
542 Widget tl;\
543 int rows = 5;\
544 int i;\
545 extern int arowno;\
546 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
547 \
548 if (!arow1[0]) {\
549 arowno = 5;\
550 for (i=0; i<rows; i++) \
551 {\
552 sprintf(mytext,"a1_%d",i);\
553 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
554 sprintf(mytext,"a2_%d",i);\
555 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
556 sprintf(mytext,"a3_%d",i);\
557 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
558 sprintf(mytext,"a4_%d",i);\
559 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
560 }\
561 \
562 }\
563 \
564 \
565 UxPopupInterface(asso,no_grab);\
566 }
567
568 *p_6.class: pushButton
569 *p_6.parent: rowColumn2
570 *p_6.static: true
571 *p_6.name: p_6
572 *p_6.x: 460
573 *p_6.y: 230
574 *p_6.width: 90
575 *p_6.height: 30
576 *p_6.recomputeSize: "true"
577 *p_6.fillOnArm: "true"
578 *p_6.background: ButtonBackground
579 *p_6.labelString: " ... "
580 *p_6.activateCallback: {\
581 extern swidget asso;extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\
582 char mytext[8];\
583 Widget tl;\
584 int rows = 5;\
585 int i;\
586 extern int arowno;\
587 XtVaSetValues(UxGetWidget(UxFindSwidget("rowasso")),XmNnumColumns,rows,NULL);\
588 \
589 if (!arow1[0]) {\
590 arowno = 5;\
591 for (i=0; i<rows; i++) \
592 {\
593 sprintf(mytext,"a1_%d",i);\
594 arow1[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),XmNwidth,210,NULL);\
595 sprintf(mytext,"a2_%d",i);\
596 arow2[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
597 sprintf(mytext,"a3_%d",i);\
598 arow3[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
599 sprintf(mytext,"a4_%d",i);\
600 arow4[i] = XtVaCreateManagedWidget(mytext, xmTextWidgetClass,UxGetWidget(UxFindSwidget("rowasso")),NULL);\
601 }\
602 \
603 }\
604 \
605 \
606 UxPopupInterface(asso,no_grab);\
607 }
608
609 *label18.class: label
610 *label18.parent: form5
611 *label18.static: true
612 *label18.name: label18
613 *label18.x: 170
614 *label18.y: 300
615 *label18.width: 200
616 *label18.height: 50
617 *label18.background: WindowBackground
618 *label18.fontList: BoldTextFont
619 *label18.labelString: "Output Table"
620 *label18.topAttachment: "attach_form"
621 *label18.topOffset: 340
622 *label18.leftOffset: 30
623 *label18.leftAttachment: "attach_form"
624
625 *text4.class: text
626 *text4.parent: form5
627 *text4.static: true
628 *text4.name: text4
629 *text4.x: 230
630 *text4.y: 320
631 *text4.width: 210
632 *text4.height: 40
633 *text4.background: TextBackground
634 *text4.topAttachment: "attach_form"
635 *text4.topOffset: 345
636 *text4.leftOffset: 260
637
638 *text5.class: text
639 *text5.parent: form5
640 *text5.static: true
641 *text5.name: text5
642 *text5.x: 10
643 *text5.y: 450
644 *text5.width: 570
645 *text5.height: 40
646 *text5.background: SHelpBackground
647 *text5.rightAttachment: "attach_form"
648 *text5.rightOffset: 5
649 *text5.leftOffset: 5
650 *text5.leftAttachment: "attach_form"
651 *text5.topAttachment: "attach_form"
652 *text5.topOffset: 400
653
654 *pushButton1.class: pushButton
655 *pushButton1.parent: form5
656 *pushButton1.static: true
657 *pushButton1.name: pushButton1
658 *pushButton1.x: 170
659 *pushButton1.y: 460
660 *pushButton1.width: 90
661 *pushButton1.height: 40
662 *pushButton1.background: ButtonBackground
663 *pushButton1.fontList: BoldTextFont
664 *pushButton1.foreground: ButtonForeground
665 *pushButton1.labelString: "Apply"
666 *pushButton1.bottomAttachment: "attach_form"
667 *pushButton1.bottomOffset: 30
668 *pushButton1.leftAttachment: "attach_form"
669 *pushButton1.leftOffset: 100
670 *pushButton1.activateCallback: {\
671 \
672 extern char ostchoice[60];\
673 extern int tidost;\
674 extern swidget myerror;\
675 char command[160];\
676 char myw[4],cbuf[8],expo[8],nexpo[8],mt1[5],filename[60],oname[60];\
677 int i,status,loop;\
678 loop = 0;\
679 if (tidost == -1 ) {\
680 UxPutMessageString(UxFindSwidget("errorDialog1"),"NO OST opened");\
681 UxPopupInterface(myerror,no_grab);\
682 return;\
683 }\
684 \
685 for (i=0; i<6;i++) {\
686 sprintf(myw,"t_%d",i+1);\
687 strcpy(cbuf,UxGetSet(UxFindSwidget(myw)));\
688 strcpy(command,"ASSOCIATE/IMAGE ");\
689 strcpy(oname,UxGetText(UxFindSwidget("text4")));\
690 if (oname[0] == '\0') {\
691 UxPutMessageString(UxFindSwidget("errorDialog1"),"No Output Table Name provided");\
692 UxPopupInterface(myerror,no_grab);\
693 return;\
694 }\
695 if (cbuf[0] == 't') {\
696 sprintf(mt1,"t3_%d",i+1);\
697 strcpy(filename,UxGetText(UxFindSwidget(mt1)));\
698 sprintf(mt1,"t1_%d",i+1);\
699 strcpy(expo,UxGetText(UxFindSwidget(mt1)));\
700 sprintf(mt1,"t2_%d",i+1);\
701 strcpy(nexpo,UxGetText(UxFindSwidget(mt1)));\
702 if (nexpo[0] == '\0') strcpy(nexpo,"1");\
703 if (loop == 0)\
704 sprintf(command,"ASSOCIATE/IMAGE %s %s %s %s C %s",ostchoice,expo,filename,oname,nexpo);\
705 else\
706 sprintf(command,"ASSOCIATE/IMAGE %s %s %s %s A %s",ostchoice,expo,filename,oname,nexpo);\
707 loop++;\
708 status = AppendDialogText(command);\
709 }\
710 }\
711 }
712
713 *pushButton7.class: pushButton
714 *pushButton7.parent: form5
715 *pushButton7.static: true
716 *pushButton7.name: pushButton7
717 *pushButton7.x: 180
718 *pushButton7.y: 470
719 *pushButton7.width: 90
720 *pushButton7.height: 40
721 *pushButton7.background: ButtonBackground
722 *pushButton7.fontList: BoldTextFont
723 *pushButton7.foreground: ButtonForeground
724 *pushButton7.labelString: "Cancel"
725 *pushButton7.bottomAttachment: "attach_form"
726 *pushButton7.bottomOffset: 30
727 *pushButton7.rightOffset: 100
728 *pushButton7.rightAttachment: "attach_form"
729 *pushButton7.activateCallback: {\
730 extern swidget assohaupt;\
731 UxPopdownInterface(assohaupt);\
732 }
733
734 *label20.class: label
735 *label20.parent: form5
736 *label20.static: true
737 *label20.name: label20
738 *label20.x: 40
739 *label20.y: 350
740 *label20.width: 550
741 *label20.height: 50
742 *label20.background: WindowBackground
743 *label20.fontList: BoldTextFont
744 *label20.labelString: "Exposure Type No of Exposures Rule Table"
745 *label20.topAttachment: "attach_form"
746 *label20.topOffset: 20
747 *label20.leftAttachment: "attach_form"
748 *label20.leftOffset: 60
749 *label20.labelType: "string"
750 *label20.alignment: "alignment_beginning"
751