| 1 |
! UIMX ascii 2.0 key: 7503 |
| 2 |
|
| 3 |
*transientShell8.class: transientShell |
| 4 |
*transientShell8.parent: NO_PARENT |
| 5 |
*transientShell8.static: true |
| 6 |
*transientShell8.gbldecl: #include <stdio.h>\ |
| 7 |
#include <ExternResources.h>\ |
| 8 |
#include <midas_def.h> |
| 9 |
*transientShell8.ispecdecl: |
| 10 |
*transientShell8.funcdecl: swidget create_transientShell8()\ |
| 11 |
|
| 12 |
*transientShell8.funcname: create_transientShell8 |
| 13 |
*transientShell8.funcdef: "swidget", "<create_transientShell8>(%)" |
| 14 |
*transientShell8.icode: |
| 15 |
*transientShell8.fcode: return(rtrn);\ |
| 16 |
|
| 17 |
*transientShell8.auxdecl: |
| 18 |
*transientShell8.name: transientShell8 |
| 19 |
*transientShell8.x: 330 |
| 20 |
*transientShell8.y: 300 |
| 21 |
*transientShell8.width: 290 |
| 22 |
*transientShell8.height: 353 |
| 23 |
*transientShell8.title: "Select OST table" |
| 24 |
|
| 25 |
*form1.class: form |
| 26 |
*form1.parent: transientShell8 |
| 27 |
*form1.static: true |
| 28 |
*form1.name: form1 |
| 29 |
*form1.resizePolicy: "resize_none" |
| 30 |
*form1.unitType: "pixels" |
| 31 |
*form1.x: 0 |
| 32 |
*form1.y: 0 |
| 33 |
*form1.width: 290 |
| 34 |
*form1.height: 240 |
| 35 |
*form1.background: ApplicBackground |
| 36 |
|
| 37 |
*scrolledWindow2.class: scrolledWindow |
| 38 |
*scrolledWindow2.parent: form1 |
| 39 |
*scrolledWindow2.static: true |
| 40 |
*scrolledWindow2.name: scrolledWindow2 |
| 41 |
*scrolledWindow2.scrollingPolicy: "application_defined" |
| 42 |
*scrolledWindow2.x: 10 |
| 43 |
*scrolledWindow2.y: 10 |
| 44 |
*scrolledWindow2.visualPolicy: "variable" |
| 45 |
*scrolledWindow2.scrollBarDisplayPolicy: "static" |
| 46 |
*scrolledWindow2.shadowThickness: 0 |
| 47 |
*scrolledWindow2.bottomAttachment: "attach_form" |
| 48 |
*scrolledWindow2.bottomOffset: 45 |
| 49 |
*scrolledWindow2.height: 316 |
| 50 |
*scrolledWindow2.leftAttachment: "attach_form" |
| 51 |
*scrolledWindow2.leftOffset: 2 |
| 52 |
*scrolledWindow2.rightAttachment: "attach_form" |
| 53 |
*scrolledWindow2.rightOffset: 2 |
| 54 |
*scrolledWindow2.topAttachment: "attach_form" |
| 55 |
*scrolledWindow2.topOffset: 0 |
| 56 |
*scrolledWindow2.width: 270 |
| 57 |
*scrolledWindow2.background: ApplicBackground |
| 58 |
*scrolledWindow2.scrollBarPlacement: "bottom_left" |
| 59 |
|
| 60 |
*tablelist.class: scrolledList |
| 61 |
*tablelist.parent: scrolledWindow2 |
| 62 |
*tablelist.static: false |
| 63 |
*tablelist.name: tablelist |
| 64 |
*tablelist.width: 190 |
| 65 |
*tablelist.height: 320 |
| 66 |
*tablelist.background: TextBackground |
| 67 |
*tablelist.fontList: TextFont |
| 68 |
*tablelist.foreground: TextForeground |
| 69 |
*tablelist.scrollBarDisplayPolicy: "static" |
| 70 |
*tablelist.browseSelectionCallback: {\ |
| 71 |
extern char ostchoice[60],claschoice[60],assochoice[60];\ |
| 72 |
extern char *colchoice; \ |
| 73 |
extern int do8,tidcomm,tidost;\ |
| 74 |
extern swidget klist,text3;\ |
| 75 |
XmListCallbackStruct *cbs;\ |
| 76 |
char *choice,type[2] ;\ |
| 77 |
char mycomm[200],table_descr[60] ;\ |
| 78 |
int upper,unit,null,actval,dummy,uni;\ |
| 79 |
\ |
| 80 |
cbs = (XmListCallbackStruct *)UxCallbackArg;\ |
| 81 |
XmStringGetLtoR(cbs->item, XmSTRING_DEFAULT_CHARSET, &choice);\ |
| 82 |
if (!do8) {\ |
| 83 |
strcpy(ostchoice,choice);\ |
| 84 |
XtFree(choice);\ |
| 85 |
UxPopdownInterface(klist);\ |
| 86 |
if (read_ost_table())\ |
| 87 |
display_ident_table(UxGetWidget(UxFindSwidget("identlist")));\ |
| 88 |
/* XtVaGetValues(UxGetWidget(UxFindSwidget("readtable")),XmNitemCount,&upper,NULL);\ |
| 89 |
if (upper != 0) XmListDeleteAllItems(UxGetWidget(UxFindSwidget("readtable")));*/\ |
| 90 |
SCDFND(tidost,"table_descr",type,&dummy,&dummy);\ |
| 91 |
TCTOPN("TAB_COMM",F_IO_MODE,&tidcomm); \ |
| 92 |
if (type[0] != ' ') {\ |
| 93 |
SCDRDC(tidost ,"table_descr",1 ,1,60,&actval,table_descr,&uni ,&null);\ |
| 94 |
TCEWRC(tidcomm,1,3,table_descr);\ |
| 95 |
}\ |
| 96 |
TCEWRC(tidcomm,1,2,ostchoice);\ |
| 97 |
TCTCLO(tidcomm);\ |
| 98 |
if (*colchoice) \ |
| 99 |
\ |
| 100 |
display_col_table(UxGetWidget(UxFindSwidget("readtable")));\ |
| 101 |
\ |
| 102 |
}\ |
| 103 |
else if (do8 == 1){\ |
| 104 |
strcpy(claschoice,choice);\ |
| 105 |
XtFree(choice);\ |
| 106 |
UxPopdownInterface(klist);\ |
| 107 |
read_clas_table();\ |
| 108 |
}\ |
| 109 |
else {\ |
| 110 |
strcpy(assochoice,choice);\ |
| 111 |
XtFree(choice);\ |
| 112 |
UxPopdownInterface(klist);\ |
| 113 |
read_asso_table();\ |
| 114 |
}\ |
| 115 |
} |
| 116 |
*tablelist.visibleItemCount: 16 |
| 117 |
|
| 118 |
*pushButton2.class: pushButton |
| 119 |
*pushButton2.parent: form1 |
| 120 |
*pushButton2.static: true |
| 121 |
*pushButton2.name: pushButton2 |
| 122 |
*pushButton2.x: 0 |
| 123 |
*pushButton2.y: 318 |
| 124 |
*pushButton2.width: 210 |
| 125 |
*pushButton2.height: 35 |
| 126 |
*pushButton2.background: ButtonBackground |
| 127 |
*pushButton2.bottomAttachment: "attach_form" |
| 128 |
*pushButton2.bottomOffset: 5 |
| 129 |
*pushButton2.leftAttachment: "attach_form" |
| 130 |
*pushButton2.leftOffset: 10 |
| 131 |
*pushButton2.rightAttachment: "attach_form" |
| 132 |
*pushButton2.rightOffset: 10 |
| 133 |
*pushButton2.labelString: "cancel" |
| 134 |
*pushButton2.fontList: BoldTextFont |
| 135 |
*pushButton2.foreground: CancelForeground |
| 136 |
*pushButton2.activateCallback: {\ |
| 137 |
extern swidget klist;\ |
| 138 |
UxPopdownInterface(klist);\ |
| 139 |
} |
| 140 |
|