Debian Codegraph @

gui/XDo/prj/transientShell4.i

raw
1 ! UIMX ascii 2.0 key: 8867
2
3 *transientShell4.class: transientShell
4 *transientShell4.parent: NO_PARENT
5 *transientShell4.static: true
6 *transientShell4.gbldecl: #include <stdio.h>\
7 #include <ExternResources.h>\
8 #include <Xm/LabelG.h>\
9 #include <midas_def.h>\
10 \
11 char *rowlab[256];
12 *transientShell4.ispecdecl:
13 *transientShell4.funcdecl: swidget create_transientShell4()\
14
15 *transientShell4.funcname: create_transientShell4
16 *transientShell4.funcdef: "swidget", "<create_transientShell4>(%)"
17 *transientShell4.icode:
18 *transientShell4.fcode: return(rtrn);\
19
20 *transientShell4.auxdecl:
21 *transientShell4.name: transientShell4
22 *transientShell4.x: 410
23 *transientShell4.y: 230
24 *transientShell4.width: 350
25 *transientShell4.height: 600
26
27 *form5.class: form
28 *form5.parent: transientShell4
29 *form5.static: true
30 *form5.name: form5
31 *form5.resizePolicy: "resize_none"
32 *form5.unitType: "pixels"
33 *form5.x: 10
34 *form5.y: 10
35 *form5.width: 350
36 *form5.height: 430
37 *form5.background: WindowBackground
38
39 *scrolledWindow5.class: scrolledWindow
40 *scrolledWindow5.parent: form5
41 *scrolledWindow5.static: true
42 *scrolledWindow5.name: scrolledWindow5
43 *scrolledWindow5.scrollingPolicy: "automatic"
44 *scrolledWindow5.x: 10
45 *scrolledWindow5.y: 30
46 *scrolledWindow5.width: 350
47 *scrolledWindow5.height: 380
48 *scrolledWindow5.background: WindowBackground
49 *scrolledWindow5.scrollBarPlacement: "bottom_left"
50 *scrolledWindow5.scrollBarDisplayPolicy: "static"
51 *scrolledWindow5.leftAttachment: "attach_form"
52 *scrolledWindow5.rightAttachment: "attach_form"
53 *scrolledWindow5.rightOffset: 10
54 *scrolledWindow5.leftOffset: 10
55
56 *rowColumn4.class: rowColumn
57 *rowColumn4.parent: scrolledWindow5
58 *rowColumn4.static: true
59 *rowColumn4.name: rowColumn4
60 *rowColumn4.x: 8
61 *rowColumn4.y: 8
62 *rowColumn4.width: 350
63 *rowColumn4.height: 370
64 *rowColumn4.background: WindowBackground
65 *rowColumn4.entryAlignment: "alignment_center"
66 *rowColumn4.orientation: "vertical"
67 *rowColumn4.packing: "pack_column"
68 *rowColumn4.createCallback: {\
69 \
70 }
71 *rowColumn4.numColumns: 2
72 *rowColumn4.entryCallback: {\
73 /*XmRowColumnCallbackStruct *cbs;\
74 Widget pb = cbs->widget;\
75 cbs = (XmRowColumnCallbackStruct *)UxCallbackArg;\
76 printf("%s: %s\n",XtName(pb),cbs->data);*/\
77 }
78 *rowColumn4.resizeWidth: "true"
79
80 *label5.class: label
81 *label5.parent: form5
82 *label5.static: true
83 *label5.name: label5
84 *label5.x: 10
85 *label5.y: 420
86 *label5.width: 240
87 *label5.height: 40
88 *label5.background: WindowBackground
89 *label5.fontList: BoldTextFont
90 *label5.labelString: "Rule Name"
91 *label5.alignment: "alignment_beginning"
92
93 *text4.class: text
94 *text4.parent: form5
95 *text4.static: true
96 *text4.name: text4
97 *text4.x: 10
98 *text4.y: 460
99 *text4.width: 330
100 *text4.height: 40
101 *text4.background: TextBackground
102 *text4.leftAttachment: "attach_form"
103 *text4.leftOffset: 10
104 *text4.rightAttachment: "attach_form"
105 *text4.rightOffset: 10
106
107 *pushButton9.class: pushButton
108 *pushButton9.parent: form5
109 *pushButton9.static: true
110 *pushButton9.name: pushButton9
111 *pushButton9.x: 20
112 *pushButton9.y: 530
113 *pushButton9.width: 80
114 *pushButton9.height: 40
115 *pushButton9.background: ButtonBackground
116 *pushButton9.fontList: BoldTextFont
117 *pushButton9.foreground: ButtonForeground
118 *pushButton9.labelString: "OK"
119 *pushButton9.leftAttachment: "attach_form"
120 *pushButton9.leftOffset: 20
121 *pushButton9.bottomAttachment: "attach_form"
122 *pushButton9.bottomOffset: 30
123
124 *pushButton10.class: pushButton
125 *pushButton10.parent: form5
126 *pushButton10.static: true
127 *pushButton10.name: pushButton10
128 *pushButton10.x: 140
129 *pushButton10.y: 530
130 *pushButton10.width: 80
131 *pushButton10.height: 40
132 *pushButton10.background: ButtonBackground
133 *pushButton10.fontList: BoldTextFont
134 *pushButton10.foreground: ButtonForeground
135 *pushButton10.labelString: "Apply"
136 *pushButton10.bottomAttachment: "attach_form"
137 *pushButton10.bottomOffset: 30
138 *pushButton10.leftAttachment: "attach_widget"
139 *pushButton10.leftOffset: 35
140 *pushButton10.leftWidget: "pushButton9"
141 *pushButton10.activateCallback: {\
142 extern int tidost;\
143 extern char *rowtext[256];\
144 int ncol,dummy,i,unit,lennew;\
145 char mylabel[TBL_LABLEN+2],*temp,selecrit[256];\
146 TCIGET(tidost,&ncol,&dummy,&dummy,&dummy,&dummy);\
147 temp = osmmget(256);\
148 oscfill(selecrit,256,'\0');\
149 printf("ncol %d \n",ncol);\
150 for (i=1; i<=ncol; i++) \
151 if (rowtext[i-1]) {\
152 printf("rowtext: %s\n",rowtext[i-1]);\
153 if (*rowtext[i-1]) {\
154 mylabel[0] = ':'; \
155 TCLGET(tidost,i,mylabel+1);\
156 if (selecrit[0] != '\0') strcat(selecrit,".AND.");\
157 decrypt1(mylabel,rowtext[i-1],selecrit,temp);\
158 lennew = strlen(selecrit);\
159 }\
160 }\
161 printf("selecrit: %s\n",selecrit);\
162 /*SCDWRC(tidost,"test",1,selecrit,1,lennew,&unit);*/\
163 \
164 }
165
166 *pushButton11.class: pushButton
167 *pushButton11.parent: form5
168 *pushButton11.static: true
169 *pushButton11.name: pushButton11
170 *pushButton11.x: 250
171 *pushButton11.y: 530
172 *pushButton11.width: 80
173 *pushButton11.height: 40
174 *pushButton11.background: ButtonBackground
175 *pushButton11.fontList: BoldTextFont
176 *pushButton11.foreground: ButtonForeground
177 *pushButton11.labelString: "Cancel"
178 *pushButton11.leftAttachment: "attach_none"
179 *pushButton11.leftOffset: 40
180 *pushButton11.leftWidget: "pushButton10"
181 *pushButton11.rightAttachment: "attach_form"
182 *pushButton11.rightOffset: 20
183 *pushButton11.bottomAttachment: "attach_form"
184 *pushButton11.bottomOffset: 30
185 *pushButton11.activateCallback: {\
186 extern swidget classi;\
187 UxPopdownInterface(classi);\
188 }
189