| 1 |
! UIMX ascii 2.0 key: 303 |
| 2 |
*action.WriteHelp: {\ |
| 3 |
char s[100],comm[160] ;\ |
| 4 |
extern char print_com[];\ |
| 5 |
Widget sw = UxWidget;\ |
| 6 |
\ |
| 7 |
strcpy(s,"");\ |
| 8 |
/*sprintf(comm,"WRITE/OUT here");\ |
| 9 |
AppendDialogText(comm);*/\ |
| 10 |
\ |
| 11 |
if (sw == UxGetWidget(UxFindSwidget("ColButton"))) {\ |
| 12 |
strcpy(s,"Select the OST columns to be displayed into the scrolled window");\ |
| 13 |
UxPutText(UxFindSwidget("SHelp") ,s); \ |
| 14 |
} \ |
| 15 |
else if (sw == UxGetWidget(UxFindSwidget("ClassiButton"))) {\ |
| 16 |
strcpy(s,"Activate interface for defining classification rules ");\ |
| 17 |
UxPutText(UxFindSwidget("SHelp") ,s); \ |
| 18 |
} \ |
| 19 |
else if (sw == UxGetWidget(UxFindSwidget("AssoButton"))) {\ |
| 20 |
strcpy(s,"Activate interface for classifying images");\ |
| 21 |
UxPutText(UxFindSwidget("SHelp") ,s); \ |
| 22 |
}\ |
| 23 |
else if (sw == UxGetWidget(UxFindSwidget("AssoButton1"))) {\ |
| 24 |
strcpy(s,"Activate interface for associating calibration exposures to scientific frames");\ |
| 25 |
UxPutText(UxFindSwidget("SHelp") ,s); \ |
| 26 |
}\ |
| 27 |
else if (sw == UxGetWidget(UxFindSwidget("NewsButton3"))) {\ |
| 28 |
strcpy(s,"Create the OST table");\ |
| 29 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 30 |
}\ |
| 31 |
else if (sw == UxGetWidget(UxFindSwidget("PrintButton3"))) {\ |
| 32 |
strcpy(s,"Popdown this interface");\ |
| 33 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 34 |
}\ |
| 35 |
else if (sw == UxGetWidget(UxFindSwidget("ost_t1"))){ \ |
| 36 |
strcpy(s,"Name of the Observation Summary Table to be created ");\ |
| 37 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 38 |
}\ |
| 39 |
else if (sw == UxGetWidget(UxFindSwidget("ost_t2"))){ \ |
| 40 |
strcpy(s,"List of frames to be processed ");\ |
| 41 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 42 |
} \ |
| 43 |
else if (sw == UxGetWidget(UxFindSwidget("ost_t3"))){ \ |
| 44 |
strcpy(s,"Name of the table containing the list of relevant Midas descriptors"); \ |
| 45 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 46 |
}\ |
| 47 |
else if (sw == UxGetWidget(UxFindSwidget("pushButton4"))){ \ |
| 48 |
strcpy(s,"Push button to popup the File Selection Box"); \ |
| 49 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 50 |
}\ |
| 51 |
else if (sw == UxGetWidget(UxFindSwidget("pushButton5"))){ \ |
| 52 |
strcpy(s,"Push button to popup the File Selection Box"); \ |
| 53 |
UxPutText(UxFindSwidget("SHelp3") ,s); \ |
| 54 |
} \ |
| 55 |
} |
| 56 |
*action.ClearHelp: {\ |
| 57 |
UxPutText(UxFindSwidget("SHelp"),"");\ |
| 58 |
} |
| 59 |
|
| 60 |
*translation.table: transTable2 |
| 61 |
*translation.parent: transientShell3 |
| 62 |
*translation.policy: override |
| 63 |
*translation.<EnterWindow> : WriteHelp () |
| 64 |
*translation.<LeaveWindow> : ClearHelp () |
| 65 |
|
| 66 |
*transientShell3.class: transientShell |
| 67 |
*transientShell3.parent: NO_PARENT |
| 68 |
*transientShell3.static: true |
| 69 |
*transientShell3.gbldecl: #include <stdio.h>\ |
| 70 |
#include <ExternResources.h>\ |
| 71 |
#include <midas_def.h>\ |
| 72 |
char *instr[] = {"EMMI","SUSI"};\ |
| 73 |
\ |
| 74 |
extern char print_com[], mid_mail[];\ |
| 75 |
extern swidget scrolledList1; |
| 76 |
*transientShell3.ispecdecl: |
| 77 |
*transientShell3.funcdecl: swidget create_transientShell3()\ |
| 78 |
|
| 79 |
*transientShell3.funcname: create_transientShell3 |
| 80 |
*transientShell3.funcdef: "swidget", "<create_transientShell3>(%)" |
| 81 |
*transientShell3.icode: |
| 82 |
*transientShell3.fcode: return(rtrn);\ |
| 83 |
|
| 84 |
*transientShell3.auxdecl: |
| 85 |
*transientShell3.name: transientShell3 |
| 86 |
*transientShell3.x: 264 |
| 87 |
*transientShell3.y: 431 |
| 88 |
*transientShell3.width: 480 |
| 89 |
*transientShell3.height: 400 |
| 90 |
*transientShell3.popupCallback: {\ |
| 91 |
\ |
| 92 |
} |
| 93 |
*transientShell3.title: "Creation of The OST" |
| 94 |
*transientShell3.translations: "" |
| 95 |
|
| 96 |
*workArea3.class: form |
| 97 |
*workArea3.parent: transientShell3 |
| 98 |
*workArea3.static: true |
| 99 |
*workArea3.name: workArea3 |
| 100 |
*workArea3.x: 0 |
| 101 |
*workArea3.y: 0 |
| 102 |
*workArea3.width: 480 |
| 103 |
*workArea3.height: 400 |
| 104 |
*workArea3.borderWidth: 0 |
| 105 |
*workArea3.createCallback: {\ |
| 106 |
\ |
| 107 |
} |
| 108 |
*workArea3.mapCallback: {\ |
| 109 |
\ |
| 110 |
} |
| 111 |
*workArea3.background: WindowBackground |
| 112 |
*workArea3.unitType: "pixels" |
| 113 |
*workArea3.noResize: "true" |
| 114 |
*workArea3.resizePolicy: "resize_none" |
| 115 |
|
| 116 |
*SHelp3.class: text |
| 117 |
*SHelp3.parent: workArea3 |
| 118 |
*SHelp3.static: true |
| 119 |
*SHelp3.name: SHelp3 |
| 120 |
*SHelp3.x: 30 |
| 121 |
*SHelp3.y: 380 |
| 122 |
*SHelp3.width: 325 |
| 123 |
*SHelp3.height: 40 |
| 124 |
*SHelp3.background: SHelpBackground |
| 125 |
*SHelp3.foreground: TextForeground |
| 126 |
*SHelp3.highlightColor: ApplicBackground |
| 127 |
*SHelp3.fontList: TextFont |
| 128 |
*SHelp3.cursorPositionVisible: "true" |
| 129 |
*SHelp3.translations: "" |
| 130 |
*SHelp3.activateCallback: {\ |
| 131 |
\ |
| 132 |
} |
| 133 |
*SHelp3.pendingDelete: "true" |
| 134 |
*SHelp3.blinkRate: 500 |
| 135 |
*SHelp3.editMode: "single_line_edit" |
| 136 |
*SHelp3.highlightOnEnter: "true" |
| 137 |
*SHelp3.wordWrap: "false" |
| 138 |
*SHelp3.accelerators: "" |
| 139 |
*SHelp3.leftAttachment: "attach_form" |
| 140 |
*SHelp3.leftOffset: 5 |
| 141 |
*SHelp3.rightAttachment: "attach_form" |
| 142 |
*SHelp3.rightOffset: 5 |
| 143 |
*SHelp3.bottomAttachment: "attach_form" |
| 144 |
*SHelp3.bottomOffset: 50 |
| 145 |
*SHelp3.editable: "true" |
| 146 |
*SHelp3.text: " " |
| 147 |
|
| 148 |
*NewsButton3.class: pushButton |
| 149 |
*NewsButton3.parent: workArea3 |
| 150 |
*NewsButton3.static: true |
| 151 |
*NewsButton3.name: NewsButton3 |
| 152 |
*NewsButton3.x: 20 |
| 153 |
*NewsButton3.y: 630 |
| 154 |
*NewsButton3.width: 95 |
| 155 |
*NewsButton3.height: 30 |
| 156 |
*NewsButton3.background: ButtonBackground |
| 157 |
*NewsButton3.labelString: "Apply" |
| 158 |
*NewsButton3.foreground: ButtonForeground |
| 159 |
*NewsButton3.fontList: BoldTextFont |
| 160 |
*NewsButton3.activateCallback: {\ |
| 161 |
char command[160],iframe[60],dtable[60],fflag[8],sflag[8],flag[4],pfix[5];\ |
| 162 |
extern char ostchoice[60];\ |
| 163 |
extern int tidost,tidcomm;\ |
| 164 |
int unit;\ |
| 165 |
strcpy(ostchoice ,osfsupply(UxGetText(UxFindSwidget("ost_t1")),".tbl"));\ |
| 166 |
strncpy(iframe,UxGetText(UxFindSwidget("ost_t2")),60);\ |
| 167 |
/*printf("ostchoice: %s\n",iframe);*/\ |
| 168 |
if (iframe[0] == '\0') iframe[0] = '?';\ |
| 169 |
strncpy(dtable,UxGetText(UxFindSwidget("ost_t3")),60);\ |
| 170 |
strcpy(fflag ,UxGetSet(UxFindSwidget("ost_to1")));\ |
| 171 |
strcpy(sflag,UxGetSet(UxFindSwidget("ost_to2")));\ |
| 172 |
\ |
| 173 |
if (fflag[0] == 't') flag[0] = 'F';\ |
| 174 |
else flag[0] = 'M';\ |
| 175 |
if (sflag[0] == 't') flag[2] = 'F';\ |
| 176 |
else flag[2] = 'N';\ |
| 177 |
flag[1] = 'C';\ |
| 178 |
flag[3] = '\0';\ |
| 179 |
if (tidost != -1) {\ |
| 180 |
TCTCLO(tidost);\ |
| 181 |
tidost = -1;\ |
| 182 |
}\ |
| 183 |
TCTOPN( "TAB_COMM",F_IO_MODE,&tidcomm);\ |
| 184 |
TCEWRC(tidcomm,1,2,ostchoice);\ |
| 185 |
TCEWRC(tidcomm,1,3,dtable);\ |
| 186 |
/*SCDWRC(tidost ,"table_descr",1,dtable,1,60,&unit);*/\ |
| 187 |
TCTCLO(tidcomm);\ |
| 188 |
tidcomm = -1; \ |
| 189 |
strcpy(pfix,"+");\ |
| 190 |
ostcrea(iframe,pfix,dtable,ostchoice,flag);\ |
| 191 |
\ |
| 192 |
sprintf(command,"CREATE/OST %s ? %s %s %s",iframe,dtable,ostchoice,flag);\ |
| 193 |
/*AppendDialogText(command);*/\ |
| 194 |
\ |
| 195 |
if (read_ost_table()) {\ |
| 196 |
\ |
| 197 |
display_ident_table(UxGetWidget(UxFindSwidget("identlist")));\ |
| 198 |
}\ |
| 199 |
/*SCDWRC(tidost ,"table_descr",1,dtable,1,60,&unit);*/\ |
| 200 |
} |
| 201 |
*NewsButton3.recomputeSize: "false" |
| 202 |
*NewsButton3.topAttachment: "attach_widget" |
| 203 |
*NewsButton3.topOffset: 10 |
| 204 |
*NewsButton3.topWidget: "SHelp3" |
| 205 |
*NewsButton3.highlightColor: "Black" |
| 206 |
*NewsButton3.leftAttachment: "attach_form" |
| 207 |
*NewsButton3.leftOffset: 50 |
| 208 |
|
| 209 |
*PrintButton3.class: pushButton |
| 210 |
*PrintButton3.parent: workArea3 |
| 211 |
*PrintButton3.static: true |
| 212 |
*PrintButton3.name: PrintButton3 |
| 213 |
*PrintButton3.x: 280 |
| 214 |
*PrintButton3.y: 330 |
| 215 |
*PrintButton3.width: 95 |
| 216 |
*PrintButton3.height: 30 |
| 217 |
*PrintButton3.background: ButtonBackground |
| 218 |
*PrintButton3.labelString: "Cancel" |
| 219 |
*PrintButton3.foreground: ButtonForeground |
| 220 |
*PrintButton3.fontList: BoldTextFont |
| 221 |
*PrintButton3.activateCallback: {\ |
| 222 |
extern swidget crea;\ |
| 223 |
\ |
| 224 |
UxPopdownInterface(crea);\ |
| 225 |
\ |
| 226 |
} |
| 227 |
*PrintButton3.recomputeSize: "false" |
| 228 |
*PrintButton3.topAttachment: "attach_widget" |
| 229 |
*PrintButton3.topOffset: 10 |
| 230 |
*PrintButton3.topWidget: "SHelp3" |
| 231 |
*PrintButton3.leftAttachment: "attach_none" |
| 232 |
*PrintButton3.leftOffset: 40 |
| 233 |
*PrintButton3.leftWidget: "NewsButton3" |
| 234 |
*PrintButton3.highlightColor: "Black" |
| 235 |
*PrintButton3.rightAttachment: "attach_form" |
| 236 |
*PrintButton3.rightOffset: 50 |
| 237 |
|
| 238 |
*label4.class: label |
| 239 |
*label4.parent: workArea3 |
| 240 |
*label4.static: true |
| 241 |
*label4.name: label4 |
| 242 |
*label4.x: 10 |
| 243 |
*label4.y: 50 |
| 244 |
*label4.width: 130 |
| 245 |
*label4.height: 20 |
| 246 |
*label4.background: LabelBackground |
| 247 |
*label4.fontList: BoldTextFont |
| 248 |
*label4.foreground: TextForeground |
| 249 |
*label4.labelString: "OST" |
| 250 |
*label4.leftAttachment: "attach_form" |
| 251 |
*label4.leftOffset: 35 |
| 252 |
*label4.topOffset: 20 |
| 253 |
*label4.topAttachment: "attach_form" |
| 254 |
|
| 255 |
*label3.class: label |
| 256 |
*label3.parent: workArea3 |
| 257 |
*label3.static: true |
| 258 |
*label3.name: label3 |
| 259 |
*label3.x: 5 |
| 260 |
*label3.y: 60 |
| 261 |
*label3.width: 130 |
| 262 |
*label3.height: 20 |
| 263 |
*label3.background: LabelBackground |
| 264 |
*label3.fontList: BoldTextFont |
| 265 |
*label3.foreground: TextForeground |
| 266 |
*label3.labelString: "Input Frames" |
| 267 |
*label3.topAttachment: "attach_form" |
| 268 |
*label3.topOffset: 65 |
| 269 |
*label3.leftAttachment: "attach_form" |
| 270 |
*label3.leftOffset: 35 |
| 271 |
|
| 272 |
*label1.class: label |
| 273 |
*label1.parent: workArea3 |
| 274 |
*label1.static: true |
| 275 |
*label1.name: label1 |
| 276 |
*label1.x: 0 |
| 277 |
*label1.y: 110 |
| 278 |
*label1.width: 130 |
| 279 |
*label1.height: 20 |
| 280 |
*label1.background: LabelBackground |
| 281 |
*label1.fontList: BoldTextFont |
| 282 |
*label1.foreground: TextForeground |
| 283 |
*label1.labelString: "Descriptor Table" |
| 284 |
*label1.leftAttachment: "attach_form" |
| 285 |
*label1.leftOffset: 35 |
| 286 |
*label1.topAttachment: "attach_form" |
| 287 |
*label1.topOffset: 110 |
| 288 |
|
| 289 |
*label2.class: label |
| 290 |
*label2.parent: workArea3 |
| 291 |
*label2.static: true |
| 292 |
*label2.name: label2 |
| 293 |
*label2.x: 10 |
| 294 |
*label2.y: 160 |
| 295 |
*label2.width: 70 |
| 296 |
*label2.height: 20 |
| 297 |
*label2.background: LabelBackground |
| 298 |
*label2.fontList: BoldTextFont |
| 299 |
*label2.foreground: TextForeground |
| 300 |
*label2.labelString: "Type" |
| 301 |
*label2.leftAttachment: "attach_form" |
| 302 |
*label2.topAttachment: "attach_form" |
| 303 |
*label2.leftOffset: 30 |
| 304 |
*label2.topOffset: 250 |
| 305 |
|
| 306 |
*ost_t1.class: text |
| 307 |
*ost_t1.parent: workArea3 |
| 308 |
*ost_t1.static: true |
| 309 |
*ost_t1.name: ost_t1 |
| 310 |
*ost_t1.x: 200 |
| 311 |
*ost_t1.y: 30 |
| 312 |
*ost_t1.width: 160 |
| 313 |
*ost_t1.height: 40 |
| 314 |
*ost_t1.topAttachment: "attach_form" |
| 315 |
*ost_t1.topOffset: 10 |
| 316 |
*ost_t1.rightAttachment: "attach_none" |
| 317 |
*ost_t1.rightOffset: 20 |
| 318 |
*ost_t1.fontList: TextFont |
| 319 |
*ost_t1.foreground: TextForeground |
| 320 |
*ost_t1.background: TextBackground |
| 321 |
*ost_t1.leftAttachment: "attach_form" |
| 322 |
*ost_t1.leftOffset: 220 |
| 323 |
*ost_t1.topShadowColor: "Gray80" |
| 324 |
*ost_t1.cursorPosition: 0 |
| 325 |
|
| 326 |
*ost_t2.class: text |
| 327 |
*ost_t2.parent: workArea3 |
| 328 |
*ost_t2.static: true |
| 329 |
*ost_t2.name: ost_t2 |
| 330 |
*ost_t2.x: 200 |
| 331 |
*ost_t2.y: 50 |
| 332 |
*ost_t2.width: 160 |
| 333 |
*ost_t2.height: 40 |
| 334 |
*ost_t2.fontList: TextFont |
| 335 |
*ost_t2.foreground: TextForeground |
| 336 |
*ost_t2.background: TextBackground |
| 337 |
*ost_t2.topAttachment: "attach_form" |
| 338 |
*ost_t2.topOffset: 58 |
| 339 |
*ost_t2.rightAttachment: "attach_none" |
| 340 |
*ost_t2.rightOffset: 20 |
| 341 |
*ost_t2.leftAttachment: "attach_form" |
| 342 |
*ost_t2.leftOffset: 220 |
| 343 |
*ost_t2.text: "" |
| 344 |
|
| 345 |
*pushButton4.class: pushButton |
| 346 |
*pushButton4.parent: workArea3 |
| 347 |
*pushButton4.static: true |
| 348 |
*pushButton4.name: pushButton4 |
| 349 |
*pushButton4.x: 400 |
| 350 |
*pushButton4.y: 60 |
| 351 |
*pushButton4.width: 40 |
| 352 |
*pushButton4.height: 40 |
| 353 |
*pushButton4.fontList: BoldTextFont |
| 354 |
*pushButton4.foreground: ButtonForeground |
| 355 |
*pushButton4.background: ButtonBackground |
| 356 |
*pushButton4.labelString: "..." |
| 357 |
*pushButton4.topAttachment: "attach_form" |
| 358 |
*pushButton4.topOffset: 58 |
| 359 |
*pushButton4.rightAttachment: "attach_form" |
| 360 |
*pushButton4.rightOffset: 40 |
| 361 |
*pushButton4.activateCallback: {\ |
| 362 |
char s[1000];\ |
| 363 |
extern swidget flist;\ |
| 364 |
\ |
| 365 |
UxPopupInterface(flist,no_grab);\ |
| 366 |
\ |
| 367 |
} |
| 368 |
|
| 369 |
*pushButton5.class: pushButton |
| 370 |
*pushButton5.parent: workArea3 |
| 371 |
*pushButton5.static: true |
| 372 |
*pushButton5.name: pushButton5 |
| 373 |
*pushButton5.x: 400 |
| 374 |
*pushButton5.y: 100 |
| 375 |
*pushButton5.width: 40 |
| 376 |
*pushButton5.height: 40 |
| 377 |
*pushButton5.fontList: BoldTextFont |
| 378 |
*pushButton5.foreground: ButtonForeground |
| 379 |
*pushButton5.background: ButtonBackground |
| 380 |
*pushButton5.labelString: "..." |
| 381 |
*pushButton5.rightAttachment: "attach_form" |
| 382 |
*pushButton5.rightOffset: 40 |
| 383 |
*pushButton5.topAttachment: "attach_form" |
| 384 |
*pushButton5.topOffset: 158 |
| 385 |
*pushButton5.activateCallback: {\ |
| 386 |
extern swidget ilist,dlist;\ |
| 387 |
extern int doI;\ |
| 388 |
char cbuf1[8],cbuf2[8];\ |
| 389 |
XmString *str;\ |
| 390 |
int item_no,i;\ |
| 391 |
\ |
| 392 |
strcpy(cbuf1,UxGetSet(UxFindSwidget("toggleButtonGadget1")));\ |
| 393 |
strcpy(cbuf2,UxGetSet(UxFindSwidget("toggleButtonGadget2")));\ |
| 394 |
if (cbuf1[0] == 't') {\ |
| 395 |
doI = 0;\ |
| 396 |
item_no = 2;\ |
| 397 |
str = (XmString *)XtMalloc(item_no * sizeof(XmString));\ |
| 398 |
for (i=0; i<item_no; i++)\ |
| 399 |
str[i] = XmStringCreateSimple(instr[i]);\ |
| 400 |
XtVaSetValues(UxGetWidget(UxFindSwidget("SelectInstrument")),\ |
| 401 |
XmNlistItems,str,\ |
| 402 |
XmNlistItemCount,item_no,\ |
| 403 |
NULL);\ |
| 404 |
\ |
| 405 |
UxPutListLabelString( UxFindSwidget("SelectInstrument"),"Instrument");\ |
| 406 |
UxPutDialogTitle(UxFindSwidget("SelectInstrument"),"Select Instrument");\ |
| 407 |
UxPopupInterface(ilist,no_grab);\ |
| 408 |
}\ |
| 409 |
else if (cbuf2[0] == 't') {\ |
| 410 |
/* XtVaSetValues(UxGetWidget(dlist),XmNtitle,\ |
| 411 |
"Select Descriptor Table",NULL);*/\ |
| 412 |
UxPutDialogTitle(UxFindSwidget("SelectDescrTable"),"Select Descriptor Table");\ |
| 413 |
UxPopupInterface(dlist,no_grab);\ |
| 414 |
}\ |
| 415 |
else {\ |
| 416 |
UxPutDialogTitle(UxFindSwidget("SelectDescrTable"),"Select FITS File");\ |
| 417 |
UxPopupInterface(dlist,no_grab);\ |
| 418 |
}\ |
| 419 |
} |
| 420 |
|
| 421 |
*ost_t3.class: text |
| 422 |
*ost_t3.parent: workArea3 |
| 423 |
*ost_t3.static: true |
| 424 |
*ost_t3.name: ost_t3 |
| 425 |
*ost_t3.x: 170 |
| 426 |
*ost_t3.y: 100 |
| 427 |
*ost_t3.width: 160 |
| 428 |
*ost_t3.height: 40 |
| 429 |
*ost_t3.fontList: TextFont |
| 430 |
*ost_t3.foreground: TextForeground |
| 431 |
*ost_t3.background: TextBackground |
| 432 |
*ost_t3.topAttachment: "attach_form" |
| 433 |
*ost_t3.topOffset: 158 |
| 434 |
*ost_t3.leftAttachment: "attach_form" |
| 435 |
*ost_t3.leftOffset: 220 |
| 436 |
|
| 437 |
*ost_to1.class: toggleButton |
| 438 |
*ost_to1.parent: workArea3 |
| 439 |
*ost_to1.static: true |
| 440 |
*ost_to1.name: ost_to1 |
| 441 |
*ost_to1.x: 140 |
| 442 |
*ost_to1.y: 160 |
| 443 |
*ost_to1.width: 80 |
| 444 |
*ost_to1.height: 30 |
| 445 |
*ost_to1.topAttachment: "attach_form" |
| 446 |
*ost_to1.topOffset: 245 |
| 447 |
*ost_to1.background: TextBackground |
| 448 |
*ost_to1.fontList: BoldTextFont |
| 449 |
*ost_to1.foreground: TextForeground |
| 450 |
*ost_to1.leftAttachment: "attach_form" |
| 451 |
*ost_to1.leftOffset: 120 |
| 452 |
*ost_to1.selectColor: "PaleGreen" |
| 453 |
*ost_to1.labelString: "Fits" |
| 454 |
*ost_to1.indicatorType: "one_of_many" |
| 455 |
*ost_to1.valueChangedCallback: {\ |
| 456 |
char cbuf[8];\ |
| 457 |
strcpy(cbuf,UxGetSet(UxThisWidget));\ |
| 458 |
if (cbuf[0] == 't') \ |
| 459 |
UxPutLabelString(UxThisWidget,"Fits");\ |
| 460 |
else\ |
| 461 |
UxPutLabelString(UxThisWidget,"Midas");\ |
| 462 |
} |
| 463 |
*ost_to1.set: "true" |
| 464 |
|
| 465 |
*label6.class: label |
| 466 |
*label6.parent: workArea3 |
| 467 |
*label6.static: true |
| 468 |
*label6.name: label6 |
| 469 |
*label6.x: 40 |
| 470 |
*label6.y: 182 |
| 471 |
*label6.width: 70 |
| 472 |
*label6.height: 20 |
| 473 |
*label6.background: LabelBackground |
| 474 |
*label6.fontList: BoldTextFont |
| 475 |
*label6.foreground: TextForeground |
| 476 |
*label6.labelString: "Statistics" |
| 477 |
*label6.leftAttachment: "attach_form" |
| 478 |
*label6.leftOffset: 250 |
| 479 |
*label6.topAttachment: "attach_form" |
| 480 |
*label6.topOffset: 250 |
| 481 |
|
| 482 |
*ost_to2.class: toggleButton |
| 483 |
*ost_to2.parent: workArea3 |
| 484 |
*ost_to2.static: true |
| 485 |
*ost_to2.name: ost_to2 |
| 486 |
*ost_to2.x: 130 |
| 487 |
*ost_to2.y: 178 |
| 488 |
*ost_to2.width: 80 |
| 489 |
*ost_to2.height: 30 |
| 490 |
*ost_to2.background: TextBackground |
| 491 |
*ost_to2.fontList: BoldTextFont |
| 492 |
*ost_to2.foreground: TextForeground |
| 493 |
*ost_to2.selectColor: "PaleGreen" |
| 494 |
*ost_to2.labelString: "Yes" |
| 495 |
*ost_to2.indicatorType: "one_of_many" |
| 496 |
*ost_to2.leftAttachment: "attach_none" |
| 497 |
*ost_to2.leftOffset: 30 |
| 498 |
*ost_to2.topAttachment: "attach_form" |
| 499 |
*ost_to2.topOffset: 245 |
| 500 |
*ost_to2.valueChangedCallback: {\ |
| 501 |
char cbuf[8];\ |
| 502 |
strcpy(cbuf,UxGetSet(UxThisWidget));\ |
| 503 |
if (cbuf[0] == 't')\ |
| 504 |
UxPutLabelString(UxThisWidget,"Yes");\ |
| 505 |
else\ |
| 506 |
UxPutLabelString(UxThisWidget,"No");\ |
| 507 |
\ |
| 508 |
} |
| 509 |
*ost_to2.rightAttachment: "attach_form" |
| 510 |
*ost_to2.rightOffset: 30 |
| 511 |
*ost_to2.set: "true" |
| 512 |
|
| 513 |
*rowColumn1.class: rowColumn |
| 514 |
*rowColumn1.parent: workArea3 |
| 515 |
*rowColumn1.static: true |
| 516 |
*rowColumn1.name: rowColumn1 |
| 517 |
*rowColumn1.x: 10 |
| 518 |
*rowColumn1.y: 130 |
| 519 |
*rowColumn1.width: 140 |
| 520 |
*rowColumn1.height: 110 |
| 521 |
*rowColumn1.background: WindowBackground |
| 522 |
*rowColumn1.radioBehavior: "true" |
| 523 |
*rowColumn1.leftAttachment: "attach_form" |
| 524 |
*rowColumn1.leftOffset: 20 |
| 525 |
|
| 526 |
*toggleButtonGadget1.class: toggleButtonGadget |
| 527 |
*toggleButtonGadget1.parent: rowColumn1 |
| 528 |
*toggleButtonGadget1.static: true |
| 529 |
*toggleButtonGadget1.name: toggleButtonGadget1 |
| 530 |
*toggleButtonGadget1.x: 10 |
| 531 |
*toggleButtonGadget1.y: 10 |
| 532 |
*toggleButtonGadget1.width: 120 |
| 533 |
*toggleButtonGadget1.height: 20 |
| 534 |
*toggleButtonGadget1.indicatorType: "one_of_many" |
| 535 |
*toggleButtonGadget1.labelString: "Get Standard Table" |
| 536 |
*toggleButtonGadget1.fontList: TextFont |
| 537 |
*toggleButtonGadget1.selectColor: "PaleGreen" |
| 538 |
|
| 539 |
*toggleButtonGadget2.class: toggleButtonGadget |
| 540 |
*toggleButtonGadget2.parent: rowColumn1 |
| 541 |
*toggleButtonGadget2.static: true |
| 542 |
*toggleButtonGadget2.name: toggleButtonGadget2 |
| 543 |
*toggleButtonGadget2.x: 13 |
| 544 |
*toggleButtonGadget2.y: 13 |
| 545 |
*toggleButtonGadget2.width: 120 |
| 546 |
*toggleButtonGadget2.height: 20 |
| 547 |
*toggleButtonGadget2.indicatorType: "one_of_many" |
| 548 |
*toggleButtonGadget2.labelString: "Select Own Table" |
| 549 |
*toggleButtonGadget2.fontList: TextFont |
| 550 |
*toggleButtonGadget2.selectColor: "PaleGreen" |
| 551 |
*toggleButtonGadget2.set: "true" |
| 552 |
|
| 553 |
*toggleButtonGadget3.class: toggleButtonGadget |
| 554 |
*toggleButtonGadget3.parent: rowColumn1 |
| 555 |
*toggleButtonGadget3.static: true |
| 556 |
*toggleButtonGadget3.name: toggleButtonGadget3 |
| 557 |
*toggleButtonGadget3.x: 13 |
| 558 |
*toggleButtonGadget3.y: 44 |
| 559 |
*toggleButtonGadget3.width: 120 |
| 560 |
*toggleButtonGadget3.height: 20 |
| 561 |
*toggleButtonGadget3.indicatorType: "one_of_many" |
| 562 |
*toggleButtonGadget3.labelString: "Create from Fits File" |
| 563 |
*toggleButtonGadget3.fontList: TextFont |
| 564 |
*toggleButtonGadget3.selectColor: "PaleGreen" |
| 565 |
|
| 566 |
*separator1.class: separator |
| 567 |
*separator1.parent: workArea3 |
| 568 |
*separator1.static: true |
| 569 |
*separator1.name: separator1 |
| 570 |
*separator1.x: 180 |
| 571 |
*separator1.y: 140 |
| 572 |
*separator1.width: 10 |
| 573 |
*separator1.height: 106 |
| 574 |
*separator1.orientation: "vertical" |
| 575 |
*separator1.background: WindowBackground |
| 576 |
*separator1.leftAttachment: "attach_form" |
| 577 |
*separator1.leftOffset: 180 |
| 578 |
*separator1.topAttachment: "attach_form" |
| 579 |
*separator1.topOffset: 120 |
| 580 |
|
| 581 |
*separator2.class: separator |
| 582 |
*separator2.parent: workArea3 |
| 583 |
*separator2.static: true |
| 584 |
*separator2.name: separator2 |
| 585 |
*separator2.x: 190 |
| 586 |
*separator2.y: 145 |
| 587 |
*separator2.width: 10 |
| 588 |
*separator2.height: 106 |
| 589 |
*separator2.orientation: "vertical" |
| 590 |
*separator2.background: WindowBackground |
| 591 |
*separator2.topAttachment: "attach_form" |
| 592 |
*separator2.topOffset: 120 |
| 593 |
*separator2.leftAttachment: "attach_form" |
| 594 |
*separator2.leftOffset: 10 |
| 595 |
|
| 596 |
*separator3.class: separator |
| 597 |
*separator3.parent: workArea3 |
| 598 |
*separator3.static: true |
| 599 |
*separator3.name: separator3 |
| 600 |
*separator3.x: 10 |
| 601 |
*separator3.y: 230 |
| 602 |
*separator3.width: 170 |
| 603 |
*separator3.height: 10 |
| 604 |
*separator3.background: WindowBackground |
| 605 |
*separator3.leftAttachment: "attach_form" |
| 606 |
*separator3.leftOffset: 15 |
| 607 |
*separator3.topAttachment: "attach_form" |
| 608 |
*separator3.topOffset: 222 |
| 609 |
|
| 610 |
*separator4.class: separator |
| 611 |
*separator4.parent: workArea3 |
| 612 |
*separator4.static: true |
| 613 |
*separator4.name: separator4 |
| 614 |
*separator4.x: 10 |
| 615 |
*separator4.y: 130 |
| 616 |
*separator4.width: 170 |
| 617 |
*separator4.height: 10 |
| 618 |
*separator4.background: WindowBackground |
| 619 |
*separator4.topAttachment: "attach_form" |
| 620 |
*separator4.topOffset: 115 |
| 621 |
*separator4.leftAttachment: "attach_form" |
| 622 |
*separator4.leftOffset: 15 |
| 623 |
|