Debian Codegraph @

gui/XLong/prj/resid_dialog.i

raw
1 ! UIMX ascii 2.0 key: 4559
2
3 *resid_dialog.class: applicationShell
4 *resid_dialog.parent: NO_PARENT
5 *resid_dialog.static: true
6 *resid_dialog.gbldecl: #include <stdio.h>\
7 #include <ExternResources.h>
8 *resid_dialog.ispecdecl:
9 *resid_dialog.funcdecl: swidget create_resid_dialog()\
10
11 *resid_dialog.funcname: create_resid_dialog
12 *resid_dialog.funcdef: "swidget", "<create_resid_dialog>(%)"
13 *resid_dialog.icode:
14 *resid_dialog.fcode: return(rtrn);\
15
16 *resid_dialog.auxdecl:
17 *resid_dialog.name: resid_dialog
18 *resid_dialog.x: 102
19 *resid_dialog.y: 121
20 *resid_dialog.width: 246
21 *resid_dialog.height: 105
22 *resid_dialog.title: "Residuals plot"
23 *resid_dialog.keyboardFocusPolicy: "pointer"
24 *resid_dialog.geometry: "+180+360"
25 *resid_dialog.background: WindowBackground
26
27 *form18.class: form
28 *form18.parent: resid_dialog
29 *form18.static: true
30 *form18.name: form18
31 *form18.resizePolicy: "resize_none"
32 *form18.unitType: "pixels"
33 *form18.x: 0
34 *form18.y: 0
35 *form18.width: 408
36 *form18.height: 348
37 *form18.background: WindowBackground
38
39 *form19.class: form
40 *form19.parent: form18
41 *form19.static: true
42 *form19.name: form19
43 *form19.resizePolicy: "resize_none"
44 *form19.x: 0
45 *form19.y: 62
46 *form19.width: 452
47 *form19.height: 40
48 *form19.background: ButtonBackground
49
50 *pushButton29.class: pushButton
51 *pushButton29.parent: form19
52 *pushButton29.static: true
53 *pushButton29.name: pushButton29
54 *pushButton29.x: 8
55 *pushButton29.y: 4
56 *pushButton29.width: 80
57 *pushButton29.height: 30
58 *pushButton29.background: ButtonBackground
59 *pushButton29.fontList: BoldTextFont
60 *pushButton29.foreground: ApplyForeground
61 *pushButton29.labelString: "Ok"
62 *pushButton29.activateCallback: {\
63 #include <spec_comm.h>\
64 \
65 char command[256];\
66 char *text;\
67 extern char Plotmode[];\
68 \
69 strcpy(Plotmode, C_PLOT_RESID);\
70 if ( XmToggleButtonGetState(UxGetWidget(UxFindSwidget("tg_residual")))) \
71 sprintf(command, "%sALL", C_PLOT_RESID);\
72 else {\
73 text = XmTextGetString(UxGetWidget(UxFindSwidget("tf_residual")));\
74 sprintf(command, "%s%s", C_PLOT_RESID, text);\
75 XtFree(text);\
76 }\
77 AppendDialogText(command);\
78 UxPopdownInterface(UxFindSwidget("resid_dialog"));\
79 }
80
81 *pushButton36.class: pushButton
82 *pushButton36.parent: form19
83 *pushButton36.static: true
84 *pushButton36.name: pushButton36
85 *pushButton36.x: 100
86 *pushButton36.y: 4
87 *pushButton36.width: 80
88 *pushButton36.height: 30
89 *pushButton36.background: ButtonBackground
90 *pushButton36.fontList: BoldTextFont
91 *pushButton36.foreground: CancelForeground
92 *pushButton36.labelString: "Cancel"
93 *pushButton36.activateCallback: {\
94 UxPopdownInterface(UxFindSwidget("resid_dialog"));\
95 }
96
97 *label25.class: label
98 *label25.parent: form18
99 *label25.static: true
100 *label25.name: label25
101 *label25.x: 22
102 *label25.y: 10
103 *label25.width: 94
104 *label25.height: 36
105 *label25.background: LabelBackground
106 *label25.fontList: TextFont
107 *label25.labelString: "Row number :"
108 *label25.alignment: "alignment_beginning"
109 *label25.foreground: TextForeground
110
111 *tf_residual.class: textField
112 *tf_residual.parent: form18
113 *tf_residual.static: true
114 *tf_residual.name: tf_residual
115 *tf_residual.x: 120
116 *tf_residual.y: 8
117 *tf_residual.width: 54
118 *tf_residual.height: 40
119 *tf_residual.background: TextBackground
120 *tf_residual.fontList: TextFont
121 *tf_residual.highlightOnEnter: "true"
122 *tf_residual.foreground: TextForeground
123
124 *tg_residual.class: toggleButton
125 *tg_residual.parent: form18
126 *tg_residual.static: true
127 *tg_residual.name: tg_residual
128 *tg_residual.x: 176
129 *tg_residual.y: 10
130 *tg_residual.width: 60
131 *tg_residual.height: 36
132 *tg_residual.background: WindowBackground
133 *tg_residual.fontList: TextFont
134 *tg_residual.labelString: "ALL"
135 *tg_residual.set: "false"
136 *tg_residual.selectColor: SelectColor
137 *tg_residual.foreground: TextForeground
138 *tg_residual.highlightOnEnter: "true"
139 *tg_residual.valueChangedCallback: {\
140 extern int AllResidual;\
141 \
142 AllResidual = XmToggleButtonGetState(UxWidget);\
143 XtSetSensitive(UxGetWidget(UxFindSwidget("tf_residual")), !AllResidual);\
144 }
145 *tg_residual.indicatorSize: 16
146