| 1 |
/*=========================================================================== |
| 2 |
Copyright (C) 1995-2009 European Southern Observatory (ESO) |
| 3 |
|
| 4 |
This program is free software; you can redistribute it and/or |
| 5 |
modify it under the terms of the GNU General Public License as |
| 6 |
published by the Free Software Foundation; either version 2 of |
| 7 |
the License, or (at your option) any later version. |
| 8 |
|
| 9 |
This program is distributed in the hope that it will be useful, |
| 10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
GNU General Public License for more details. |
| 13 |
|
| 14 |
You should have received a copy of the GNU General Public |
| 15 |
License along with this program; if not, write to the Free |
| 16 |
Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, |
| 17 |
MA 02139, USA. |
| 18 |
|
| 19 |
Correspondence concerning ESO-MIDAS should be addressed as follows: |
| 20 |
Internet e-mail: [email protected] |
| 21 |
Postal address: European Southern Observatory |
| 22 |
Data Management Division |
| 23 |
Karl-Schwarzschild-Strasse 2 |
| 24 |
D 85748 Garching bei Muenchen |
| 25 |
GERMANY |
| 26 |
===========================================================================*/ |
| 27 |
|
| 28 |
|
| 29 |
/******************************************************************************* |
| 30 |
RespShell.c |
| 31 |
|
| 32 |
.VERSION |
| 33 |
090825 last modif |
| 34 |
|
| 35 |
*******************************************************************************/ |
| 36 |
|
| 37 |
#include <stdio.h> |
| 38 |
#include "UxLib.h" |
| 39 |
#include "UxText.h" |
| 40 |
#include "UxTextF.h" |
| 41 |
#include "UxLabel.h" |
| 42 |
#include "UxTogB.h" |
| 43 |
#include "UxRowCol.h" |
| 44 |
#include "UxSep.h" |
| 45 |
#include "UxPushB.h" |
| 46 |
#include "UxForm.h" |
| 47 |
#include "UxTranSh.h" |
| 48 |
|
| 49 |
#include "proto_xech.h" |
| 50 |
|
| 51 |
/******************************************************************************* |
| 52 |
Includes, Defines, and Global variables from the Declarations Editor: |
| 53 |
*******************************************************************************/ |
| 54 |
|
| 55 |
#include <ExternResources.h> |
| 56 |
|
| 57 |
/******************************************************************************* |
| 58 |
The definition of the context structure: |
| 59 |
If you create multiple instances of your interface, the context |
| 60 |
structure ensures that your callbacks use the variables for the |
| 61 |
correct instance. |
| 62 |
|
| 63 |
For each swidget in the interface, each argument to the Interface |
| 64 |
function, and each variable in the Instance Specific section of the |
| 65 |
Declarations Editor, there is an entry in the context structure. |
| 66 |
and a #define. The #define makes the variable name refer to the |
| 67 |
corresponding entry in the context structure. |
| 68 |
*******************************************************************************/ |
| 69 |
|
| 70 |
typedef struct |
| 71 |
{ |
| 72 |
swidget UxRespShell; |
| 73 |
swidget Uxform39; |
| 74 |
swidget Uxform40; |
| 75 |
swidget Uxpb_search_search12; |
| 76 |
swidget UxpushButton8; |
| 77 |
swidget Uxpb_search_plot22; |
| 78 |
swidget Uxpb_search_plot23; |
| 79 |
swidget Uxseparator32; |
| 80 |
swidget Uxseparator33; |
| 81 |
swidget UxrowColumn3; |
| 82 |
swidget Uxrb_seamtd_gaus4; |
| 83 |
swidget Uxrb_seamtd_grav4; |
| 84 |
swidget Uxlabel113; |
| 85 |
swidget Uxtf_alpha38; |
| 86 |
swidget Uxlabel117; |
| 87 |
swidget Uxpb_main_search28; |
| 88 |
swidget Uxpb_search_plot30; |
| 89 |
swidget Uxform41; |
| 90 |
swidget Uxlabel99; |
| 91 |
swidget Uxtf_alpha26; |
| 92 |
swidget Uxtf_alpha27; |
| 93 |
swidget Uxlabel102; |
| 94 |
swidget Uxtf_alpha28; |
| 95 |
swidget Uxtf_alpha29; |
| 96 |
swidget Uxtf_alpha30; |
| 97 |
swidget Uxlabel104; |
| 98 |
swidget Uxtf_alpha32; |
| 99 |
swidget Uxlabel105; |
| 100 |
swidget Uxlabel106; |
| 101 |
swidget Uxlabel107; |
| 102 |
swidget Uxlabel108; |
| 103 |
swidget Uxlabel109; |
| 104 |
swidget Uxlabel110; |
| 105 |
swidget Uxtf_alpha39; |
| 106 |
swidget Uxpb_main_search29; |
| 107 |
swidget Uxlabel118; |
| 108 |
swidget Uxpb_search_plot31; |
| 109 |
swidget Uxlabel127; |
| 110 |
swidget Uxform42; |
| 111 |
swidget Uxlabel103; |
| 112 |
swidget Uxtf_alpha33; |
| 113 |
swidget Uxlabel111; |
| 114 |
swidget Uxtf_alpha34; |
| 115 |
swidget Uxtf_alpha41; |
| 116 |
swidget Uxlabel112; |
| 117 |
swidget Uxtf_alpha43; |
| 118 |
swidget Uxlabel120; |
| 119 |
swidget Uxlabel123; |
| 120 |
swidget UxrowColumn28; |
| 121 |
swidget Uxrb_seamtd_gaus5; |
| 122 |
swidget Uxrb_seamtd_grav5; |
| 123 |
swidget Uxrb_seamtd_maxi5; |
| 124 |
swidget Uxlabel119; |
| 125 |
swidget Uxlabel126; |
| 126 |
swidget Uxshelp_search8; |
| 127 |
} _UxCRespShell; |
| 128 |
|
| 129 |
#define RespShell UxRespShellContext->UxRespShell |
| 130 |
#define form39 UxRespShellContext->Uxform39 |
| 131 |
#define form40 UxRespShellContext->Uxform40 |
| 132 |
#define pb_search_search12 UxRespShellContext->Uxpb_search_search12 |
| 133 |
#define pushButton8 UxRespShellContext->UxpushButton8 |
| 134 |
#define pb_search_plot22 UxRespShellContext->Uxpb_search_plot22 |
| 135 |
#define pb_search_plot23 UxRespShellContext->Uxpb_search_plot23 |
| 136 |
#define separator32 UxRespShellContext->Uxseparator32 |
| 137 |
#define separator33 UxRespShellContext->Uxseparator33 |
| 138 |
#define rowColumn3 UxRespShellContext->UxrowColumn3 |
| 139 |
#define rb_seamtd_gaus4 UxRespShellContext->Uxrb_seamtd_gaus4 |
| 140 |
#define rb_seamtd_grav4 UxRespShellContext->Uxrb_seamtd_grav4 |
| 141 |
#define label113 UxRespShellContext->Uxlabel113 |
| 142 |
#define tf_alpha38 UxRespShellContext->Uxtf_alpha38 |
| 143 |
#define label117 UxRespShellContext->Uxlabel117 |
| 144 |
#define pb_main_search28 UxRespShellContext->Uxpb_main_search28 |
| 145 |
#define pb_search_plot30 UxRespShellContext->Uxpb_search_plot30 |
| 146 |
#define form41 UxRespShellContext->Uxform41 |
| 147 |
#define label99 UxRespShellContext->Uxlabel99 |
| 148 |
#define tf_alpha26 UxRespShellContext->Uxtf_alpha26 |
| 149 |
#define tf_alpha27 UxRespShellContext->Uxtf_alpha27 |
| 150 |
#define label102 UxRespShellContext->Uxlabel102 |
| 151 |
#define tf_alpha28 UxRespShellContext->Uxtf_alpha28 |
| 152 |
#define tf_alpha29 UxRespShellContext->Uxtf_alpha29 |
| 153 |
#define tf_alpha30 UxRespShellContext->Uxtf_alpha30 |
| 154 |
#define label104 UxRespShellContext->Uxlabel104 |
| 155 |
#define tf_alpha32 UxRespShellContext->Uxtf_alpha32 |
| 156 |
#define label105 UxRespShellContext->Uxlabel105 |
| 157 |
#define label106 UxRespShellContext->Uxlabel106 |
| 158 |
#define label107 UxRespShellContext->Uxlabel107 |
| 159 |
#define label108 UxRespShellContext->Uxlabel108 |
| 160 |
#define label109 UxRespShellContext->Uxlabel109 |
| 161 |
#define label110 UxRespShellContext->Uxlabel110 |
| 162 |
#define tf_alpha39 UxRespShellContext->Uxtf_alpha39 |
| 163 |
#define pb_main_search29 UxRespShellContext->Uxpb_main_search29 |
| 164 |
#define label118 UxRespShellContext->Uxlabel118 |
| 165 |
#define pb_search_plot31 UxRespShellContext->Uxpb_search_plot31 |
| 166 |
#define label127 UxRespShellContext->Uxlabel127 |
| 167 |
#define form42 UxRespShellContext->Uxform42 |
| 168 |
#define label103 UxRespShellContext->Uxlabel103 |
| 169 |
#define tf_alpha33 UxRespShellContext->Uxtf_alpha33 |
| 170 |
#define label111 UxRespShellContext->Uxlabel111 |
| 171 |
#define tf_alpha34 UxRespShellContext->Uxtf_alpha34 |
| 172 |
#define tf_alpha41 UxRespShellContext->Uxtf_alpha41 |
| 173 |
#define label112 UxRespShellContext->Uxlabel112 |
| 174 |
#define tf_alpha43 UxRespShellContext->Uxtf_alpha43 |
| 175 |
#define label120 UxRespShellContext->Uxlabel120 |
| 176 |
#define label123 UxRespShellContext->Uxlabel123 |
| 177 |
#define rowColumn28 UxRespShellContext->UxrowColumn28 |
| 178 |
#define rb_seamtd_gaus5 UxRespShellContext->Uxrb_seamtd_gaus5 |
| 179 |
#define rb_seamtd_grav5 UxRespShellContext->Uxrb_seamtd_grav5 |
| 180 |
#define rb_seamtd_maxi5 UxRespShellContext->Uxrb_seamtd_maxi5 |
| 181 |
#define label119 UxRespShellContext->Uxlabel119 |
| 182 |
#define label126 UxRespShellContext->Uxlabel126 |
| 183 |
#define shelp_search8 UxRespShellContext->Uxshelp_search8 |
| 184 |
|
| 185 |
static _UxCRespShell *UxRespShellContext; |
| 186 |
|
| 187 |
extern void DisplayShortHelp(), DisplayExtendedHelp(), SetFileList(); |
| 188 |
extern void MidasCommand(), PopupLong(), InitAllFields(); |
| 189 |
extern void WidgetLeave(), WidgetEnter(); |
| 190 |
extern void WriteKeyword(), GetExtendedHelp(), SelectList(); |
| 191 |
|
| 192 |
|
| 193 |
extern int RadioSet(), PopupList(), AppendDialogText(); |
| 194 |
|
| 195 |
/******************************************************************************* |
| 196 |
The following are translation tables. |
| 197 |
*******************************************************************************/ |
| 198 |
|
| 199 |
static char *transTable28 = "#override\n\ |
| 200 |
<Btn3Down>:ExtendedHelp()\n\ |
| 201 |
<EnterWindow>:HelpShort()\n\ |
| 202 |
<LeaveWindow>:ClearShort()\n"; |
| 203 |
|
| 204 |
/******************************************************************************* |
| 205 |
Forward declarations of functions that are defined later in this file. |
| 206 |
*******************************************************************************/ |
| 207 |
|
| 208 |
swidget create_RespShell(); |
| 209 |
|
| 210 |
/******************************************************************************* |
| 211 |
The following are Action functions. |
| 212 |
*******************************************************************************/ |
| 213 |
|
| 214 |
static void action_UpdateDirectory( UxWidget, UxEvent, UxParams, p_UxNumParams ) |
| 215 |
Widget UxWidget; |
| 216 |
XEvent *UxEvent; |
| 217 |
String *UxParams; |
| 218 |
Cardinal *p_UxNumParams; |
| 219 |
{ |
| 220 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 221 |
swidget UxThisWidget; |
| 222 |
|
| 223 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 224 |
UxSaveCtx = UxRespShellContext; |
| 225 |
UxRespShellContext = UxContext = |
| 226 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 227 |
{ |
| 228 |
|
| 229 |
char node[80]; |
| 230 |
|
| 231 |
/* if (XmTextGetSelection(UxWidget) == NULL) return; */ |
| 232 |
strcpy(node, |
| 233 |
XmTextGetSelection(UxWidget)); |
| 234 |
XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay)); |
| 235 |
|
| 236 |
node[strlen(node)-1] = '\0'; |
| 237 |
WGet_all_dirs(node); |
| 238 |
WChange_Midas_dir(); |
| 239 |
WGet_all_files(); |
| 240 |
|
| 241 |
} |
| 242 |
UxRespShellContext = UxSaveCtx; |
| 243 |
} |
| 244 |
|
| 245 |
static void action_ClearShort( UxWidget, UxEvent, UxParams, p_UxNumParams ) |
| 246 |
Widget UxWidget; |
| 247 |
XEvent *UxEvent; |
| 248 |
String *UxParams; |
| 249 |
Cardinal *p_UxNumParams; |
| 250 |
{ |
| 251 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 252 |
swidget UxThisWidget; |
| 253 |
|
| 254 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 255 |
UxSaveCtx = UxRespShellContext; |
| 256 |
UxRespShellContext = UxContext = |
| 257 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 258 |
{WidgetLeave(UxWidget);} |
| 259 |
UxRespShellContext = UxSaveCtx; |
| 260 |
} |
| 261 |
|
| 262 |
static void action_HelpShort( UxWidget, UxEvent, UxParams, p_UxNumParams ) |
| 263 |
Widget UxWidget; |
| 264 |
XEvent *UxEvent; |
| 265 |
String *UxParams; |
| 266 |
Cardinal *p_UxNumParams; |
| 267 |
{ |
| 268 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 269 |
swidget UxThisWidget; |
| 270 |
|
| 271 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 272 |
UxSaveCtx = UxRespShellContext; |
| 273 |
UxRespShellContext = UxContext = |
| 274 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 275 |
{WidgetEnter(UxWidget);} |
| 276 |
UxRespShellContext = UxSaveCtx; |
| 277 |
} |
| 278 |
|
| 279 |
static void action_ExtendedHelp( UxWidget, UxEvent, UxParams, p_UxNumParams ) |
| 280 |
Widget UxWidget; |
| 281 |
XEvent *UxEvent; |
| 282 |
String *UxParams; |
| 283 |
Cardinal *p_UxNumParams; |
| 284 |
{ |
| 285 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 286 |
swidget UxThisWidget; |
| 287 |
|
| 288 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 289 |
UxSaveCtx = UxRespShellContext; |
| 290 |
UxRespShellContext = UxContext = |
| 291 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 292 |
{ |
| 293 |
DisplayExtendedHelp(UxWidget); |
| 294 |
} |
| 295 |
UxRespShellContext = UxSaveCtx; |
| 296 |
} |
| 297 |
|
| 298 |
static void action_FileSelectACT( UxWidget, UxEvent, UxParams, p_UxNumParams ) |
| 299 |
Widget UxWidget; |
| 300 |
XEvent *UxEvent; |
| 301 |
String *UxParams; |
| 302 |
Cardinal *p_UxNumParams; |
| 303 |
{ |
| 304 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 305 |
swidget UxThisWidget; |
| 306 |
|
| 307 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 308 |
UxSaveCtx = UxRespShellContext; |
| 309 |
UxRespShellContext = UxContext = |
| 310 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 311 |
{ |
| 312 |
#include <xm_defs.h> |
| 313 |
#include <spec_comm.h> |
| 314 |
|
| 315 |
extern swidget FileListInterface, TextFieldSwidget; |
| 316 |
extern Widget FileListWidget; |
| 317 |
extern char DirSpecs[]; |
| 318 |
extern int ListType; |
| 319 |
|
| 320 |
int strip = 1; /* strip off */ |
| 321 |
|
| 322 |
TextFieldSwidget = UxThisWidget; |
| 323 |
|
| 324 |
if ( UxWidget == UxGetWidget(UxFindSwidget("tf_lincat")) ) { |
| 325 |
SET_LIST_TITLE("Enter line catalog"); |
| 326 |
ListType = LIST_LINCAT; |
| 327 |
} |
| 328 |
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_guess")) ) { |
| 329 |
SET_LIST_TITLE("Enter guess table"); |
| 330 |
ListType = LIST_GUESS; |
| 331 |
} |
| 332 |
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flux_tbl")) ) { |
| 333 |
SET_LIST_TITLE("Enter flux table"); |
| 334 |
ListType = LIST_FLUX_TBL; |
| 335 |
} |
| 336 |
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_extin_tbl")) ) { |
| 337 |
SET_LIST_TITLE("Enter extinction table"); |
| 338 |
ListType = LIST_EXTIN_TBL; |
| 339 |
} |
| 340 |
|
| 341 |
strcpy(DirSpecs, "*.tbl"); |
| 342 |
SetFileList(FileListWidget, strip, DirSpecs); |
| 343 |
UxPopupInterface(FileListInterface, exclusive_grab); |
| 344 |
|
| 345 |
} |
| 346 |
UxRespShellContext = UxSaveCtx; |
| 347 |
} |
| 348 |
|
| 349 |
/******************************************************************************* |
| 350 |
The following are callback functions. |
| 351 |
*******************************************************************************/ |
| 352 |
|
| 353 |
static void activateCB_pb_search_search12( UxWidget, UxClientData, UxCallbackArg ) |
| 354 |
Widget UxWidget; |
| 355 |
XtPointer UxClientData, UxCallbackArg; |
| 356 |
{ |
| 357 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 358 |
swidget UxThisWidget; |
| 359 |
|
| 360 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 361 |
UxSaveCtx = UxRespShellContext; |
| 362 |
UxRespShellContext = UxContext = |
| 363 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 364 |
{ |
| 365 |
MidasCommand(UxWidget); |
| 366 |
|
| 367 |
} |
| 368 |
UxRespShellContext = UxSaveCtx; |
| 369 |
} |
| 370 |
|
| 371 |
static void activateCB_pushButton8( UxWidget, UxClientData, UxCallbackArg ) |
| 372 |
Widget UxWidget; |
| 373 |
XtPointer UxClientData, UxCallbackArg; |
| 374 |
{ |
| 375 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 376 |
swidget UxThisWidget; |
| 377 |
|
| 378 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 379 |
UxSaveCtx = UxRespShellContext; |
| 380 |
UxRespShellContext = UxContext = |
| 381 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 382 |
{ |
| 383 |
UxPopdownInterface(UxFindSwidget("RespShell")); |
| 384 |
} |
| 385 |
UxRespShellContext = UxSaveCtx; |
| 386 |
} |
| 387 |
|
| 388 |
static void activateCB_pb_search_plot22( UxWidget, UxClientData, UxCallbackArg ) |
| 389 |
Widget UxWidget; |
| 390 |
XtPointer UxClientData, UxCallbackArg; |
| 391 |
{ |
| 392 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 393 |
swidget UxThisWidget; |
| 394 |
|
| 395 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 396 |
UxSaveCtx = UxRespShellContext; |
| 397 |
UxRespShellContext = UxContext = |
| 398 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 399 |
{ |
| 400 |
GetExtendedHelp(UxWidget); |
| 401 |
} |
| 402 |
UxRespShellContext = UxSaveCtx; |
| 403 |
} |
| 404 |
|
| 405 |
static void activateCB_pb_search_plot23( UxWidget, UxClientData, UxCallbackArg ) |
| 406 |
Widget UxWidget; |
| 407 |
XtPointer UxClientData, UxCallbackArg; |
| 408 |
{ |
| 409 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 410 |
swidget UxThisWidget; |
| 411 |
|
| 412 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 413 |
UxSaveCtx = UxRespShellContext; |
| 414 |
UxRespShellContext = UxContext = |
| 415 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 416 |
{ |
| 417 |
MidasCommand(UxWidget); |
| 418 |
|
| 419 |
} |
| 420 |
UxRespShellContext = UxSaveCtx; |
| 421 |
} |
| 422 |
|
| 423 |
static void armCB_rb_seamtd_gaus4( UxWidget, UxClientData, UxCallbackArg ) |
| 424 |
Widget UxWidget; |
| 425 |
XtPointer UxClientData, UxCallbackArg; |
| 426 |
{ |
| 427 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 428 |
swidget UxThisWidget; |
| 429 |
|
| 430 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 431 |
UxSaveCtx = UxRespShellContext; |
| 432 |
UxRespShellContext = UxContext = |
| 433 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 434 |
RadioSet(UxWidget); |
| 435 |
UxRespShellContext = UxSaveCtx; |
| 436 |
} |
| 437 |
|
| 438 |
static void valueChangedCB_rb_seamtd_gaus4( UxWidget, UxClientData, UxCallbackArg ) |
| 439 |
Widget UxWidget; |
| 440 |
XtPointer UxClientData, UxCallbackArg; |
| 441 |
{ |
| 442 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 443 |
swidget UxThisWidget; |
| 444 |
|
| 445 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 446 |
UxSaveCtx = UxRespShellContext; |
| 447 |
UxRespShellContext = UxContext = |
| 448 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 449 |
{ |
| 450 |
|
| 451 |
} |
| 452 |
UxRespShellContext = UxSaveCtx; |
| 453 |
} |
| 454 |
|
| 455 |
static void armCB_rb_seamtd_grav4( UxWidget, UxClientData, UxCallbackArg ) |
| 456 |
Widget UxWidget; |
| 457 |
XtPointer UxClientData, UxCallbackArg; |
| 458 |
{ |
| 459 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 460 |
swidget UxThisWidget; |
| 461 |
|
| 462 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 463 |
UxSaveCtx = UxRespShellContext; |
| 464 |
UxRespShellContext = UxContext = |
| 465 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 466 |
RadioSet(UxWidget); |
| 467 |
UxRespShellContext = UxSaveCtx; |
| 468 |
} |
| 469 |
|
| 470 |
static void valueChangedCB_rb_seamtd_grav4( UxWidget, UxClientData, UxCallbackArg ) |
| 471 |
Widget UxWidget; |
| 472 |
XtPointer UxClientData, UxCallbackArg; |
| 473 |
{ |
| 474 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 475 |
swidget UxThisWidget; |
| 476 |
|
| 477 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 478 |
UxSaveCtx = UxRespShellContext; |
| 479 |
UxRespShellContext = UxContext = |
| 480 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 481 |
{ |
| 482 |
|
| 483 |
} |
| 484 |
UxRespShellContext = UxSaveCtx; |
| 485 |
} |
| 486 |
|
| 487 |
static void losingFocusCB_tf_alpha38( UxWidget, UxClientData, UxCallbackArg ) |
| 488 |
Widget UxWidget; |
| 489 |
XtPointer UxClientData, UxCallbackArg; |
| 490 |
{ |
| 491 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 492 |
swidget UxThisWidget; |
| 493 |
|
| 494 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 495 |
UxSaveCtx = UxRespShellContext; |
| 496 |
UxRespShellContext = UxContext = |
| 497 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 498 |
{ |
| 499 |
|
| 500 |
} |
| 501 |
UxRespShellContext = UxSaveCtx; |
| 502 |
} |
| 503 |
|
| 504 |
static void activateCB_pb_main_search28( UxWidget, UxClientData, UxCallbackArg ) |
| 505 |
Widget UxWidget; |
| 506 |
XtPointer UxClientData, UxCallbackArg; |
| 507 |
{ |
| 508 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 509 |
swidget UxThisWidget; |
| 510 |
|
| 511 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 512 |
UxSaveCtx = UxRespShellContext; |
| 513 |
UxRespShellContext = UxContext = |
| 514 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 515 |
{ |
| 516 |
SelectList(UxWidget); |
| 517 |
|
| 518 |
} |
| 519 |
UxRespShellContext = UxSaveCtx; |
| 520 |
} |
| 521 |
|
| 522 |
static void activateCB_pb_search_plot30( UxWidget, UxClientData, UxCallbackArg ) |
| 523 |
Widget UxWidget; |
| 524 |
XtPointer UxClientData, UxCallbackArg; |
| 525 |
{ |
| 526 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 527 |
swidget UxThisWidget; |
| 528 |
|
| 529 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 530 |
UxSaveCtx = UxRespShellContext; |
| 531 |
UxRespShellContext = UxContext = |
| 532 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 533 |
{ |
| 534 |
MidasCommand(UxWidget); |
| 535 |
|
| 536 |
} |
| 537 |
UxRespShellContext = UxSaveCtx; |
| 538 |
} |
| 539 |
|
| 540 |
static void losingFocusCB_tf_alpha26( UxWidget, UxClientData, UxCallbackArg ) |
| 541 |
Widget UxWidget; |
| 542 |
XtPointer UxClientData, UxCallbackArg; |
| 543 |
{ |
| 544 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 545 |
swidget UxThisWidget; |
| 546 |
|
| 547 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 548 |
UxSaveCtx = UxRespShellContext; |
| 549 |
UxRespShellContext = UxContext = |
| 550 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 551 |
{ |
| 552 |
|
| 553 |
} |
| 554 |
UxRespShellContext = UxSaveCtx; |
| 555 |
} |
| 556 |
|
| 557 |
static void losingFocusCB_tf_alpha27( UxWidget, UxClientData, UxCallbackArg ) |
| 558 |
Widget UxWidget; |
| 559 |
XtPointer UxClientData, UxCallbackArg; |
| 560 |
{ |
| 561 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 562 |
swidget UxThisWidget; |
| 563 |
|
| 564 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 565 |
UxSaveCtx = UxRespShellContext; |
| 566 |
UxRespShellContext = UxContext = |
| 567 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 568 |
{ |
| 569 |
|
| 570 |
} |
| 571 |
UxRespShellContext = UxSaveCtx; |
| 572 |
} |
| 573 |
|
| 574 |
static void losingFocusCB_tf_alpha28( UxWidget, UxClientData, UxCallbackArg ) |
| 575 |
Widget UxWidget; |
| 576 |
XtPointer UxClientData, UxCallbackArg; |
| 577 |
{ |
| 578 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 579 |
swidget UxThisWidget; |
| 580 |
|
| 581 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 582 |
UxSaveCtx = UxRespShellContext; |
| 583 |
UxRespShellContext = UxContext = |
| 584 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 585 |
{ |
| 586 |
|
| 587 |
} |
| 588 |
UxRespShellContext = UxSaveCtx; |
| 589 |
} |
| 590 |
|
| 591 |
static void losingFocusCB_tf_alpha29( UxWidget, UxClientData, UxCallbackArg ) |
| 592 |
Widget UxWidget; |
| 593 |
XtPointer UxClientData, UxCallbackArg; |
| 594 |
{ |
| 595 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 596 |
swidget UxThisWidget; |
| 597 |
|
| 598 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 599 |
UxSaveCtx = UxRespShellContext; |
| 600 |
UxRespShellContext = UxContext = |
| 601 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 602 |
{ |
| 603 |
|
| 604 |
} |
| 605 |
UxRespShellContext = UxSaveCtx; |
| 606 |
} |
| 607 |
|
| 608 |
static void losingFocusCB_tf_alpha30( UxWidget, UxClientData, UxCallbackArg ) |
| 609 |
Widget UxWidget; |
| 610 |
XtPointer UxClientData, UxCallbackArg; |
| 611 |
{ |
| 612 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 613 |
swidget UxThisWidget; |
| 614 |
|
| 615 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 616 |
UxSaveCtx = UxRespShellContext; |
| 617 |
UxRespShellContext = UxContext = |
| 618 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 619 |
{ |
| 620 |
|
| 621 |
} |
| 622 |
UxRespShellContext = UxSaveCtx; |
| 623 |
} |
| 624 |
|
| 625 |
static void losingFocusCB_tf_alpha32( UxWidget, UxClientData, UxCallbackArg ) |
| 626 |
Widget UxWidget; |
| 627 |
XtPointer UxClientData, UxCallbackArg; |
| 628 |
{ |
| 629 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 630 |
swidget UxThisWidget; |
| 631 |
|
| 632 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 633 |
UxSaveCtx = UxRespShellContext; |
| 634 |
UxRespShellContext = UxContext = |
| 635 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 636 |
{ |
| 637 |
|
| 638 |
} |
| 639 |
UxRespShellContext = UxSaveCtx; |
| 640 |
} |
| 641 |
|
| 642 |
static void losingFocusCB_tf_alpha39( UxWidget, UxClientData, UxCallbackArg ) |
| 643 |
Widget UxWidget; |
| 644 |
XtPointer UxClientData, UxCallbackArg; |
| 645 |
{ |
| 646 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 647 |
swidget UxThisWidget; |
| 648 |
|
| 649 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 650 |
UxSaveCtx = UxRespShellContext; |
| 651 |
UxRespShellContext = UxContext = |
| 652 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 653 |
{ |
| 654 |
|
| 655 |
} |
| 656 |
UxRespShellContext = UxSaveCtx; |
| 657 |
} |
| 658 |
|
| 659 |
static void activateCB_pb_main_search29( UxWidget, UxClientData, UxCallbackArg ) |
| 660 |
Widget UxWidget; |
| 661 |
XtPointer UxClientData, UxCallbackArg; |
| 662 |
{ |
| 663 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 664 |
swidget UxThisWidget; |
| 665 |
|
| 666 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 667 |
UxSaveCtx = UxRespShellContext; |
| 668 |
UxRespShellContext = UxContext = |
| 669 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 670 |
{ |
| 671 |
SelectList(UxWidget); |
| 672 |
|
| 673 |
} |
| 674 |
UxRespShellContext = UxSaveCtx; |
| 675 |
} |
| 676 |
|
| 677 |
static void activateCB_pb_search_plot31( UxWidget, UxClientData, UxCallbackArg ) |
| 678 |
Widget UxWidget; |
| 679 |
XtPointer UxClientData, UxCallbackArg; |
| 680 |
{ |
| 681 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 682 |
swidget UxThisWidget; |
| 683 |
|
| 684 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 685 |
UxSaveCtx = UxRespShellContext; |
| 686 |
UxRespShellContext = UxContext = |
| 687 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 688 |
{ |
| 689 |
MidasCommand(UxWidget); |
| 690 |
|
| 691 |
} |
| 692 |
UxRespShellContext = UxSaveCtx; |
| 693 |
} |
| 694 |
|
| 695 |
static void losingFocusCB_tf_alpha33( UxWidget, UxClientData, UxCallbackArg ) |
| 696 |
Widget UxWidget; |
| 697 |
XtPointer UxClientData, UxCallbackArg; |
| 698 |
{ |
| 699 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 700 |
swidget UxThisWidget; |
| 701 |
|
| 702 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 703 |
UxSaveCtx = UxRespShellContext; |
| 704 |
UxRespShellContext = UxContext = |
| 705 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 706 |
{ |
| 707 |
|
| 708 |
} |
| 709 |
UxRespShellContext = UxSaveCtx; |
| 710 |
} |
| 711 |
|
| 712 |
static void losingFocusCB_tf_alpha34( UxWidget, UxClientData, UxCallbackArg ) |
| 713 |
Widget UxWidget; |
| 714 |
XtPointer UxClientData, UxCallbackArg; |
| 715 |
{ |
| 716 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 717 |
swidget UxThisWidget; |
| 718 |
|
| 719 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 720 |
UxSaveCtx = UxRespShellContext; |
| 721 |
UxRespShellContext = UxContext = |
| 722 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 723 |
{ |
| 724 |
|
| 725 |
} |
| 726 |
UxRespShellContext = UxSaveCtx; |
| 727 |
} |
| 728 |
|
| 729 |
static void losingFocusCB_tf_alpha41( UxWidget, UxClientData, UxCallbackArg ) |
| 730 |
Widget UxWidget; |
| 731 |
XtPointer UxClientData, UxCallbackArg; |
| 732 |
{ |
| 733 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 734 |
swidget UxThisWidget; |
| 735 |
|
| 736 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 737 |
UxSaveCtx = UxRespShellContext; |
| 738 |
UxRespShellContext = UxContext = |
| 739 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 740 |
{ |
| 741 |
|
| 742 |
} |
| 743 |
UxRespShellContext = UxSaveCtx; |
| 744 |
} |
| 745 |
|
| 746 |
static void losingFocusCB_tf_alpha43( UxWidget, UxClientData, UxCallbackArg ) |
| 747 |
Widget UxWidget; |
| 748 |
XtPointer UxClientData, UxCallbackArg; |
| 749 |
{ |
| 750 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 751 |
swidget UxThisWidget; |
| 752 |
|
| 753 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 754 |
UxSaveCtx = UxRespShellContext; |
| 755 |
UxRespShellContext = UxContext = |
| 756 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 757 |
{ |
| 758 |
|
| 759 |
} |
| 760 |
UxRespShellContext = UxSaveCtx; |
| 761 |
} |
| 762 |
|
| 763 |
static void armCB_rb_seamtd_gaus5( UxWidget, UxClientData, UxCallbackArg ) |
| 764 |
Widget UxWidget; |
| 765 |
XtPointer UxClientData, UxCallbackArg; |
| 766 |
{ |
| 767 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 768 |
swidget UxThisWidget; |
| 769 |
|
| 770 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 771 |
UxSaveCtx = UxRespShellContext; |
| 772 |
UxRespShellContext = UxContext = |
| 773 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 774 |
RadioSet(UxWidget); |
| 775 |
UxRespShellContext = UxSaveCtx; |
| 776 |
} |
| 777 |
|
| 778 |
static void valueChangedCB_rb_seamtd_gaus5( UxWidget, UxClientData, UxCallbackArg ) |
| 779 |
Widget UxWidget; |
| 780 |
XtPointer UxClientData, UxCallbackArg; |
| 781 |
{ |
| 782 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 783 |
swidget UxThisWidget; |
| 784 |
|
| 785 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 786 |
UxSaveCtx = UxRespShellContext; |
| 787 |
UxRespShellContext = UxContext = |
| 788 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 789 |
{ |
| 790 |
|
| 791 |
} |
| 792 |
UxRespShellContext = UxSaveCtx; |
| 793 |
} |
| 794 |
|
| 795 |
static void armCB_rb_seamtd_grav5( UxWidget, UxClientData, UxCallbackArg ) |
| 796 |
Widget UxWidget; |
| 797 |
XtPointer UxClientData, UxCallbackArg; |
| 798 |
{ |
| 799 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 800 |
swidget UxThisWidget; |
| 801 |
|
| 802 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 803 |
UxSaveCtx = UxRespShellContext; |
| 804 |
UxRespShellContext = UxContext = |
| 805 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 806 |
RadioSet(UxWidget); |
| 807 |
UxRespShellContext = UxSaveCtx; |
| 808 |
} |
| 809 |
|
| 810 |
static void valueChangedCB_rb_seamtd_grav5( UxWidget, UxClientData, UxCallbackArg ) |
| 811 |
Widget UxWidget; |
| 812 |
XtPointer UxClientData, UxCallbackArg; |
| 813 |
{ |
| 814 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 815 |
swidget UxThisWidget; |
| 816 |
|
| 817 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 818 |
UxSaveCtx = UxRespShellContext; |
| 819 |
UxRespShellContext = UxContext = |
| 820 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 821 |
{ |
| 822 |
|
| 823 |
} |
| 824 |
UxRespShellContext = UxSaveCtx; |
| 825 |
} |
| 826 |
|
| 827 |
static void armCB_rb_seamtd_maxi5( UxWidget, UxClientData, UxCallbackArg ) |
| 828 |
Widget UxWidget; |
| 829 |
XtPointer UxClientData, UxCallbackArg; |
| 830 |
{ |
| 831 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 832 |
swidget UxThisWidget; |
| 833 |
|
| 834 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 835 |
UxSaveCtx = UxRespShellContext; |
| 836 |
UxRespShellContext = UxContext = |
| 837 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 838 |
RadioSet(UxWidget); |
| 839 |
UxRespShellContext = UxSaveCtx; |
| 840 |
} |
| 841 |
|
| 842 |
static void valueChangedCB_rb_seamtd_maxi5( UxWidget, UxClientData, UxCallbackArg ) |
| 843 |
Widget UxWidget; |
| 844 |
XtPointer UxClientData, UxCallbackArg; |
| 845 |
{ |
| 846 |
_UxCRespShell *UxSaveCtx, *UxContext; |
| 847 |
swidget UxThisWidget; |
| 848 |
|
| 849 |
UxThisWidget = UxWidgetToSwidget( UxWidget ); |
| 850 |
UxSaveCtx = UxRespShellContext; |
| 851 |
UxRespShellContext = UxContext = |
| 852 |
(_UxCRespShell *) UxGetContext( UxThisWidget ); |
| 853 |
{ |
| 854 |
|
| 855 |
} |
| 856 |
UxRespShellContext = UxSaveCtx; |
| 857 |
} |
| 858 |
|
| 859 |
/******************************************************************************* |
| 860 |
The 'init_' function sets the private properties for all the |
| 861 |
swidgets to the values specified in the Property Table. |
| 862 |
Some properties need to be set after the X widgets have been |
| 863 |
created and the setting of these properties is done in the |
| 864 |
'build_' function after the UxCreateWidget call. |
| 865 |
*******************************************************************************/ |
| 866 |
|
| 867 |
static void _Uxinit_RespShell() |
| 868 |
{ |
| 869 |
UxPutTitle( RespShell, "XEchelle: Instrumental Response" ); |
| 870 |
UxPutGeometry( RespShell, "+10+60" ); |
| 871 |
UxPutHeight( RespShell, 640 ); |
| 872 |
UxPutWidth( RespShell, 530 ); |
| 873 |
UxPutY( RespShell, 287 ); |
| 874 |
UxPutX( RespShell, 899 ); |
| 875 |
|
| 876 |
UxPutBackground( form39, WindowBackground ); |
| 877 |
UxPutHeight( form39, 640 ); |
| 878 |
UxPutWidth( form39, 530 ); |
| 879 |
UxPutY( form39, -2 ); |
| 880 |
UxPutX( form39, 0 ); |
| 881 |
UxPutUnitType( form39, "pixels" ); |
| 882 |
UxPutResizePolicy( form39, "resize_none" ); |
| 883 |
|
| 884 |
UxPutBackground( form40, ButtonBackground ); |
| 885 |
UxPutHeight( form40, 46 ); |
| 886 |
UxPutWidth( form40, 508 ); |
| 887 |
UxPutY( form40, 552 ); |
| 888 |
UxPutX( form40, 12 ); |
| 889 |
UxPutResizePolicy( form40, "resize_none" ); |
| 890 |
|
| 891 |
UxPutLabelString( pb_search_search12, "Fit" ); |
| 892 |
UxPutForeground( pb_search_search12, ApplyForeground ); |
| 893 |
UxPutFontList( pb_search_search12, BoldTextFont ); |
| 894 |
UxPutBackground( pb_search_search12, ButtonBackground ); |
| 895 |
UxPutHeight( pb_search_search12, 30 ); |
| 896 |
UxPutWidth( pb_search_search12, 86 ); |
| 897 |
UxPutY( pb_search_search12, 10 ); |
| 898 |
UxPutX( pb_search_search12, 16 ); |
| 899 |
|
| 900 |
UxPutLabelString( pushButton8, "Cancel" ); |
| 901 |
UxPutForeground( pushButton8, CancelForeground ); |
| 902 |
UxPutFontList( pushButton8, BoldTextFont ); |
| 903 |
UxPutBackground( pushButton8, ButtonBackground ); |
| 904 |
UxPutHeight( pushButton8, 30 ); |
| 905 |
UxPutWidth( pushButton8, 86 ); |
| 906 |
UxPutY( pushButton8, 10 ); |
| 907 |
UxPutX( pushButton8, 402 ); |
| 908 |
|
| 909 |
UxPutLabelString( pb_search_plot22, "Help..." ); |
| 910 |
UxPutForeground( pb_search_plot22, ButtonForeground ); |
| 911 |
UxPutFontList( pb_search_plot22, BoldTextFont ); |
| 912 |
UxPutBackground( pb_search_plot22, ButtonBackground ); |
| 913 |
UxPutHeight( pb_search_plot22, 30 ); |
| 914 |
UxPutWidth( pb_search_plot22, 86 ); |
| 915 |
UxPutY( pb_search_plot22, 8 ); |
| 916 |
UxPutX( pb_search_plot22, 308 ); |
| 917 |
|
| 918 |
UxPutLabelString( pb_search_plot23, "Plot Response" ); |
| 919 |
UxPutForeground( pb_search_plot23, ButtonForeground ); |
| 920 |
UxPutFontList( pb_search_plot23, BoldTextFont ); |
| 921 |
UxPutBackground( pb_search_plot23, ButtonBackground ); |
| 922 |
UxPutHeight( pb_search_plot23, 30 ); |
| 923 |
UxPutWidth( pb_search_plot23, 138 ); |
| 924 |
UxPutY( pb_search_plot23, 12 ); |
| 925 |
UxPutX( pb_search_plot23, 110 ); |
| 926 |
|
| 927 |
UxPutBackground( separator32, WindowBackground ); |
| 928 |
UxPutHeight( separator32, 10 ); |
| 929 |
UxPutWidth( separator32, 514 ); |
| 930 |
UxPutY( separator32, 544 ); |
| 931 |
UxPutX( separator32, 10 ); |
| 932 |
|
| 933 |
UxPutBackground( separator33, WindowBackground ); |
| 934 |
UxPutHeight( separator33, 10 ); |
| 935 |
UxPutWidth( separator33, 518 ); |
| 936 |
UxPutY( separator33, 480 ); |
| 937 |
UxPutX( separator33, 8 ); |
| 938 |
|
| 939 |
UxPutResizeWidth( rowColumn3, "true" ); |
| 940 |
UxPutOrientation( rowColumn3, "horizontal" ); |
| 941 |
UxPutIsAligned( rowColumn3, "true" ); |
| 942 |
UxPutAdjustMargin( rowColumn3, "true" ); |
| 943 |
UxPutAdjustLast( rowColumn3, "false" ); |
| 944 |
UxPutEntryAlignment( rowColumn3, "alignment_beginning" ); |
| 945 |
UxPutBorderWidth( rowColumn3, 0 ); |
| 946 |
UxPutShadowThickness( rowColumn3, 0 ); |
| 947 |
UxPutLabelString( rowColumn3, "" ); |
| 948 |
UxPutEntryBorder( rowColumn3, 0 ); |
| 949 |
UxPutBackground( rowColumn3, WindowBackground ); |
| 950 |
UxPutRadioBehavior( rowColumn3, "true" ); |
| 951 |
UxPutHeight( rowColumn3, 96 ); |
| 952 |
UxPutWidth( rowColumn3, 106 ); |
| 953 |
UxPutY( rowColumn3, 45 ); |
| 954 |
UxPutX( rowColumn3, 92 ); |
| 955 |
|
| 956 |
UxPutTranslations( rb_seamtd_gaus4, transTable28 ); |
| 957 |
UxPutForeground( rb_seamtd_gaus4, TextForeground ); |
| 958 |
UxPutIndicatorSize( rb_seamtd_gaus4, 16 ); |
| 959 |
UxPutHighlightOnEnter( rb_seamtd_gaus4, "true" ); |
| 960 |
UxPutSelectColor( rb_seamtd_gaus4, SelectColor ); |
| 961 |
UxPutSet( rb_seamtd_gaus4, "true" ); |
| 962 |
UxPutLabelString( rb_seamtd_gaus4, "Standard Star" ); |
| 963 |
UxPutFontList( rb_seamtd_gaus4, TextFont ); |
| 964 |
UxPutBackground( rb_seamtd_gaus4, WindowBackground ); |
| 965 |
UxPutHeight( rb_seamtd_gaus4, 31 ); |
| 966 |
UxPutWidth( rb_seamtd_gaus4, 139 ); |
| 967 |
UxPutY( rb_seamtd_gaus4, 0 ); |
| 968 |
UxPutX( rb_seamtd_gaus4, 3 ); |
| 969 |
|
| 970 |
UxPutTranslations( rb_seamtd_grav4, transTable28 ); |
| 971 |
UxPutForeground( rb_seamtd_grav4, TextForeground ); |
| 972 |
UxPutIndicatorSize( rb_seamtd_grav4, 16 ); |
| 973 |
UxPutHighlightOnEnter( rb_seamtd_grav4, "true" ); |
| 974 |
UxPutSelectColor( rb_seamtd_grav4, SelectColor ); |
| 975 |
UxPutLabelString( rb_seamtd_grav4, "Blaze Function Fit" ); |
| 976 |
UxPutFontList( rb_seamtd_grav4, TextFont ); |
| 977 |
UxPutBackground( rb_seamtd_grav4, WindowBackground ); |
| 978 |
UxPutHeight( rb_seamtd_grav4, 28 ); |
| 979 |
UxPutWidth( rb_seamtd_grav4, 108 ); |
| 980 |
UxPutY( rb_seamtd_grav4, 3 ); |
| 981 |
UxPutX( rb_seamtd_grav4, 136 ); |
| 982 |
|
| 983 |
UxPutForeground( label113, TextForeground ); |
| 984 |
UxPutAlignment( label113, "alignment_beginning" ); |
| 985 |
UxPutLabelString( label113, "Method:" ); |
| 986 |
UxPutFontList( label113, TextFont ); |
| 987 |
UxPutBackground( label113, LabelBackground ); |
| 988 |
UxPutHeight( label113, 30 ); |
| 989 |
UxPutWidth( label113, 68 ); |
| 990 |
UxPutY( label113, 47 ); |
| 991 |
UxPutX( label113, 18 ); |
| 992 |
|
| 993 |
UxPutForeground( tf_alpha38, TextForeground ); |
| 994 |
UxPutHighlightOnEnter( tf_alpha38, "true" ); |
| 995 |
UxPutFontList( tf_alpha38, TextFont ); |
| 996 |
UxPutBackground( tf_alpha38, TextBackground ); |
| 997 |
UxPutHeight( tf_alpha38, 32 ); |
| 998 |
UxPutWidth( tf_alpha38, 236 ); |
| 999 |
UxPutY( tf_alpha38, 8 ); |
| 1000 |
UxPutX( tf_alpha38, 126 ); |
| 1001 |
|
| 1002 |
UxPutForeground( label117, TextForeground ); |
| 1003 |
UxPutAlignment( label117, "alignment_beginning" ); |
| 1004 |
UxPutLabelString( label117, "Input Frame:" ); |
| 1005 |
UxPutFontList( label117, TextFont ); |
| 1006 |
UxPutBackground( label117, LabelBackground ); |
| 1007 |
UxPutHeight( label117, 30 ); |
| 1008 |
UxPutWidth( label117, 94 ); |
| 1009 |
UxPutY( label117, 10 ); |
| 1010 |
UxPutX( label117, 18 ); |
| 1011 |
|
| 1012 |
UxPutWidth( pb_main_search28, 46 ); |
| 1013 |
UxPutRecomputeSize( pb_main_search28, "true" ); |
| 1014 |
UxPutLabelString( pb_main_search28, "..." ); |
| 1015 |
UxPutForeground( pb_main_search28, ButtonForeground ); |
| 1016 |
UxPutFontList( pb_main_search28, BoldTextFont ); |
| 1017 |
UxPutBackground( pb_main_search28, ButtonBackground ); |
| 1018 |
UxPutHeight( pb_main_search28, 28 ); |
| 1019 |
UxPutY( pb_main_search28, 10 ); |
| 1020 |
UxPutX( pb_main_search28, 366 ); |
| 1021 |
|
| 1022 |
UxPutLabelString( pb_search_plot30, "Display" ); |
| 1023 |
UxPutForeground( pb_search_plot30, ButtonForeground ); |
| 1024 |
UxPutFontList( pb_search_plot30, BoldTextFont ); |
| 1025 |
UxPutBackground( pb_search_plot30, ButtonBackground ); |
| 1026 |
UxPutHeight( pb_search_plot30, 30 ); |
| 1027 |
UxPutWidth( pb_search_plot30, 86 ); |
| 1028 |
UxPutY( pb_search_plot30, 10 ); |
| 1029 |
UxPutX( pb_search_plot30, 420 ); |
| 1030 |
|
| 1031 |
UxPutBackground( form41, ButtonBackground ); |
| 1032 |
UxPutHeight( form41, 194 ); |
| 1033 |
UxPutWidth( form41, 508 ); |
| 1034 |
UxPutY( form41, 80 ); |
| 1035 |
UxPutX( form41, 14 ); |
| 1036 |
UxPutResizePolicy( form41, "resize_none" ); |
| 1037 |
|
| 1038 |
UxPutForeground( label99, TextForeground ); |
| 1039 |
UxPutAlignment( label99, "alignment_beginning" ); |
| 1040 |
UxPutLabelString( label99, "Smooth Filter:" ); |
| 1041 |
UxPutFontList( label99, TextFont ); |
| 1042 |
UxPutBackground( label99, LabelBackground ); |
| 1043 |
UxPutHeight( label99, 30 ); |
| 1044 |
UxPutWidth( label99, 100 ); |
| 1045 |
UxPutY( label99, 120 ); |
| 1046 |
UxPutX( label99, 36 ); |
| 1047 |
|
| 1048 |
UxPutForeground( tf_alpha26, TextForeground ); |
| 1049 |
UxPutHighlightOnEnter( tf_alpha26, "true" ); |
| 1050 |
UxPutFontList( tf_alpha26, TextFont ); |
| 1051 |
UxPutBackground( tf_alpha26, TextBackground ); |
| 1052 |
UxPutHeight( tf_alpha26, 32 ); |
| 1053 |
UxPutWidth( tf_alpha26, 96 ); |
| 1054 |
UxPutY( tf_alpha26, 74 ); |
| 1055 |
UxPutX( tf_alpha26, 390 ); |
| 1056 |
|
| 1057 |
UxPutForeground( tf_alpha27, TextForeground ); |
| 1058 |
UxPutHighlightOnEnter( tf_alpha27, "true" ); |
| 1059 |
UxPutFontList( tf_alpha27, TextFont ); |
| 1060 |
UxPutBackground( tf_alpha27, TextBackground ); |
| 1061 |
UxPutHeight( tf_alpha27, 32 ); |
| 1062 |
UxPutWidth( tf_alpha27, 96 ); |
| 1063 |
UxPutY( tf_alpha27, 156 ); |
| 1064 |
UxPutX( tf_alpha27, 232 ); |
| 1065 |
|
| 1066 |
UxPutForeground( label102, TextForeground ); |
| 1067 |
UxPutAlignment( label102, "alignment_beginning" ); |
| 1068 |
UxPutLabelString( label102, "Ignored Pixels:" ); |
| 1069 |
UxPutFontList( label102, TextFont ); |
| 1070 |
UxPutBackground( label102, LabelBackground ); |
| 1071 |
UxPutHeight( label102, 30 ); |
| 1072 |
UxPutWidth( label102, 114 ); |
| 1073 |
UxPutY( label102, 158 ); |
| 1074 |
UxPutX( label102, 36 ); |
| 1075 |
|
| 1076 |
UxPutForeground( tf_alpha28, TextForeground ); |
| 1077 |
UxPutHighlightOnEnter( tf_alpha28, "true" ); |
| 1078 |
UxPutFontList( tf_alpha28, TextFont ); |
| 1079 |
UxPutBackground( tf_alpha28, TextBackground ); |
| 1080 |
UxPutHeight( tf_alpha28, 32 ); |
| 1081 |
UxPutWidth( tf_alpha28, 96 ); |
| 1082 |
UxPutY( tf_alpha28, 116 ); |
| 1083 |
UxPutX( tf_alpha28, 234 ); |
| 1084 |
|
| 1085 |
UxPutForeground( tf_alpha29, TextForeground ); |
| 1086 |
UxPutHighlightOnEnter( tf_alpha29, "true" ); |
| 1087 |
UxPutFontList( tf_alpha29, TextFont ); |
| 1088 |
UxPutBackground( tf_alpha29, TextBackground ); |
| 1089 |
UxPutHeight( tf_alpha29, 32 ); |
| 1090 |
UxPutWidth( tf_alpha29, 96 ); |
| 1091 |
UxPutY( tf_alpha29, 154 ); |
| 1092 |
UxPutX( tf_alpha29, 388 ); |
| 1093 |
|
| 1094 |
UxPutForeground( tf_alpha30, TextForeground ); |
| 1095 |
UxPutHighlightOnEnter( tf_alpha30, "true" ); |
| 1096 |
UxPutFontList( tf_alpha30, TextFont ); |
| 1097 |
UxPutBackground( tf_alpha30, TextBackground ); |
| 1098 |
UxPutHeight( tf_alpha30, 32 ); |
| 1099 |
UxPutWidth( tf_alpha30, 96 ); |
| 1100 |
UxPutY( tf_alpha30, 116 ); |
| 1101 |
UxPutX( tf_alpha30, 388 ); |
| 1102 |
|
| 1103 |
UxPutForeground( label104, TextForeground ); |
| 1104 |
UxPutAlignment( label104, "alignment_beginning" ); |
| 1105 |
UxPutLabelString( label104, "Median Filter:" ); |
| 1106 |
UxPutFontList( label104, TextFont ); |
| 1107 |
UxPutBackground( label104, LabelBackground ); |
| 1108 |
UxPutHeight( label104, 30 ); |
| 1109 |
UxPutWidth( label104, 136 ); |
| 1110 |
UxPutY( label104, 80 ); |
| 1111 |
UxPutX( label104, 36 ); |
| 1112 |
|
| 1113 |
UxPutForeground( tf_alpha32, TextForeground ); |
| 1114 |
UxPutHighlightOnEnter( tf_alpha32, "true" ); |
| 1115 |
UxPutFontList( tf_alpha32, TextFont ); |
| 1116 |
UxPutBackground( tf_alpha32, TextBackground ); |
| 1117 |
UxPutHeight( tf_alpha32, 32 ); |
| 1118 |
UxPutWidth( tf_alpha32, 96 ); |
| 1119 |
UxPutY( tf_alpha32, 76 ); |
| 1120 |
UxPutX( tf_alpha32, 236 ); |
| 1121 |
|
| 1122 |
UxPutForeground( label105, TextForeground ); |
| 1123 |
UxPutAlignment( label105, "alignment_beginning" ); |
| 1124 |
UxPutLabelString( label105, "Min=" ); |
| 1125 |
UxPutFontList( label105, TextFont ); |
| 1126 |
UxPutBackground( label105, LabelBackground ); |
| 1127 |
UxPutHeight( label105, 30 ); |
| 1128 |
UxPutWidth( label105, 40 ); |
| 1129 |
UxPutY( label105, 158 ); |
| 1130 |
UxPutX( label105, 188 ); |
| 1131 |
|
| 1132 |
UxPutForeground( label106, TextForeground ); |
| 1133 |
UxPutAlignment( label106, "alignment_beginning" ); |
| 1134 |
UxPutLabelString( label106, "X=" ); |
| 1135 |
UxPutFontList( label106, TextFont ); |
| 1136 |
UxPutBackground( label106, LabelBackground ); |
| 1137 |
UxPutHeight( label106, 30 ); |
| 1138 |
UxPutWidth( label106, 36 ); |
| 1139 |
UxPutY( label106, 118 ); |
| 1140 |
UxPutX( label106, 186 ); |
| 1141 |
|
| 1142 |
UxPutForeground( label107, TextForeground ); |
| 1143 |
UxPutAlignment( label107, "alignment_beginning" ); |
| 1144 |
UxPutLabelString( label107, "Y=" ); |
| 1145 |
UxPutFontList( label107, TextFont ); |
| 1146 |
UxPutBackground( label107, LabelBackground ); |
| 1147 |
UxPutHeight( label107, 30 ); |
| 1148 |
UxPutWidth( label107, 20 ); |
| 1149 |
UxPutY( label107, 74 ); |
| 1150 |
UxPutX( label107, 362 ); |
| 1151 |
|
| 1152 |
UxPutForeground( label108, TextForeground ); |
| 1153 |
UxPutAlignment( label108, "alignment_beginning" ); |
| 1154 |
UxPutLabelString( label108, "Max=" ); |
| 1155 |
UxPutFontList( label108, TextFont ); |
| 1156 |
UxPutBackground( label108, LabelBackground ); |
| 1157 |
UxPutHeight( label108, 30 ); |
| 1158 |
UxPutWidth( label108, 50 ); |
| 1159 |
UxPutY( label108, 156 ); |
| 1160 |
UxPutX( label108, 338 ); |
| 1161 |
|
| 1162 |
UxPutForeground( label109, TextForeground ); |
| 1163 |
UxPutAlignment( label109, "alignment_beginning" ); |
| 1164 |
UxPutLabelString( label109, "Y=" ); |
| 1165 |
UxPutFontList( label109, TextFont ); |
| 1166 |
UxPutBackground( label109, LabelBackground ); |
| 1167 |
UxPutHeight( label109, 30 ); |
| 1168 |
UxPutWidth( label109, 20 ); |
| 1169 |
UxPutY( label109, 116 ); |
| 1170 |
UxPutX( label109, 356 ); |
| 1171 |
|
| 1172 |
UxPutForeground( label110, TextForeground ); |
| 1173 |
UxPutAlignment( label110, "alignment_beginning" ); |
| 1174 |
UxPutLabelString( label110, "X=" ); |
| 1175 |
UxPutFontList( label110, TextFont ); |
| 1176 |
UxPutBackground( label110, LabelBackground ); |
| 1177 |
UxPutHeight( label110, 30 ); |
| 1178 |
UxPutWidth( label110, 34 ); |
| 1179 |
UxPutY( label110, 80 ); |
| 1180 |
UxPutX( label110, 186 ); |
| 1181 |
|
| 1182 |
UxPutForeground( tf_alpha39, TextForeground ); |
| 1183 |
UxPutHighlightOnEnter( tf_alpha39, "true" ); |
| 1184 |
UxPutFontList( tf_alpha39, TextFont ); |
| 1185 |
UxPutBackground( tf_alpha39, TextBackground ); |
| 1186 |
UxPutHeight( tf_alpha39, 32 ); |
| 1187 |
UxPutWidth( tf_alpha39, 228 ); |
| 1188 |
UxPutY( tf_alpha39, 36 ); |
| 1189 |
UxPutX( tf_alpha39, 132 ); |
| 1190 |
|
| 1191 |
UxPutWidth( pb_main_search29, 46 ); |
| 1192 |
UxPutRecomputeSize( pb_main_search29, "true" ); |
| 1193 |
UxPutLabelString( pb_main_search29, "..." ); |
| 1194 |
UxPutForeground( pb_main_search29, ButtonForeground ); |
| 1195 |
UxPutFontList( pb_main_search29, BoldTextFont ); |
| 1196 |
UxPutBackground( pb_main_search29, ButtonBackground ); |
| 1197 |
UxPutHeight( pb_main_search29, 28 ); |
| 1198 |
UxPutY( pb_main_search29, 38 ); |
| 1199 |
UxPutX( pb_main_search29, 364 ); |
| 1200 |
|
| 1201 |
UxPutForeground( label118, TextForeground ); |
| 1202 |
UxPutAlignment( label118, "alignment_beginning" ); |
| 1203 |
UxPutLabelString( label118, "Flux Table" ); |
| 1204 |
UxPutFontList( label118, TextFont ); |
| 1205 |
UxPutBackground( label118, LabelBackground ); |
| 1206 |
UxPutHeight( label118, 30 ); |
| 1207 |
UxPutWidth( label118, 94 ); |
| 1208 |
UxPutY( label118, 38 ); |
| 1209 |
UxPutX( label118, 22 ); |
| 1210 |
|
| 1211 |
UxPutLabelString( pb_search_plot31, "Plot" ); |
| 1212 |
UxPutForeground( pb_search_plot31, ButtonForeground ); |
| 1213 |
UxPutFontList( pb_search_plot31, BoldTextFont ); |
| 1214 |
UxPutBackground( pb_search_plot31, ButtonBackground ); |
| 1215 |
UxPutHeight( pb_search_plot31, 30 ); |
| 1216 |
UxPutWidth( pb_search_plot31, 86 ); |
| 1217 |
UxPutY( pb_search_plot31, 38 ); |
| 1218 |
UxPutX( pb_search_plot31, 422 ); |
| 1219 |
|
| 1220 |
UxPutForeground( label127, TextForeground ); |
| 1221 |
UxPutAlignment( label127, "alignment_center" ); |
| 1222 |
UxPutLabelString( label127, "Standard Star" ); |
| 1223 |
UxPutFontList( label127, BoldTextFont ); |
| 1224 |
UxPutBackground( label127, LabelBackground ); |
| 1225 |
UxPutHeight( label127, 30 ); |
| 1226 |
UxPutWidth( label127, 166 ); |
| 1227 |
UxPutY( label127, 2 ); |
| 1228 |
UxPutX( label127, 168 ); |
| 1229 |
|
| 1230 |
UxPutBackground( form42, ButtonBackground ); |
| 1231 |
UxPutHeight( form42, 194 ); |
| 1232 |
UxPutWidth( form42, 508 ); |
| 1233 |
UxPutY( form42, 284 ); |
| 1234 |
UxPutX( form42, 14 ); |
| 1235 |
UxPutResizePolicy( form42, "resize_none" ); |
| 1236 |
|
| 1237 |
UxPutForeground( label103, TextForeground ); |
| 1238 |
UxPutAlignment( label103, "alignment_beginning" ); |
| 1239 |
UxPutLabelString( label103, "Alpha:" ); |
| 1240 |
UxPutFontList( label103, TextFont ); |
| 1241 |
UxPutBackground( label103, LabelBackground ); |
| 1242 |
UxPutHeight( label103, 30 ); |
| 1243 |
UxPutWidth( label103, 100 ); |
| 1244 |
UxPutY( label103, 118 ); |
| 1245 |
UxPutX( label103, 34 ); |
| 1246 |
|
| 1247 |
UxPutForeground( tf_alpha33, TextForeground ); |
| 1248 |
UxPutHighlightOnEnter( tf_alpha33, "true" ); |
| 1249 |
UxPutFontList( tf_alpha33, TextFont ); |
| 1250 |
UxPutBackground( tf_alpha33, TextBackground ); |
| 1251 |
UxPutHeight( tf_alpha33, 32 ); |
| 1252 |
UxPutWidth( tf_alpha33, 96 ); |
| 1253 |
UxPutY( tf_alpha33, 154 ); |
| 1254 |
UxPutX( tf_alpha33, 230 ); |
| 1255 |
|
| 1256 |
UxPutForeground( label111, TextForeground ); |
| 1257 |
UxPutAlignment( label111, "alignment_beginning" ); |
| 1258 |
UxPutLabelString( label111, "Lambda" ); |
| 1259 |
UxPutFontList( label111, TextFont ); |
| 1260 |
UxPutBackground( label111, LabelBackground ); |
| 1261 |
UxPutHeight( label111, 30 ); |
| 1262 |
UxPutWidth( label111, 94 ); |
| 1263 |
UxPutY( label111, 156 ); |
| 1264 |
UxPutX( label111, 34 ); |
| 1265 |
|
| 1266 |
UxPutForeground( tf_alpha34, TextForeground ); |
| 1267 |
UxPutHighlightOnEnter( tf_alpha34, "true" ); |
| 1268 |
UxPutFontList( tf_alpha34, TextFont ); |
| 1269 |
UxPutBackground( tf_alpha34, TextBackground ); |
| 1270 |
UxPutHeight( tf_alpha34, 32 ); |
| 1271 |
UxPutWidth( tf_alpha34, 136 ); |
| 1272 |
UxPutY( tf_alpha34, 114 ); |
| 1273 |
UxPutX( tf_alpha34, 192 ); |
| 1274 |
|
| 1275 |
UxPutForeground( tf_alpha41, TextForeground ); |
| 1276 |
UxPutHighlightOnEnter( tf_alpha41, "true" ); |
| 1277 |
UxPutFontList( tf_alpha41, TextFont ); |
| 1278 |
UxPutBackground( tf_alpha41, TextBackground ); |
| 1279 |
UxPutHeight( tf_alpha41, 32 ); |
| 1280 |
UxPutWidth( tf_alpha41, 96 ); |
| 1281 |
UxPutY( tf_alpha41, 152 ); |
| 1282 |
UxPutX( tf_alpha41, 386 ); |
| 1283 |
|
| 1284 |
UxPutForeground( label112, TextForeground ); |
| 1285 |
UxPutAlignment( label112, "alignment_beginning" ); |
| 1286 |
UxPutLabelString( label112, "Grating Constant:" ); |
| 1287 |
UxPutFontList( label112, TextFont ); |
| 1288 |
UxPutBackground( label112, LabelBackground ); |
| 1289 |
UxPutHeight( label112, 30 ); |
| 1290 |
UxPutWidth( label112, 136 ); |
| 1291 |
UxPutY( label112, 78 ); |
| 1292 |
UxPutX( label112, 34 ); |
| 1293 |
|
| 1294 |
UxPutForeground( tf_alpha43, TextForeground ); |
| 1295 |
UxPutHighlightOnEnter( tf_alpha43, "true" ); |
| 1296 |
UxPutFontList( tf_alpha43, TextFont ); |
| 1297 |
UxPutBackground( tf_alpha43, TextBackground ); |
| 1298 |
UxPutHeight( tf_alpha43, 32 ); |
| 1299 |
UxPutWidth( tf_alpha43, 140 ); |
| 1300 |
UxPutY( tf_alpha43, 74 ); |
| 1301 |
UxPutX( tf_alpha43, 190 ); |
| 1302 |
|
| 1303 |
UxPutForeground( label120, TextForeground ); |
| 1304 |
UxPutAlignment( label120, "alignment_beginning" ); |
| 1305 |
UxPutLabelString( label120, "Min=" ); |
| 1306 |
UxPutFontList( label120, TextFont ); |
| 1307 |
UxPutBackground( label120, LabelBackground ); |
| 1308 |
UxPutHeight( label120, 30 ); |
| 1309 |
UxPutWidth( label120, 40 ); |
| 1310 |
UxPutY( label120, 156 ); |
| 1311 |
UxPutX( label120, 186 ); |
| 1312 |
|
| 1313 |
UxPutForeground( label123, TextForeground ); |
| 1314 |
UxPutAlignment( label123, "alignment_beginning" ); |
| 1315 |
UxPutLabelString( label123, "Max=" ); |
| 1316 |
UxPutFontList( label123, TextFont ); |
| 1317 |
UxPutBackground( label123, LabelBackground ); |
| 1318 |
UxPutHeight( label123, 30 ); |
| 1319 |
UxPutWidth( label123, 50 ); |
| 1320 |
UxPutY( label123, 154 ); |
| 1321 |
UxPutX( label123, 336 ); |
| 1322 |
|
| 1323 |
UxPutResizeWidth( rowColumn28, "true" ); |
| 1324 |
UxPutOrientation( rowColumn28, "horizontal" ); |
| 1325 |
UxPutIsAligned( rowColumn28, "true" ); |
| 1326 |
UxPutAdjustMargin( rowColumn28, "true" ); |
| 1327 |
UxPutAdjustLast( rowColumn28, "false" ); |
| 1328 |
UxPutEntryAlignment( rowColumn28, "alignment_beginning" ); |
| 1329 |
UxPutBorderWidth( rowColumn28, 0 ); |
| 1330 |
UxPutShadowThickness( rowColumn28, 0 ); |
| 1331 |
UxPutLabelString( rowColumn28, "" ); |
| 1332 |
UxPutEntryBorder( rowColumn28, 0 ); |
| 1333 |
UxPutBackground( rowColumn28, WindowBackground ); |
| 1334 |
UxPutRadioBehavior( rowColumn28, "true" ); |
| 1335 |
UxPutHeight( rowColumn28, 34 ); |
| 1336 |
UxPutWidth( rowColumn28, 261 ); |
| 1337 |
UxPutY( rowColumn28, 36 ); |
| 1338 |
UxPutX( rowColumn28, 146 ); |
| 1339 |
|
| 1340 |
UxPutTranslations( rb_seamtd_gaus5, transTable28 ); |
| 1341 |
UxPutForeground( rb_seamtd_gaus5, TextForeground ); |
| 1342 |
UxPutIndicatorSize( rb_seamtd_gaus5, 16 ); |
| 1343 |
UxPutHighlightOnEnter( rb_seamtd_gaus5, "true" ); |
| 1344 |
UxPutSelectColor( rb_seamtd_gaus5, SelectColor ); |
| 1345 |
UxPutSet( rb_seamtd_gaus5, "true" ); |
| 1346 |
UxPutLabelString( rb_seamtd_gaus5, "Fit" ); |
| 1347 |
UxPutFontList( rb_seamtd_gaus5, TextFont ); |
| 1348 |
UxPutBackground( rb_seamtd_gaus5, WindowBackground ); |
| 1349 |
UxPutHeight( rb_seamtd_gaus5, 28 ); |
| 1350 |
UxPutWidth( rb_seamtd_gaus5, 84 ); |
| 1351 |
UxPutY( rb_seamtd_gaus5, 3 ); |
| 1352 |
UxPutX( rb_seamtd_gaus5, 2 ); |
| 1353 |
|
| 1354 |
UxPutTranslations( rb_seamtd_grav5, transTable28 ); |
| 1355 |
UxPutForeground( rb_seamtd_grav5, TextForeground ); |
| 1356 |
UxPutIndicatorSize( rb_seamtd_grav5, 16 ); |
| 1357 |
UxPutHighlightOnEnter( rb_seamtd_grav5, "true" ); |
| 1358 |
UxPutSelectColor( rb_seamtd_grav5, SelectColor ); |
| 1359 |
UxPutLabelString( rb_seamtd_grav5, "Overlap" ); |
| 1360 |
UxPutFontList( rb_seamtd_grav5, TextFont ); |
| 1361 |
UxPutBackground( rb_seamtd_grav5, WindowBackground ); |
| 1362 |
UxPutHeight( rb_seamtd_grav5, 28 ); |
| 1363 |
UxPutWidth( rb_seamtd_grav5, 84 ); |
| 1364 |
UxPutY( rb_seamtd_grav5, 4 ); |
| 1365 |
UxPutX( rb_seamtd_grav5, 114 ); |
| 1366 |
|
| 1367 |
UxPutTranslations( rb_seamtd_maxi5, transTable28 ); |
| 1368 |
UxPutForeground( rb_seamtd_maxi5, TextForeground ); |
| 1369 |
UxPutIndicatorSize( rb_seamtd_maxi5, 16 ); |
| 1370 |
UxPutHighlightOnEnter( rb_seamtd_maxi5, "true" ); |
| 1371 |
UxPutSelectColor( rb_seamtd_maxi5, SelectColor ); |
| 1372 |
UxPutLabelString( rb_seamtd_maxi5, "Sinc" ); |
| 1373 |
UxPutFontList( rb_seamtd_maxi5, TextFont ); |
| 1374 |
UxPutBackground( rb_seamtd_maxi5, WindowBackground ); |
| 1375 |
UxPutHeight( rb_seamtd_maxi5, 28 ); |
| 1376 |
UxPutWidth( rb_seamtd_maxi5, 84 ); |
| 1377 |
UxPutY( rb_seamtd_maxi5, 3 ); |
| 1378 |
UxPutX( rb_seamtd_maxi5, 175 ); |
| 1379 |
|
| 1380 |
UxPutForeground( label119, TextForeground ); |
| 1381 |
UxPutAlignment( label119, "alignment_beginning" ); |
| 1382 |
UxPutLabelString( label119, "Method:" ); |
| 1383 |
UxPutFontList( label119, TextFont ); |
| 1384 |
UxPutBackground( label119, LabelBackground ); |
| 1385 |
UxPutHeight( label119, 30 ); |
| 1386 |
UxPutWidth( label119, 68 ); |
| 1387 |
UxPutY( label119, 36 ); |
| 1388 |
UxPutX( label119, 56 ); |
| 1389 |
|
| 1390 |
UxPutForeground( label126, TextForeground ); |
| 1391 |
UxPutAlignment( label126, "alignment_center" ); |
| 1392 |
UxPutLabelString( label126, "Blaze Function Fitting" ); |
| 1393 |
UxPutFontList( label126, BoldTextFont ); |
| 1394 |
UxPutBackground( label126, LabelBackground ); |
| 1395 |
UxPutHeight( label126, 30 ); |
| 1396 |
UxPutWidth( label126, 166 ); |
| 1397 |
UxPutY( label126, 2 ); |
| 1398 |
UxPutX( label126, 168 ); |
| 1399 |
|
| 1400 |
UxPutFontList( shelp_search8, TextFont ); |
| 1401 |
UxPutEditable( shelp_search8, "false" ); |
| 1402 |
UxPutCursorPositionVisible( shelp_search8, "false" ); |
| 1403 |
UxPutBackground( shelp_search8, SHelpBackground ); |
| 1404 |
UxPutHeight( shelp_search8, 50 ); |
| 1405 |
UxPutWidth( shelp_search8, 508 ); |
| 1406 |
UxPutY( shelp_search8, 492 ); |
| 1407 |
UxPutX( shelp_search8, 12 ); |
| 1408 |
|
| 1409 |
} |
| 1410 |
|
| 1411 |
/******************************************************************************* |
| 1412 |
The 'build_' function creates all the swidgets and X widgets, |
| 1413 |
and sets their properties to the values specified in the |
| 1414 |
Property Editor. |
| 1415 |
*******************************************************************************/ |
| 1416 |
|
| 1417 |
static swidget _Uxbuild_RespShell() |
| 1418 |
{ |
| 1419 |
/* Create the swidgets */ |
| 1420 |
|
| 1421 |
RespShell = UxCreateTransientShell( "RespShell", NO_PARENT ); |
| 1422 |
UxPutContext( RespShell, UxRespShellContext ); |
| 1423 |
|
| 1424 |
form39 = UxCreateForm( "form39", RespShell ); |
| 1425 |
form40 = UxCreateForm( "form40", form39 ); |
| 1426 |
pb_search_search12 = UxCreatePushButton( "pb_search_search12", form40 ); |
| 1427 |
pushButton8 = UxCreatePushButton( "pushButton8", form40 ); |
| 1428 |
pb_search_plot22 = UxCreatePushButton( "pb_search_plot22", form40 ); |
| 1429 |
pb_search_plot23 = UxCreatePushButton( "pb_search_plot23", form40 ); |
| 1430 |
separator32 = UxCreateSeparator( "separator32", form39 ); |
| 1431 |
separator33 = UxCreateSeparator( "separator33", form39 ); |
| 1432 |
rowColumn3 = UxCreateRowColumn( "rowColumn3", form39 ); |
| 1433 |
rb_seamtd_gaus4 = UxCreateToggleButton( "rb_seamtd_gaus4", rowColumn3 ); |
| 1434 |
rb_seamtd_grav4 = UxCreateToggleButton( "rb_seamtd_grav4", rowColumn3 ); |
| 1435 |
label113 = UxCreateLabel( "label113", form39 ); |
| 1436 |
tf_alpha38 = UxCreateTextField( "tf_alpha38", form39 ); |
| 1437 |
label117 = UxCreateLabel( "label117", form39 ); |
| 1438 |
pb_main_search28 = UxCreatePushButton( "pb_main_search28", form39 ); |
| 1439 |
pb_search_plot30 = UxCreatePushButton( "pb_search_plot30", form39 ); |
| 1440 |
form41 = UxCreateForm( "form41", form39 ); |
| 1441 |
label99 = UxCreateLabel( "label99", form41 ); |
| 1442 |
tf_alpha26 = UxCreateTextField( "tf_alpha26", form41 ); |
| 1443 |
tf_alpha27 = UxCreateTextField( "tf_alpha27", form41 ); |
| 1444 |
label102 = UxCreateLabel( "label102", form41 ); |
| 1445 |
tf_alpha28 = UxCreateTextField( "tf_alpha28", form41 ); |
| 1446 |
tf_alpha29 = UxCreateTextField( "tf_alpha29", form41 ); |
| 1447 |
tf_alpha30 = UxCreateTextField( "tf_alpha30", form41 ); |
| 1448 |
label104 = UxCreateLabel( "label104", form41 ); |
| 1449 |
tf_alpha32 = UxCreateTextField( "tf_alpha32", form41 ); |
| 1450 |
label105 = UxCreateLabel( "label105", form41 ); |
| 1451 |
label106 = UxCreateLabel( "label106", form41 ); |
| 1452 |
label107 = UxCreateLabel( "label107", form41 ); |
| 1453 |
label108 = UxCreateLabel( "label108", form41 ); |
| 1454 |
label109 = UxCreateLabel( "label109", form41 ); |
| 1455 |
label110 = UxCreateLabel( "label110", form41 ); |
| 1456 |
tf_alpha39 = UxCreateTextField( "tf_alpha39", form41 ); |
| 1457 |
pb_main_search29 = UxCreatePushButton( "pb_main_search29", form41 ); |
| 1458 |
label118 = UxCreateLabel( "label118", form41 ); |
| 1459 |
pb_search_plot31 = UxCreatePushButton( "pb_search_plot31", form41 ); |
| 1460 |
label127 = UxCreateLabel( "label127", form41 ); |
| 1461 |
form42 = UxCreateForm( "form42", form39 ); |
| 1462 |
label103 = UxCreateLabel( "label103", form42 ); |
| 1463 |
tf_alpha33 = UxCreateTextField( "tf_alpha33", form42 ); |
| 1464 |
label111 = UxCreateLabel( "label111", form42 ); |
| 1465 |
tf_alpha34 = UxCreateTextField( "tf_alpha34", form42 ); |
| 1466 |
tf_alpha41 = UxCreateTextField( "tf_alpha41", form42 ); |
| 1467 |
label112 = UxCreateLabel( "label112", form42 ); |
| 1468 |
tf_alpha43 = UxCreateTextField( "tf_alpha43", form42 ); |
| 1469 |
label120 = UxCreateLabel( "label120", form42 ); |
| 1470 |
label123 = UxCreateLabel( "label123", form42 ); |
| 1471 |
rowColumn28 = UxCreateRowColumn( "rowColumn28", form42 ); |
| 1472 |
rb_seamtd_gaus5 = UxCreateToggleButton( "rb_seamtd_gaus5", rowColumn28 ); |
| 1473 |
rb_seamtd_grav5 = UxCreateToggleButton( "rb_seamtd_grav5", rowColumn28 ); |
| 1474 |
rb_seamtd_maxi5 = UxCreateToggleButton( "rb_seamtd_maxi5", rowColumn28 ); |
| 1475 |
label119 = UxCreateLabel( "label119", form42 ); |
| 1476 |
label126 = UxCreateLabel( "label126", form42 ); |
| 1477 |
shelp_search8 = UxCreateText( "shelp_search8", form39 ); |
| 1478 |
|
| 1479 |
_Uxinit_RespShell(); |
| 1480 |
|
| 1481 |
/* Create the X widgets */ |
| 1482 |
|
| 1483 |
UxCreateWidget( RespShell ); |
| 1484 |
UxCreateWidget( form39 ); |
| 1485 |
UxCreateWidget( form40 ); |
| 1486 |
UxCreateWidget( pb_search_search12 ); |
| 1487 |
UxCreateWidget( pushButton8 ); |
| 1488 |
UxCreateWidget( pb_search_plot22 ); |
| 1489 |
UxCreateWidget( pb_search_plot23 ); |
| 1490 |
UxCreateWidget( separator32 ); |
| 1491 |
UxCreateWidget( separator33 ); |
| 1492 |
UxCreateWidget( rowColumn3 ); |
| 1493 |
UxCreateWidget( rb_seamtd_gaus4 ); |
| 1494 |
UxCreateWidget( rb_seamtd_grav4 ); |
| 1495 |
UxCreateWidget( label113 ); |
| 1496 |
UxCreateWidget( tf_alpha38 ); |
| 1497 |
UxCreateWidget( label117 ); |
| 1498 |
UxCreateWidget( pb_main_search28 ); |
| 1499 |
UxCreateWidget( pb_search_plot30 ); |
| 1500 |
UxCreateWidget( form41 ); |
| 1501 |
UxCreateWidget( label99 ); |
| 1502 |
UxCreateWidget( tf_alpha26 ); |
| 1503 |
UxCreateWidget( tf_alpha27 ); |
| 1504 |
UxCreateWidget( label102 ); |
| 1505 |
UxCreateWidget( tf_alpha28 ); |
| 1506 |
UxCreateWidget( tf_alpha29 ); |
| 1507 |
UxCreateWidget( tf_alpha30 ); |
| 1508 |
UxCreateWidget( label104 ); |
| 1509 |
UxCreateWidget( tf_alpha32 ); |
| 1510 |
UxCreateWidget( label105 ); |
| 1511 |
UxCreateWidget( label106 ); |
| 1512 |
UxCreateWidget( label107 ); |
| 1513 |
UxCreateWidget( label108 ); |
| 1514 |
UxCreateWidget( label109 ); |
| 1515 |
UxCreateWidget( label110 ); |
| 1516 |
UxCreateWidget( tf_alpha39 ); |
| 1517 |
UxCreateWidget( pb_main_search29 ); |
| 1518 |
UxCreateWidget( label118 ); |
| 1519 |
UxCreateWidget( pb_search_plot31 ); |
| 1520 |
UxCreateWidget( label127 ); |
| 1521 |
UxCreateWidget( form42 ); |
| 1522 |
UxCreateWidget( label103 ); |
| 1523 |
UxCreateWidget( tf_alpha33 ); |
| 1524 |
UxCreateWidget( label111 ); |
| 1525 |
UxCreateWidget( tf_alpha34 ); |
| 1526 |
UxCreateWidget( tf_alpha41 ); |
| 1527 |
UxCreateWidget( label112 ); |
| 1528 |
UxCreateWidget( tf_alpha43 ); |
| 1529 |
UxCreateWidget( label120 ); |
| 1530 |
UxCreateWidget( label123 ); |
| 1531 |
UxCreateWidget( rowColumn28 ); |
| 1532 |
UxCreateWidget( rb_seamtd_gaus5 ); |
| 1533 |
UxCreateWidget( rb_seamtd_grav5 ); |
| 1534 |
UxCreateWidget( rb_seamtd_maxi5 ); |
| 1535 |
UxCreateWidget( label119 ); |
| 1536 |
UxCreateWidget( label126 ); |
| 1537 |
UxCreateWidget( shelp_search8 ); |
| 1538 |
|
| 1539 |
UxAddCallback( pb_search_search12, XmNactivateCallback, |
| 1540 |
activateCB_pb_search_search12, |
| 1541 |
(XtPointer) UxRespShellContext ); |
| 1542 |
|
| 1543 |
UxAddCallback( pushButton8, XmNactivateCallback, |
| 1544 |
activateCB_pushButton8, |
| 1545 |
(XtPointer) UxRespShellContext ); |
| 1546 |
|
| 1547 |
UxAddCallback( pb_search_plot22, XmNactivateCallback, |
| 1548 |
activateCB_pb_search_plot22, |
| 1549 |
(XtPointer) UxRespShellContext ); |
| 1550 |
|
| 1551 |
UxAddCallback( pb_search_plot23, XmNactivateCallback, |
| 1552 |
activateCB_pb_search_plot23, |
| 1553 |
(XtPointer) UxRespShellContext ); |
| 1554 |
|
| 1555 |
UxAddCallback( rb_seamtd_gaus4, XmNarmCallback, |
| 1556 |
armCB_rb_seamtd_gaus4, |
| 1557 |
(XtPointer) UxRespShellContext ); |
| 1558 |
UxAddCallback( rb_seamtd_gaus4, XmNvalueChangedCallback, |
| 1559 |
valueChangedCB_rb_seamtd_gaus4, |
| 1560 |
(XtPointer) UxRespShellContext ); |
| 1561 |
|
| 1562 |
UxAddCallback( rb_seamtd_grav4, XmNarmCallback, |
| 1563 |
armCB_rb_seamtd_grav4, |
| 1564 |
(XtPointer) UxRespShellContext ); |
| 1565 |
UxAddCallback( rb_seamtd_grav4, XmNvalueChangedCallback, |
| 1566 |
valueChangedCB_rb_seamtd_grav4, |
| 1567 |
(XtPointer) UxRespShellContext ); |
| 1568 |
|
| 1569 |
UxAddCallback( tf_alpha38, XmNlosingFocusCallback, |
| 1570 |
losingFocusCB_tf_alpha38, |
| 1571 |
(XtPointer) UxRespShellContext ); |
| 1572 |
|
| 1573 |
UxAddCallback( pb_main_search28, XmNactivateCallback, |
| 1574 |
activateCB_pb_main_search28, |
| 1575 |
(XtPointer) UxRespShellContext ); |
| 1576 |
|
| 1577 |
UxAddCallback( pb_search_plot30, XmNactivateCallback, |
| 1578 |
activateCB_pb_search_plot30, |
| 1579 |
(XtPointer) UxRespShellContext ); |
| 1580 |
|
| 1581 |
UxAddCallback( tf_alpha26, XmNlosingFocusCallback, |
| 1582 |
losingFocusCB_tf_alpha26, |
| 1583 |
(XtPointer) UxRespShellContext ); |
| 1584 |
|
| 1585 |
UxAddCallback( tf_alpha27, XmNlosingFocusCallback, |
| 1586 |
losingFocusCB_tf_alpha27, |
| 1587 |
(XtPointer) UxRespShellContext ); |
| 1588 |
|
| 1589 |
UxAddCallback( tf_alpha28, XmNlosingFocusCallback, |
| 1590 |
losingFocusCB_tf_alpha28, |
| 1591 |
(XtPointer) UxRespShellContext ); |
| 1592 |
|
| 1593 |
UxAddCallback( tf_alpha29, XmNlosingFocusCallback, |
| 1594 |
losingFocusCB_tf_alpha29, |
| 1595 |
(XtPointer) UxRespShellContext ); |
| 1596 |
|
| 1597 |
UxAddCallback( tf_alpha30, XmNlosingFocusCallback, |
| 1598 |
losingFocusCB_tf_alpha30, |
| 1599 |
(XtPointer) UxRespShellContext ); |
| 1600 |
|
| 1601 |
UxAddCallback( tf_alpha32, XmNlosingFocusCallback, |
| 1602 |
losingFocusCB_tf_alpha32, |
| 1603 |
(XtPointer) UxRespShellContext ); |
| 1604 |
|
| 1605 |
UxAddCallback( tf_alpha39, XmNlosingFocusCallback, |
| 1606 |
losingFocusCB_tf_alpha39, |
| 1607 |
(XtPointer) UxRespShellContext ); |
| 1608 |
|
| 1609 |
UxAddCallback( pb_main_search29, XmNactivateCallback, |
| 1610 |
activateCB_pb_main_search29, |
| 1611 |
(XtPointer) UxRespShellContext ); |
| 1612 |
|
| 1613 |
UxAddCallback( pb_search_plot31, XmNactivateCallback, |
| 1614 |
activateCB_pb_search_plot31, |
| 1615 |
(XtPointer) UxRespShellContext ); |
| 1616 |
|
| 1617 |
UxAddCallback( tf_alpha33, XmNlosingFocusCallback, |
| 1618 |
losingFocusCB_tf_alpha33, |
| 1619 |
(XtPointer) UxRespShellContext ); |
| 1620 |
|
| 1621 |
UxAddCallback( tf_alpha34, XmNlosingFocusCallback, |
| 1622 |
losingFocusCB_tf_alpha34, |
| 1623 |
(XtPointer) UxRespShellContext ); |
| 1624 |
|
| 1625 |
UxAddCallback( tf_alpha41, XmNlosingFocusCallback, |
| 1626 |
losingFocusCB_tf_alpha41, |
| 1627 |
(XtPointer) UxRespShellContext ); |
| 1628 |
|
| 1629 |
UxAddCallback( tf_alpha43, XmNlosingFocusCallback, |
| 1630 |
losingFocusCB_tf_alpha43, |
| 1631 |
(XtPointer) UxRespShellContext ); |
| 1632 |
|
| 1633 |
UxAddCallback( rb_seamtd_gaus5, XmNarmCallback, |
| 1634 |
armCB_rb_seamtd_gaus5, |
| 1635 |
(XtPointer) UxRespShellContext ); |
| 1636 |
UxAddCallback( rb_seamtd_gaus5, XmNvalueChangedCallback, |
| 1637 |
valueChangedCB_rb_seamtd_gaus5, |
| 1638 |
(XtPointer) UxRespShellContext ); |
| 1639 |
|
| 1640 |
UxAddCallback( rb_seamtd_grav5, XmNarmCallback, |
| 1641 |
armCB_rb_seamtd_grav5, |
| 1642 |
(XtPointer) UxRespShellContext ); |
| 1643 |
UxAddCallback( rb_seamtd_grav5, XmNvalueChangedCallback, |
| 1644 |
valueChangedCB_rb_seamtd_grav5, |
| 1645 |
(XtPointer) UxRespShellContext ); |
| 1646 |
|
| 1647 |
UxAddCallback( rb_seamtd_maxi5, XmNarmCallback, |
| 1648 |
armCB_rb_seamtd_maxi5, |
| 1649 |
(XtPointer) UxRespShellContext ); |
| 1650 |
UxAddCallback( rb_seamtd_maxi5, XmNvalueChangedCallback, |
| 1651 |
valueChangedCB_rb_seamtd_maxi5, |
| 1652 |
(XtPointer) UxRespShellContext ); |
| 1653 |
|
| 1654 |
|
| 1655 |
/* Finally, call UxRealizeInterface to create the X windows |
| 1656 |
for the widgets created above. */ |
| 1657 |
|
| 1658 |
UxRealizeInterface( RespShell ); |
| 1659 |
|
| 1660 |
return ( RespShell ); |
| 1661 |
} |
| 1662 |
|
| 1663 |
/******************************************************************************* |
| 1664 |
The following function includes the code that was entered |
| 1665 |
in the 'Initial Code' and 'Final Code' sections of the |
| 1666 |
Declarations Editor. This function is called from the |
| 1667 |
'Interface function' below. |
| 1668 |
*******************************************************************************/ |
| 1669 |
|
| 1670 |
static swidget _Ux_create_RespShell() |
| 1671 |
{ |
| 1672 |
swidget rtrn; |
| 1673 |
_UxCRespShell *UxContext; |
| 1674 |
|
| 1675 |
UxRespShellContext = UxContext = |
| 1676 |
(_UxCRespShell *) UxMalloc( sizeof(_UxCRespShell) ); |
| 1677 |
|
| 1678 |
rtrn = _Uxbuild_RespShell(); |
| 1679 |
|
| 1680 |
return(rtrn); |
| 1681 |
} |
| 1682 |
|
| 1683 |
/******************************************************************************* |
| 1684 |
The following is the 'Interface function' which is the |
| 1685 |
external entry point for creating this interface. |
| 1686 |
This function should be called from your application or from |
| 1687 |
a callback function. |
| 1688 |
*******************************************************************************/ |
| 1689 |
|
| 1690 |
swidget create_RespShell() |
| 1691 |
{ |
| 1692 |
swidget _Uxrtrn; |
| 1693 |
static int _Uxinit = 0; |
| 1694 |
|
| 1695 |
if ( ! _Uxinit ) |
| 1696 |
{ |
| 1697 |
static XtActionsRec _Uxactions[] = { |
| 1698 |
{ "UpdateDirectory", action_UpdateDirectory }, |
| 1699 |
{ "ClearShort", action_ClearShort }, |
| 1700 |
{ "HelpShort", action_HelpShort }, |
| 1701 |
{ "ExtendedHelp", action_ExtendedHelp }, |
| 1702 |
{ "FileSelectACT", action_FileSelectACT } |
| 1703 |
}; |
| 1704 |
|
| 1705 |
XtAppAddActions( UxAppContext, |
| 1706 |
_Uxactions, |
| 1707 |
XtNumber(_Uxactions) ); |
| 1708 |
|
| 1709 |
_Uxinit = 1; |
| 1710 |
} |
| 1711 |
|
| 1712 |
_Uxrtrn = _Ux_create_RespShell(); |
| 1713 |
|
| 1714 |
return ( _Uxrtrn ); |
| 1715 |
} |
| 1716 |
|
| 1717 |
/******************************************************************************* |
| 1718 |
END OF FILE |
| 1719 |
*******************************************************************************/ |
| 1720 |
|