| 1 |
! UIMX ascii 2.0 key: 4158 |
| 2 |
|
| 3 |
*SearchShell.class: applicationShell |
| 4 |
*SearchShell.parent: NO_PARENT |
| 5 |
*SearchShell.static: true |
| 6 |
*SearchShell.gbldecl: #include <stdio.h> \ |
| 7 |
#include <ExternResources.h> |
| 8 |
*SearchShell.ispecdecl: |
| 9 |
*SearchShell.funcdecl: swidget create_SearchShell()\ |
| 10 |
|
| 11 |
*SearchShell.funcname: create_SearchShell |
| 12 |
*SearchShell.funcdef: "swidget", "<create_SearchShell>(%)" |
| 13 |
*SearchShell.icode: |
| 14 |
*SearchShell.fcode: return(rtrn);\ |
| 15 |
|
| 16 |
*SearchShell.auxdecl: |
| 17 |
*SearchShell.name: SearchShell |
| 18 |
*SearchShell.x: 30 |
| 19 |
*SearchShell.y: 40 |
| 20 |
*SearchShell.width: 490 |
| 21 |
*SearchShell.height: 281 |
| 22 |
*SearchShell.title: "Search" |
| 23 |
*SearchShell.keyboardFocusPolicy: "pointer" |
| 24 |
*SearchShell.geometry: "+10+60" |
| 25 |
*SearchShell.background: WindowBackground |
| 26 |
|
| 27 |
*form2.class: form |
| 28 |
*form2.parent: SearchShell |
| 29 |
*form2.static: true |
| 30 |
*form2.name: form2 |
| 31 |
*form2.resizePolicy: "resize_none" |
| 32 |
*form2.unitType: "pixels" |
| 33 |
*form2.x: 0 |
| 34 |
*form2.y: 0 |
| 35 |
*form2.width: 408 |
| 36 |
*form2.height: 348 |
| 37 |
*form2.background: WindowBackground |
| 38 |
|
| 39 |
*label9.class: label |
| 40 |
*label9.parent: form2 |
| 41 |
*label9.static: true |
| 42 |
*label9.name: label9 |
| 43 |
*label9.x: 16 |
| 44 |
*label9.y: 92 |
| 45 |
*label9.width: 203 |
| 46 |
*label9.height: 30 |
| 47 |
*label9.background: LabelBackground |
| 48 |
*label9.fontList: TextFont |
| 49 |
*label9.labelString: "Row smoothing factor :" |
| 50 |
*label9.alignment: "alignment_beginning" |
| 51 |
*label9.foreground: TextForeground |
| 52 |
|
| 53 |
*tf_ywidth.class: textField |
| 54 |
*tf_ywidth.parent: form2 |
| 55 |
*tf_ywidth.static: true |
| 56 |
*tf_ywidth.name: tf_ywidth |
| 57 |
*tf_ywidth.x: 230 |
| 58 |
*tf_ywidth.y: 90 |
| 59 |
*tf_ywidth.width: 82 |
| 60 |
*tf_ywidth.height: 34 |
| 61 |
*tf_ywidth.background: TextBackground |
| 62 |
*tf_ywidth.fontList: TextFont |
| 63 |
*tf_ywidth.highlightOnEnter: "true" |
| 64 |
*tf_ywidth.foreground: TextForeground |
| 65 |
*tf_ywidth.losingFocusCallback: {\ |
| 66 |
#include <spec_comm.h>\ |
| 67 |
\ |
| 68 |
char *text;\ |
| 69 |
int val;\ |
| 70 |
extern int Ywidth;\ |
| 71 |
\ |
| 72 |
text = XmTextGetString(UxWidget);\ |
| 73 |
sscanf(text, "%d", &val);\ |
| 74 |
\ |
| 75 |
if ( val != Ywidth ) {\ |
| 76 |
Ywidth = val;\ |
| 77 |
WriteKeyword(text, K_YWIDTH);\ |
| 78 |
}\ |
| 79 |
\ |
| 80 |
XtFree(text);\ |
| 81 |
} |
| 82 |
|
| 83 |
*label10.class: label |
| 84 |
*label10.parent: form2 |
| 85 |
*label10.static: true |
| 86 |
*label10.name: label10 |
| 87 |
*label10.x: 16 |
| 88 |
*label10.y: 128 |
| 89 |
*label10.width: 205 |
| 90 |
*label10.height: 30 |
| 91 |
*label10.background: LabelBackground |
| 92 |
*label10.fontList: TextFont |
| 93 |
*label10.labelString: "Row binning step :" |
| 94 |
*label10.alignment: "alignment_beginning" |
| 95 |
*label10.foreground: TextForeground |
| 96 |
|
| 97 |
*label11.class: label |
| 98 |
*label11.parent: form2 |
| 99 |
*label11.static: true |
| 100 |
*label11.name: label11 |
| 101 |
*label11.x: 16 |
| 102 |
*label11.y: 16 |
| 103 |
*label11.width: 207 |
| 104 |
*label11.height: 30 |
| 105 |
*label11.background: LabelBackground |
| 106 |
*label11.fontList: TextFont |
| 107 |
*label11.labelString: "Threshold :" |
| 108 |
*label11.alignment: "alignment_beginning" |
| 109 |
*label11.foreground: TextForeground |
| 110 |
|
| 111 |
*tf_ystep.class: textField |
| 112 |
*tf_ystep.parent: form2 |
| 113 |
*tf_ystep.static: true |
| 114 |
*tf_ystep.name: tf_ystep |
| 115 |
*tf_ystep.x: 230 |
| 116 |
*tf_ystep.y: 128 |
| 117 |
*tf_ystep.width: 82 |
| 118 |
*tf_ystep.height: 34 |
| 119 |
*tf_ystep.background: TextBackground |
| 120 |
*tf_ystep.fontList: TextFont |
| 121 |
*tf_ystep.highlightOnEnter: "true" |
| 122 |
*tf_ystep.foreground: TextForeground |
| 123 |
*tf_ystep.losingFocusCallback: {\ |
| 124 |
#include <spec_comm.h>\ |
| 125 |
\ |
| 126 |
char *text;\ |
| 127 |
int val;\ |
| 128 |
extern int Ystep;\ |
| 129 |
\ |
| 130 |
text = XmTextGetString(UxWidget);\ |
| 131 |
sscanf(text, "%d", &val);\ |
| 132 |
\ |
| 133 |
if ( val != Ystep ) {\ |
| 134 |
Ystep = val;\ |
| 135 |
WriteKeyword(text, K_YSTEP);\ |
| 136 |
}\ |
| 137 |
\ |
| 138 |
XtFree(text);\ |
| 139 |
} |
| 140 |
|
| 141 |
*tf_width.class: textField |
| 142 |
*tf_width.parent: form2 |
| 143 |
*tf_width.static: true |
| 144 |
*tf_width.name: tf_width |
| 145 |
*tf_width.x: 230 |
| 146 |
*tf_width.y: 52 |
| 147 |
*tf_width.width: 82 |
| 148 |
*tf_width.height: 34 |
| 149 |
*tf_width.background: TextBackground |
| 150 |
*tf_width.fontList: TextFont |
| 151 |
*tf_width.highlightOnEnter: "true" |
| 152 |
*tf_width.foreground: TextForeground |
| 153 |
*tf_width.losingFocusCallback: {\ |
| 154 |
#include <spec_comm.h>\ |
| 155 |
\ |
| 156 |
char *text;\ |
| 157 |
int val;\ |
| 158 |
extern int Width;\ |
| 159 |
\ |
| 160 |
text = XmTextGetString(UxWidget);\ |
| 161 |
sscanf(text, "%d", &val);\ |
| 162 |
\ |
| 163 |
if ( val != Width ) {\ |
| 164 |
Width = val;\ |
| 165 |
WriteKeyword(text, K_WIDTH);\ |
| 166 |
}\ |
| 167 |
\ |
| 168 |
XtFree(text);\ |
| 169 |
} |
| 170 |
|
| 171 |
*rowColumn1.class: rowColumn |
| 172 |
*rowColumn1.parent: form2 |
| 173 |
*rowColumn1.static: true |
| 174 |
*rowColumn1.name: rowColumn1 |
| 175 |
*rowColumn1.x: 354 |
| 176 |
*rowColumn1.y: 40 |
| 177 |
*rowColumn1.width: 106 |
| 178 |
*rowColumn1.height: 96 |
| 179 |
*rowColumn1.radioBehavior: "true" |
| 180 |
*rowColumn1.background: WindowBackground |
| 181 |
*rowColumn1.entryBorder: 0 |
| 182 |
*rowColumn1.labelString: "" |
| 183 |
*rowColumn1.shadowThickness: 0 |
| 184 |
*rowColumn1.borderWidth: 0 |
| 185 |
*rowColumn1.entryAlignment: "alignment_beginning" |
| 186 |
*rowColumn1.adjustLast: "false" |
| 187 |
*rowColumn1.adjustMargin: "true" |
| 188 |
*rowColumn1.isAligned: "true" |
| 189 |
|
| 190 |
*rb_seamtd_gaus.class: toggleButton |
| 191 |
*rb_seamtd_gaus.parent: rowColumn1 |
| 192 |
*rb_seamtd_gaus.static: true |
| 193 |
*rb_seamtd_gaus.name: rb_seamtd_gaus |
| 194 |
*rb_seamtd_gaus.x: 12 |
| 195 |
*rb_seamtd_gaus.y: 12 |
| 196 |
*rb_seamtd_gaus.width: 148 |
| 197 |
*rb_seamtd_gaus.height: 30 |
| 198 |
*rb_seamtd_gaus.background: WindowBackground |
| 199 |
*rb_seamtd_gaus.fontList: TextFont |
| 200 |
*rb_seamtd_gaus.labelString: "GAUSS" |
| 201 |
*rb_seamtd_gaus.set: "true" |
| 202 |
*rb_seamtd_gaus.selectColor: SelectColor |
| 203 |
*rb_seamtd_gaus.highlightOnEnter: "true" |
| 204 |
*rb_seamtd_gaus.valueChangedCallback: {\ |
| 205 |
#include <spec_comm.h>\ |
| 206 |
\ |
| 207 |
extern int UpdateToggle;\ |
| 208 |
\ |
| 209 |
if ( UpdateToggle && XmToggleButtonGetState(UxWidget) )\ |
| 210 |
WriteKeyword("GAUSS", K_SEAMTD);\ |
| 211 |
} |
| 212 |
*rb_seamtd_gaus.indicatorSize: 16 |
| 213 |
*rb_seamtd_gaus.foreground: TextForeground |
| 214 |
|
| 215 |
*rb_seamtd_grav.class: toggleButton |
| 216 |
*rb_seamtd_grav.parent: rowColumn1 |
| 217 |
*rb_seamtd_grav.static: true |
| 218 |
*rb_seamtd_grav.name: rb_seamtd_grav |
| 219 |
*rb_seamtd_grav.x: 5 |
| 220 |
*rb_seamtd_grav.y: 85 |
| 221 |
*rb_seamtd_grav.width: 148 |
| 222 |
*rb_seamtd_grav.height: 30 |
| 223 |
*rb_seamtd_grav.background: WindowBackground |
| 224 |
*rb_seamtd_grav.fontList: TextFont |
| 225 |
*rb_seamtd_grav.labelString: "GRAVITY" |
| 226 |
*rb_seamtd_grav.selectColor: SelectColor |
| 227 |
*rb_seamtd_grav.highlightOnEnter: "true" |
| 228 |
*rb_seamtd_grav.valueChangedCallback: {\ |
| 229 |
#include <spec_comm.h>\ |
| 230 |
\ |
| 231 |
extern int UpdateToggle;\ |
| 232 |
\ |
| 233 |
if ( UpdateToggle && XmToggleButtonGetState(UxWidget) )\ |
| 234 |
WriteKeyword("GRAVITY", K_SEAMTD);\ |
| 235 |
} |
| 236 |
*rb_seamtd_grav.indicatorSize: 16 |
| 237 |
*rb_seamtd_grav.foreground: TextForeground |
| 238 |
|
| 239 |
*rb_seamtd_maxi.class: toggleButton |
| 240 |
*rb_seamtd_maxi.parent: rowColumn1 |
| 241 |
*rb_seamtd_maxi.static: true |
| 242 |
*rb_seamtd_maxi.name: rb_seamtd_maxi |
| 243 |
*rb_seamtd_maxi.x: 4 |
| 244 |
*rb_seamtd_maxi.y: 66 |
| 245 |
*rb_seamtd_maxi.width: 96 |
| 246 |
*rb_seamtd_maxi.height: 24 |
| 247 |
*rb_seamtd_maxi.background: WindowBackground |
| 248 |
*rb_seamtd_maxi.fontList: TextFont |
| 249 |
*rb_seamtd_maxi.labelString: "MAXIMUM" |
| 250 |
*rb_seamtd_maxi.selectColor: SelectColor |
| 251 |
*rb_seamtd_maxi.highlightOnEnter: "true" |
| 252 |
*rb_seamtd_maxi.valueChangedCallback: {\ |
| 253 |
#include <spec_comm.h>\ |
| 254 |
\ |
| 255 |
extern int UpdateToggle;\ |
| 256 |
\ |
| 257 |
if ( UpdateToggle && XmToggleButtonGetState(UxWidget) )\ |
| 258 |
WriteKeyword("MAXIMUM", K_SEAMTD);\ |
| 259 |
} |
| 260 |
*rb_seamtd_maxi.indicatorSize: 16 |
| 261 |
*rb_seamtd_maxi.foreground: TextForeground |
| 262 |
|
| 263 |
*label13.class: label |
| 264 |
*label13.parent: form2 |
| 265 |
*label13.static: true |
| 266 |
*label13.name: label13 |
| 267 |
*label13.x: 358 |
| 268 |
*label13.y: 10 |
| 269 |
*label13.width: 106 |
| 270 |
*label13.height: 30 |
| 271 |
*label13.background: LabelBackground |
| 272 |
*label13.fontList: TextFont |
| 273 |
*label13.labelString: "Search method" |
| 274 |
*label13.alignment: "alignment_beginning" |
| 275 |
*label13.foreground: TextForeground |
| 276 |
|
| 277 |
*separatorGadget2.class: separatorGadget |
| 278 |
*separatorGadget2.parent: form2 |
| 279 |
*separatorGadget2.static: true |
| 280 |
*separatorGadget2.name: separatorGadget2 |
| 281 |
*separatorGadget2.x: 472 |
| 282 |
*separatorGadget2.y: 24 |
| 283 |
*separatorGadget2.width: 12 |
| 284 |
*separatorGadget2.height: 120 |
| 285 |
*separatorGadget2.orientation: "vertical" |
| 286 |
|
| 287 |
*separatorGadget3.class: separatorGadget |
| 288 |
*separatorGadget3.parent: form2 |
| 289 |
*separatorGadget3.static: true |
| 290 |
*separatorGadget3.name: separatorGadget3 |
| 291 |
*separatorGadget3.x: 336 |
| 292 |
*separatorGadget3.y: 24 |
| 293 |
*separatorGadget3.width: 12 |
| 294 |
*separatorGadget3.height: 120 |
| 295 |
*separatorGadget3.orientation: "vertical" |
| 296 |
|
| 297 |
*separatorGadget4.class: separatorGadget |
| 298 |
*separatorGadget4.parent: form2 |
| 299 |
*separatorGadget4.static: true |
| 300 |
*separatorGadget4.name: separatorGadget4 |
| 301 |
*separatorGadget4.x: 340 |
| 302 |
*separatorGadget4.y: 22 |
| 303 |
*separatorGadget4.width: 16 |
| 304 |
*separatorGadget4.height: 10 |
| 305 |
|
| 306 |
*separatorGadget5.class: separatorGadget |
| 307 |
*separatorGadget5.parent: form2 |
| 308 |
*separatorGadget5.static: true |
| 309 |
*separatorGadget5.name: separatorGadget5 |
| 310 |
*separatorGadget5.x: 464 |
| 311 |
*separatorGadget5.y: 22 |
| 312 |
*separatorGadget5.width: 14 |
| 313 |
*separatorGadget5.height: 10 |
| 314 |
|
| 315 |
*tf_thres.class: textField |
| 316 |
*tf_thres.parent: form2 |
| 317 |
*tf_thres.static: true |
| 318 |
*tf_thres.name: tf_thres |
| 319 |
*tf_thres.x: 230 |
| 320 |
*tf_thres.y: 14 |
| 321 |
*tf_thres.width: 82 |
| 322 |
*tf_thres.height: 34 |
| 323 |
*tf_thres.background: TextBackground |
| 324 |
*tf_thres.fontList: TextFont |
| 325 |
*tf_thres.highlightOnEnter: "true" |
| 326 |
*tf_thres.foreground: TextForeground |
| 327 |
*tf_thres.losingFocusCallback: {\ |
| 328 |
#include <spec_comm.h>\ |
| 329 |
\ |
| 330 |
char *text;\ |
| 331 |
float val;\ |
| 332 |
extern float Thres;\ |
| 333 |
\ |
| 334 |
text = XmTextGetString(UxWidget);\ |
| 335 |
sscanf(text, "%f", &val);\ |
| 336 |
\ |
| 337 |
if ( val != Thres ) {\ |
| 338 |
Thres = val;\ |
| 339 |
WriteKeyword(text, K_THRES);\ |
| 340 |
}\ |
| 341 |
\ |
| 342 |
XtFree(text);\ |
| 343 |
} |
| 344 |
|
| 345 |
*form4.class: form |
| 346 |
*form4.parent: form2 |
| 347 |
*form4.static: true |
| 348 |
*form4.name: form4 |
| 349 |
*form4.resizePolicy: "resize_none" |
| 350 |
*form4.x: 0 |
| 351 |
*form4.y: 240 |
| 352 |
*form4.width: 490 |
| 353 |
*form4.height: 40 |
| 354 |
*form4.background: ButtonBackground |
| 355 |
|
| 356 |
*pb_search_search.class: pushButton |
| 357 |
*pb_search_search.parent: form4 |
| 358 |
*pb_search_search.static: true |
| 359 |
*pb_search_search.name: pb_search_search |
| 360 |
*pb_search_search.x: 8 |
| 361 |
*pb_search_search.y: 6 |
| 362 |
*pb_search_search.width: 112 |
| 363 |
*pb_search_search.height: 30 |
| 364 |
*pb_search_search.background: ButtonBackground |
| 365 |
*pb_search_search.fontList: BoldTextFont |
| 366 |
*pb_search_search.foreground: ApplyForeground |
| 367 |
*pb_search_search.labelString: "Search On..." |
| 368 |
*pb_search_search.activateCallback: {\ |
| 369 |
#include <spec_comm.h>\ |
| 370 |
\ |
| 371 |
PopupList(LIST_WLC);\ |
| 372 |
\ |
| 373 |
} |
| 374 |
|
| 375 |
*pushButton2.class: pushButton |
| 376 |
*pushButton2.parent: form4 |
| 377 |
*pushButton2.static: true |
| 378 |
*pushButton2.name: pushButton2 |
| 379 |
*pushButton2.x: 210 |
| 380 |
*pushButton2.y: 6 |
| 381 |
*pushButton2.width: 86 |
| 382 |
*pushButton2.height: 30 |
| 383 |
*pushButton2.background: ButtonBackground |
| 384 |
*pushButton2.fontList: BoldTextFont |
| 385 |
*pushButton2.foreground: CancelForeground |
| 386 |
*pushButton2.labelString: "Cancel" |
| 387 |
*pushButton2.activateCallback: {\ |
| 388 |
UxPopdownInterface(UxFindSwidget("SearchShell"));\ |
| 389 |
} |
| 390 |
|
| 391 |
*pb_search_plot.class: pushButton |
| 392 |
*pb_search_plot.parent: form4 |
| 393 |
*pb_search_plot.static: true |
| 394 |
*pb_search_plot.name: pb_search_plot |
| 395 |
*pb_search_plot.x: 122 |
| 396 |
*pb_search_plot.y: 6 |
| 397 |
*pb_search_plot.width: 86 |
| 398 |
*pb_search_plot.height: 30 |
| 399 |
*pb_search_plot.background: ButtonBackground |
| 400 |
*pb_search_plot.fontList: BoldTextFont |
| 401 |
*pb_search_plot.foreground: ButtonForeground |
| 402 |
*pb_search_plot.labelString: "Plot" |
| 403 |
*pb_search_plot.activateCallback: {\ |
| 404 |
#include <spec_comm.h>\ |
| 405 |
\ |
| 406 |
AppendDialogText(C_PLOT_SEARCH);\ |
| 407 |
} |
| 408 |
|
| 409 |
*shelp_search.class: text |
| 410 |
*shelp_search.parent: form2 |
| 411 |
*shelp_search.static: true |
| 412 |
*shelp_search.name: shelp_search |
| 413 |
*shelp_search.x: 2 |
| 414 |
*shelp_search.y: 180 |
| 415 |
*shelp_search.width: 484 |
| 416 |
*shelp_search.height: 50 |
| 417 |
*shelp_search.background: SHelpBackground |
| 418 |
*shelp_search.cursorPositionVisible: "false" |
| 419 |
*shelp_search.editable: "false" |
| 420 |
*shelp_search.fontList: TextFont |
| 421 |
|
| 422 |
*separator2.class: separator |
| 423 |
*separator2.parent: form2 |
| 424 |
*separator2.static: true |
| 425 |
*separator2.name: separator2 |
| 426 |
*separator2.x: 0 |
| 427 |
*separator2.y: 170 |
| 428 |
*separator2.width: 492 |
| 429 |
*separator2.height: 10 |
| 430 |
*separator2.background: WindowBackground |
| 431 |
|
| 432 |
*separator3.class: separator |
| 433 |
*separator3.parent: form2 |
| 434 |
*separator3.static: true |
| 435 |
*separator3.name: separator3 |
| 436 |
*separator3.x: -2 |
| 437 |
*separator3.y: 228 |
| 438 |
*separator3.width: 492 |
| 439 |
*separator3.height: 10 |
| 440 |
*separator3.background: WindowBackground |
| 441 |
|
| 442 |
*separatorGadget1.class: separatorGadget |
| 443 |
*separatorGadget1.parent: form2 |
| 444 |
*separatorGadget1.static: true |
| 445 |
*separatorGadget1.name: separatorGadget1 |
| 446 |
*separatorGadget1.x: 340 |
| 447 |
*separatorGadget1.y: 138 |
| 448 |
*separatorGadget1.width: 138 |
| 449 |
*separatorGadget1.height: 10 |
| 450 |
|
| 451 |
*label12.class: label |
| 452 |
*label12.parent: form2 |
| 453 |
*label12.static: true |
| 454 |
*label12.name: label12 |
| 455 |
*label12.x: 16 |
| 456 |
*label12.y: 52 |
| 457 |
*label12.width: 205 |
| 458 |
*label12.height: 30 |
| 459 |
*label12.background: LabelBackground |
| 460 |
*label12.fontList: TextFont |
| 461 |
*label12.labelString: "Width of search window :" |
| 462 |
*label12.alignment: "alignment_beginning" |
| 463 |
*label12.foreground: TextForeground |
| 464 |
|