DAS
3.1.6 - 18/09/2017
|
DAS GUI Creation. More...
#include <windows.h>
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <direct.h>
#include <ctype.h>
#include <math.h>
#include "mgui.h"
#include "dscud.h"
#include "DAS_Spatram.h"
#include "dcl.h"
#include "dil.h"
#include "wsc.h"
#include "dxl.h"
#include "bil.h"
#include "DOAS.h"
#include "portio32.h"
Go to the source code of this file.
Functions | |
void | ActMvAzimCB (MOBJECT edit, char *text, void *ed) |
void | ActMvAzimDegCB (MOBJECT edit, char *text, void *ed) |
void | ActMvGratCB (MOBJECT edit, char *text, void *ed) |
Move Grating of a free steps number callback. . More... | |
void | ActMvZenCB (MOBJECT edit, char *text, void *ed) |
void | ActMvZenDegCB (MOBJECT edit, char *text, void *ed) |
void | CloseShCB (MOBJECT p, void *od, void *ad) |
void | D_XProfile (void) |
void | D_YProfile (void) |
int | DB_Ask (char *tit, char *bmp, char *label, char *pre, int len, char *pbtype) |
Input Shell Create an input box. More... | |
void | DB_Ask_SheelESC (MOBJECT obj, MKeyEvent *pe, void *a_data) |
Input Shell Callback Callback for the Input Shell destruction at the pression of the ESC key. More... | |
void | DB_AskCB (MOBJECT p, void *od, void *ad) |
Input Shell Callback Callback for the Input Shell. More... | |
void | DB_ChooseButtons (int w) |
void | DB_Close_Sh (MOBJECT p, void *od, void *ad) |
void | DB_CloseAsk (MOBJECT p, void *od, void *ad) |
Input Shell Callback Callback for the Input Shell destruction. More... | |
void | DB_dirCB (MOBJECT o, void *id, void *a_data) |
void | DB_Esc_CB (MOBJECT p, void *od, void *ad) |
void | DB_Fil_CB (MOBJECT p, void *od, void *ad) |
callback for filter wheel positioning in Filter shell More... | |
void | DB_FilSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for select a specified filter push button with the keyboard More... | |
void | DB_FilSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
int | DB_FindChar (int mod, char *string, int ch) |
void | DB_GratPosMode_CB (MOBJECT o, void *a, void *v) |
void | DB_Home_CB (MOBJECT p, void *od, void *ad) |
void | DB_HomeSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
void | DB_HomeSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
void | DB_HorComm_CB (MOBJECT p, void *od, void *ad) |
void | DB_KB_ButtonActive (int mod) |
Enable/Disable Push buttons on the Control Panel. More... | |
void | DB_KeyB_CB (MOBJECT p, void *od, void *ad) |
Push buttons callback . More... | |
void | DB_KeyComSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_KeyComSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_LampSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback for selsct a specified push button with the keyboard More... | |
void | DB_Mir_CB (MOBJECT p, void *od, void *ad) |
callback for input mirror positioning in Mirror shell More... | |
void | DB_MirSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified mirror push button with the keyboard More... | |
void | DB_MirSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_NDFil_CB (MOBJECT p, void *od, void *ad) |
callback for filter wheel positioning in Filter shell More... | |
void | DB_NDFilSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for select a specified filter push button with the keyboard More... | |
void | DB_NDFilSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_PasWd (void) |
void | DB_Pause (void) |
void | DB_PushButtonMouse (int mod, int event, MOBJECT obj, struct pbutt *ppbutt) |
void | DB_PushButtonMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
void | DB_RecGio_CB (MOBJECT o, void *a, void *v) |
void | DB_Redraw_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
void | DB_SheelESC (MOBJECT obj, MKeyEvent *pe, void *a_data) |
void | DB_StepGratEnc_CB (MOBJECT o, void *a, void *v) |
void | DB_Tools () |
void | DB_ToolsKeyB_CB (MOBJECT p, void *od, void *ad) |
void | DB_Wl_CB (MOBJECT p, void *od, void *ad) |
callback for grating positioning in Wavelength shell More... | |
void | DB_WlSelButtKB_CB (MOBJECT obj, MKeyEvent *pe, void *a_data) |
callback for selsct a specified wavelength push button with the keyboard More... | |
void | DB_WlSelButtMouse_CB (MOBJECT obj, MMouseEvent *pe, void *a_data) |
callback changing the bakground color of the push button passing the mouse over it More... | |
void | DB_WriteMode (int mod) |
void | DT_ShutterCB (MOBJECT p, void *od, void *ad) |
void | ExecSimPosCB (MOBJECT p, void *od, void *ad) |
void | FrmBuildTemperature (MOBJECT pf) |
void | ListTargetCB (MOBJECT p, LIST_ACT *la, void *ad) |
MOBJECT | MDCreate_CP (void) |
Create Spectrometer Control Panel. Procedure that build the Control Panel for checking the spectrometer operations such as temperature monitoring, stepper motor positioning, data acquisition ... More... | |
MOBJECT | MDCreateHorMeas (void) |
void | MDCreateMoveAzim (void) |
void | MDCreateMoveAzimDeg (void) |
void | MDCreateMoveGrat (void) |
Free Grating positioning. Procedure that build the shell for Free Grating positioning. More... | |
void | MDCreateMoveZen (void) |
void | MDCreateMoveZenAzimDeg (void) |
void | MDCreateMoveZenDeg (void) |
int | MDCreateSh_Fil (void) |
Create the shell for the available Filters. Procedure that build the shell for the positioning of the filter wheel. They are installed during the instrument setup. More... | |
int | MDCreateSh_Home (void) |
int | MDCreateSh_Mir (void) |
Create the shell for the available Mirror Positions. Procedure that build the shell for the positioning of the Input Mirror. They are: 1) Zenith 2) Horizontal Right 3) Calibra (Down for the calibration sphere) 4) Horizontal Left. More... | |
int | MDCreateSh_NDFil (void) |
int | MDCreateSh_SimPos (void) |
int | MDCreateSh_Wl (void) |
Create the shell for the available Wavelength. Procedure that build the shell for the availables wavelength. They are fixed and setted during the testing phase. More... | |
float | MIGEAz (float p) |
float | MIGEZen (float p) |
void | MIGEZenAzPos_CB (MOBJECT o, void *a, void *v) |
void | PopUpAdvCal_CB (MOBJECT obj, void *item, void *data) |
void | PupAdvCal_CB (MOBJECT obj, MEvent *pe, void *pdown) |
void | ShutCB (MOBJECT p, void *od, void *ad) |
void | ShutDOWN (void) |
Creates shell for Shutting down the instrument . More... | |
void | SimPosShClose_CB (MOBJECT p, void *od, void *ad) |
void | StepperPagForm (int p, int q) |
Variables | |
MTFont | alfont |
char * | AskBuff |
static int | AskFlg =0 |
AzimuthSt | AST |
bil | BIL |
config | Cfg |
int | Com |
MOBJECT | CP_Sh |
das | DAS |
ccd | DC_CCD |
ptf | DC_HP |
int | DefPWD_OK = 0 |
d_geo | DGEO |
dil | DIL |
palette | DPAL |
dpwd | DPWD |
DSCB | dscb |
DXL_par | DXL |
const char * | FilBuff |
static int | FilFlg =0 |
int | FilSet = 0 |
filter wheel position definition - for SD_FilterW More... | |
flag | FLAG |
MTFont | font |
static int | GratFlg =0 |
int | GrDIR |
GratingSt | GRS |
char * | HomeBuff |
static int | HomeFlg =0 |
MENU_ITEM | item_advc |
const char * | MirBuff |
static int | MirFlg =0 |
int | MirSet = 0 |
mirror position definition - for SD_Mirror More... | |
const char * | NDFilBuff |
static int | NDFilFlg =0 |
int | NDFilSet = 0 |
ND filter wheel position definition - for SD_NDFilterW. More... | |
MTFont | newfont |
char | NFileNameF [_MAX_PATH] |
int | NumRip |
paramini | PARAM |
MTFont | plfont |
MOBJECT | popup_advcalib |
char | PrgFile [16] |
Name of the PRG file. More... | |
MOBJECT | sdsh |
MOBJECT | shell_1 |
long | STEPS |
tools | TOOLS |
char * | WlBuff |
static int | WlFlg =0 |
static | XProfOn = 0 |
static | YProfOn = 0 |
ZenithSt | ZST |
DAS GUI Creation.
Definition in file CreateForms.c.
void ActMvAzimCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Definition at line 3067 of file CreateForms.c.
References stepm::Addr, controlpanel::Albl_LS, AMS3, gui::ContrPanel, DB_StepMotor(), False, GratFlg, GrDIR, das::Gui, controlpanel::LedSM, MEditSetTextExt(), MObjectSetText(), MPixmapSetImageFile(), stepm::SM_B, SMfraz(), stepm::step, and das::StepM.
Referenced by MDCreateMoveAzim().
void ActMvAzimDegCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Definition at line 3530 of file CreateForms.c.
References False, GratFlg, MEditSetTextExt(), MIGEAz(), and SD_Azimuth().
Referenced by MDCreateMoveAzimDeg().
void ActMvGratCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Move Grating of a free steps number callback.
.
edit | Edit MObject where the number of steps are typed |
*text | Number of steps |
Definition at line 2691 of file CreateForms.c.
References controlpanel::Albl_LS, AMS1, flag::backlashrec, gui::ContrPanel, DB_StepMotor(), GratingSt::dp, False, das::Flag, GratFlg, flag::gratposmode, GrDIR, das::Gui, controlpanel::LedSM, MEditSetTextExt(), MObjectSetText(), MPixmapSetImageFile(), stepm::multiplier, stepm::SM_B, SM_stepr(), stepm::step, flag::stepgratenc, and das::StepM.
Referenced by MDCreateMoveGrat().
void ActMvZenCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Definition at line 3116 of file CreateForms.c.
References stepm::Addr, controlpanel::Albl_LS, AMS3, gui::ContrPanel, DB_StepMotor(), False, GratFlg, GrDIR, das::Gui, controlpanel::LedSM, MEditSetTextExt(), MObjectSetText(), MPixmapSetImageFile(), stepm::SM_A, SMfraz(), stepm::step, and das::StepM.
Referenced by MDCreateMoveZen().
void ActMvZenDegCB | ( | MOBJECT | edit, |
char * | text, | ||
void * | ed | ||
) |
Definition at line 3172 of file CreateForms.c.
References False, GratFlg, MEditSetTextExt(), and SD_Zenith().
Referenced by MDCreateMoveZenDeg().
void CloseShCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 4320 of file CreateForms.c.
References MShellDestroy(), and MShellUnrealize().
Referenced by MDCreateSh_SimPos(), ShutCB(), and ShutDOWN().
void D_XProfile | ( | void | ) |
Definition at line 2656 of file CreateForms.c.
References das::Gui, dil::Img, pushbutt::KeyB, MObjectSetText(), image::Prof, gui::PushButt, Server, and XProfOn.
Referenced by DB_KeyB_CB().
void D_YProfile | ( | void | ) |
Definition at line 2638 of file CreateForms.c.
References das::Gui, dil::Img, pushbutt::KeyB, MObjectSetText(), image::Prof, gui::PushButt, Server, and YProfOn.
Referenced by DB_KeyB_CB().
int DB_Ask | ( | char * | tit, |
char * | bmp, | ||
char * | label, | ||
char * | pre, | ||
int | len, | ||
char * | pbtype | ||
) |
Input Shell Create an input box.
Definition at line 5373 of file CreateForms.c.
References AskBuff, AskFlg, CENTER_ALIGN, DB_AskCB(), palette::DB_BG, palette::DB_BG_Plbl, DB_CloseAsk(), palette::DB_FG_Plbl, palette::DB_UnSel, F_ATT_NONE, False, FIXED_SMALL, HELV_SMALL, lbl, MBottomAttach(), MCreateClippedEdit(), MCreateColForm(), MCreateEdit(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLabelSetAlignment(), MLoopWhileFlag(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), SF_MODAL, TOP_ALIGN, True, UNDEF_ALIGN, WS_ETCHED_OUT, and WS_NONE.
Referenced by DB_HorComm_CB(), and DB_KeyB_CB().
Input Shell Callback Callback for the Input Shell destruction at the pression of the ESC key.
Definition at line 5496 of file CreateForms.c.
References AskBuff, AskFlg, ESC, and MKeyEvent::keycode.
void DB_AskCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Input Shell Callback Callback for the Input Shell.
Definition at line 5462 of file CreateForms.c.
References AskBuff, AskFlg, DB_GetCCD(), MObjectGetText(), and TExp.
Referenced by DB_Ask().
void DB_ChooseButtons | ( | int | w | ) |
Definition at line 2560 of file CreateForms.c.
References DB_KB_ButtonActive(), DBDEMO, HELP, MANUAL, OFFLINEPLOT, PRGFILE, TEMPORIZED, TESTAD, TESTAMS, and TESTCCD.
Referenced by SZA_FirstCalc().
void DB_Close_Sh | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 5511 of file CreateForms.c.
References FilBuff, FilFlg, MirBuff, MirFlg, NDFilBuff, NDFilFlg, WlBuff, and WlFlg.
Referenced by MDCreateSh_Fil(), MDCreateSh_Mir(), MDCreateSh_NDFil(), and MDCreateSh_Wl().
void DB_CloseAsk | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Input Shell Callback Callback for the Input Shell destruction.
Definition at line 5483 of file CreateForms.c.
References AskFlg, MObjectGetText(), and TExp.
Referenced by DB_Ask().
void DB_dirCB | ( | MOBJECT | o, |
void * | id, | ||
void * | a_data | ||
) |
Definition at line 2673 of file CreateForms.c.
References GrDIR.
Referenced by MDCreateMoveAzim(), MDCreateMoveGrat(), and MDCreateMoveZen().
void DB_Esc_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
void DB_Fil_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for filter wheel positioning in Filter shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 6120 of file CreateForms.c.
References paramini::EqType, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, FilBuff, FilFlg, FilSet, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, LIS_, das::Paramini, and TROPOGAS.
Referenced by MDCreateSh_Fil(), and MDCreateSh_NDFil().
callback for select a specified filter push button with the keyboard
Definition at line 6166 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, pushbutt::Fil, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_Fil(), and MDCreateSh_NDFil().
void DB_FilSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 6144 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, pushbutt::Fil, das::Gui, MObjectSetBackgroundRGB(), and gui::PushButt.
int DB_FindChar | ( | int | mod, |
char * | string, | ||
int | ch | ||
) |
void DB_GratPosMode_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 2778 of file CreateForms.c.
References gui::ContrPanel, das::Flag, flag::gratposmode, das::Gui, controlpanel::lbl_mvgratmode, MObjectSetSensitive(), MObjectSetText(), MObjectSetUnsensitive(), MRButtonGetActivationStatus(), controlpanel::rbStepGratEnc, and flag::stepgratenc.
Referenced by MDCreateMoveGrat().
void DB_Home_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 6552 of file CreateForms.c.
References AMS1, AMS2, AMS3, AMS_Default(), AMS_dirfin(), DB_InitAMS(), DB_KB_ButtonActive(), das::Gui, MShellDestroy(), MShellUnrealize(), stepm::power, shells::Sh_Home, gui::Shells, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, stepm::step, and das::StepM.
Referenced by MDCreateSh_Home().
Definition at line 6490 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, pushbutt::HomePos, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), gui::PushButt, R_A, and U_A.
void DB_HomeSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
Definition at line 6468 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, das::Gui, pushbutt::HomePos, MObjectSetBackgroundRGB(), and gui::PushButt.
void DB_HorComm_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 506 of file CreateForms.c.
References _MAX_PATH, controlpanel::Albl_CS, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, AutoRange(), FB_PREFS::bg_image_file, FB_PREFS::button_font, FB_PREFS::change_cwd, gui::ContrPanel, D_Average(), D_Calibra(), D_Saving(), d_fileman::DATADIRECTORY, DB_Ask(), DB_GetCCD(), DB_KB_ButtonActive(), DB_Save(), d_fileman::DBFILENAME, bil::DFILEM, DI_FindExtName(), DI_Lens(), das::DOption, flag::extlamp, ExtLamp(), ExtShutt(), flag::extshutter, False, optionini::filename, das::Flag, FB_PREFS::font, das::Gui, HELV_SMALL, d_fileman::HOMEDIRECTORY, gui::HorizMeas, horizmeas::lbl, horizmeas::led, flag::manhormeas, MFileBrowseExt(), MMessageDialog(), MObjectSetText(), MPixmapSetImageFile(), MShellDestroy(), MShellUnrealize(), NFileNameF, SaveCnt, optionini::savingmode, horizmeas::shell, TExp, FB_PREFS::transparent_tree, True, and ViewPlot().
Referenced by MDCreateHorMeas().
void DB_KB_ButtonActive | ( | int | mod | ) |
Enable/Disable Push buttons on the Control Panel.
mod |
|
Definition at line 3810 of file CreateForms.c.
References paramini::EqType, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, pushbutt::KeyB, mige::linked, LIS_, das::MIGE, MObjectSetSensitive(), MObjectSetUnsensitive(), das::Paramini, gui::PushButt, SPATRAM, SPATRAM2, SPATRAM3, SPATRAMPLUS, and TROPOGAS.
Referenced by ApplyChCB(), DB_ChooseButtons(), DB_Home_CB(), DB_HorComm_CB(), DB_Pause(), E_Home_SM4(), E_Home_SM6(), InitCCD_AMS(), MDCreate_CP(), MDCreateHorMeas(), SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Zenith(), SD_Zenith_H(), and SZA_FirstCalc().
void DB_KeyB_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Push buttons callback
.
p | calling push button MObject |
*ad | calling push button number |
Definition at line 4693 of file CreateForms.c.
References _MAX_PATH, AboutCB(), controlpanel::Albl_CS, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, AMS3, AutoRange(), FB_PREFS::bg_image_file, FB_PREFS::button_font, FB_PREFS::change_cwd, ChkDigIO(), ChkWinInstance(), gui::ContrPanel, D_Average(), D_Calibra(), D_Saving(), D_XProfile(), D_YProfile(), d_fileman::DATADIRECTORY, DB_Ask(), DB_GetCCD(), DB_PasWd(), DB_Pause(), DB_Save(), DB_Tools(), d_fileman::DBFILENAME, bil::DFILEM, DI_FindExtName(), DI_Lens(), das::DOption, False, FANECU(), FDOUBLE, optionini::filename, FilSet, optionini::filtertype, FB_PREFS::font, FPLUS, das::Gui, HELV_SMALL, HGFlg, HgLamp(), d_fileman::HOMEDIRECTORY, MDCreateHorMeas(), MDCreateMoveGrat(), MDCreateMoveZenAzimDeg(), MDCreateSh_Fil(), MDCreateSh_Home(), MDCreateSh_Mir(), MDCreateSh_NDFil(), MDCreateSh_SimPos(), MDCreateSh_Wl(), MFileBrowseExt(), MirSet, MMessageDialog(), MObjectSetText(), NDFilSet, NFileNameF, stepm::OOP, QJFlg, QjLamp(), SaveCnt, optionini::savingmode, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), shells::Sh_Home, shells::Sh_mg, tools::Sh_Tools, gui::Shells, ShutDOWN(), das::StepM, TExp, TMFlg, FB_PREFS::transparent_tree, True, ViewPlot(), and WlSet.
Referenced by MDCreate_CP(), and MDCreateHorMeas().
callback for selsct a specified push button with the keyboard
Definition at line 5152 of file CreateForms.c.
References gui::ContrPanel, D_A, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, ESC, F1, F10, F11, F12, F2, F3, F5, F6, F7, F8, F9, das::Gui, pushbutt::KeyB, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), controlpanel::pblamps, gui::PushButt, R_A, and U_A.
Referenced by MDCreate_CP().
void DB_KeyComSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback for selsct a specified push button with the keyboard
Definition at line 5072 of file CreateForms.c.
References optionini::aaopmode, MMouseEvent::button, gui::ContrPanel, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, das::DOption, E_MOTION, das::Gui, pushbutt::KeyB, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetUnsensitive(), MSelectObject(), controlpanel::pblamps, gui::PushButt, and MMouseEvent::type.
Referenced by MDCreate_CP().
void DB_LampSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback for selsct a specified push button with the keyboard
Definition at line 5041 of file CreateForms.c.
References gui::ContrPanel, palette::DB_Sel, palette::DB_UnSel, E_MOTION, das::Gui, pushbutt::KeyB, MObjectSetBackgroundRGB(), MSelectObject(), controlpanel::pblamps, gui::PushButt, and MMouseEvent::type.
Referenced by MDCreate_CP().
void DB_Mir_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for input mirror positioning in Mirror shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 5692 of file CreateForms.c.
References paramini::EqType, GASCODNG4, Mir_Code, Mir_CodeTropo, MirBuff, MirFlg, MirSet, das::Paramini, SPATRAM3, and TROPOGAS.
Referenced by MDCreateSh_Mir().
callback for selsct a specified mirror push button with the keyboard
Definition at line 5748 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, pushbutt::Mir, MObjectSetBackgroundRGB(), gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_Mir().
void DB_MirSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 5708 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, E_MOTION, das::Gui, pushbutt::Mir, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), gui::PushButt, and MMouseEvent::type.
void DB_NDFil_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for filter wheel positioning in Filter shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 6360 of file CreateForms.c.
References paramini::EqType, Fil_Code8H, Fil_CodeNG, Fil_CodeTropo, FilBuff, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, LIS_, NDFil_Code, NDFilBuff, NDFilFlg, NDFilSet, das::Paramini, and TROPOGAS.
Referenced by MDCreateSh_NDFil().
callback for select a specified filter push button with the keyboard
Definition at line 6404 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), pushbutt::NDFil, gui::PushButt, R_A, and U_A.
Referenced by MDCreateSh_NDFil().
void DB_NDFilSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 6382 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, das::Gui, MObjectSetBackgroundRGB(), pushbutt::NDFil, and gui::PushButt.
void DB_PasWd | ( | void | ) |
Definition at line 2600 of file CreateForms.c.
References ChkWinInstance(), gui::ConfigPanel, dpwd::FlgSh_PWD, das::Gui, MDCreateDASConfig(), and configpanel::ShellConfig.
Referenced by DB_KeyB_CB().
void DB_Pause | ( | void | ) |
Definition at line 3766 of file CreateForms.c.
References D_FixSZA(), DB_KB_ButtonActive(), flag::DeltaSZA, flag::exec, flag::ExeDSZA, das::Flag, das::Gui, pushbutt::KeyB, dsza::LastMSZA, MObjectSetSensitive(), MObjectSetText(), gui::PushButt, S_zenetr, Status(), and SZADelta.
Referenced by DB_KeyB_CB(), InitTempAD(), and SetWindowsReset().
void DB_PushButtonMouse | ( | int | mod, |
int | event, | ||
MOBJECT | obj, | ||
struct pbutt * | ppbutt | ||
) |
Definition at line 882 of file CreateForms.c.
References palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, das::Gui, pushbutt::Mir, MIS, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), MirrorSt::Pos, gui::PushButt, pushbutt::Wl, and GratingSt::Wl.
void DB_PushButtonMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
Definition at line 950 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, E_MOTION, pushbutt::Fil, FWS, das::Gui, pushbutt::Mir, MIS, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MSelectObject(), pushbutt::NDFil, NDFWS, FilterWheelSt::Pos, NDFilterWheelSt::Pos, MirrorSt::Pos, gui::PushButt, MMouseEvent::type, pushbutt::Wl, and GratingSt::Wl.
Referenced by MDCreateSh_Fil(), MDCreateSh_Mir(), MDCreateSh_NDFil(), and MDCreateSh_Wl().
void DB_RecGio_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 2835 of file CreateForms.c.
References flag::backlashrec, das::Flag, and MRButtonGetActivationStatus().
Referenced by MDCreateMoveGrat().
void DB_Redraw_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
Definition at line 102 of file CreateForms.c.
References palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, E_MOTION, MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), and MMouseEvent::type.
Referenced by MDCreate_CP().
Definition at line 5569 of file CreateForms.c.
References ESC, FilBuff, FilFlg, MKeyEvent::keycode, MirBuff, MirFlg, NDFilBuff, NDFilFlg, GratingSt::Pos, WlBuff, WlFlg, and WlSet.
Referenced by MDCreateSh_Fil(), MDCreateSh_Mir(), MDCreateSh_NDFil(), and MDCreateSh_Wl().
void DB_StepGratEnc_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 2811 of file CreateForms.c.
References das::Flag, MRButtonGetActivationStatus(), and flag::stepgratenc.
Referenced by MDCreateMoveGrat().
void DB_Tools | ( | ) |
Definition at line 4158 of file CreateForms.c.
References CENTER_ALIGN, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_FG_Albl, DB_ToolsKeyB_CB(), palette::DB_UnSel, palette::DB_UnSelFG, DT_ShutterCB(), False, HELV_MEDIUM, HELV_SMALL, tools::KeyB, lbl, LEFT_ALIGN, MButtonSetOnMouseOverForegroundRGB(), MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MFormSetSpacing(), MLabelSetAlignment(), MLabelSetMargin(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MObjectSetUnsensitive(), MPButtonSetCallback(), MShellRealize(), MTableFormSetColAlign(), SF_NO_MAXIMIZE, tools::Sh_Tools, TOP_ALIGN, True, UNDEF_ALIGN, WS_ETCHED_IN, and WS_NONE.
Referenced by DB_KeyB_CB().
void DB_ToolsKeyB_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 3973 of file CreateForms.c.
References _MAX_PATH, controlpanel::Albl_Script, FB_PREFS::allow_dir_create, FB_PREFS::allow_dir_delete, FB_PREFS::allow_dir_rename, AMS1, AMS_AzzeraCoord(), AMS_ReadStep(), FB_PREFS::bg_image_file, BrowseLog(), BuildLogRatio(), FB_PREFS::button_font, FB_PREFS::change_cwd, gui::ContrPanel, DBDEMO, bil::DFILEM, DI_SplitName(), DT_FluxIndex(), DT_LinkSpectra(), flag::exemode, False, das::Flag, FB_PREFS::font, das::Gui, HELV_SMALL, d_fileman::HOMEDIRECTORY, IDS, LoadExec(), MANUAL, Message(), MFileBrowseExt(), MGetCurrentDirectory(), MMessageDialog(), MObjectSetText(), MRefreshTimeout(), MRemoveTimeout(), MShellDestroy(), MShellUnrealize(), on, PRG_Check(), PrgFile, PRGFILE, SetWorkDirMGUIenv(), tools::Sh_Tools, Status(), Task_Timer(), ids::TIMER, TIMER_TASK_TIME, FB_PREFS::transparent_tree, True, and UPS_Status().
Referenced by DB_Tools().
void DB_Wl_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
callback for grating positioning in Wavelength shell
p | calling push button MObject |
*ad | calling push button number |
Definition at line 5891 of file CreateForms.c.
Referenced by MDCreateSh_Wl().
callback for selsct a specified wavelength push button with the keyboard
Definition at line 5927 of file CreateForms.c.
References D_A, palette::DB_Sel, palette::DB_UnSel, das::Gui, MKeyEvent::keycode, L_A, MObjectSetBackgroundRGB(), gui::PushButt, R_A, U_A, and pushbutt::Wl.
Referenced by MDCreateSh_Wl().
void DB_WlSelButtMouse_CB | ( | MOBJECT | obj, |
MMouseEvent * | pe, | ||
void * | a_data | ||
) |
callback changing the bakground color of the push button passing the mouse over it
Definition at line 5905 of file CreateForms.c.
References MMouseEvent::button, palette::DB_Sel, palette::DB_UnSel, das::Gui, MObjectSetBackgroundRGB(), gui::PushButt, and pushbutt::Wl.
void DB_WriteMode | ( | int | mod | ) |
Definition at line 6722 of file CreateForms.c.
Referenced by ShutCB(), and WinRes().
void DT_ShutterCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 3946 of file CreateForms.c.
References CLEARCCD, DC_SetMode(), DC_ShutterControl(), tools::FlagShutter, MObjectSetText(), MPixmapSetImageFile(), NOSHUTTER, and das::Tools.
Referenced by DB_Tools().
void ExecSimPosCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 4362 of file CreateForms.c.
References FWS, MIS, SD_Position(), FilterWheelSt::target, GratingSt::target, MirrorSt::target, ZenithSt::target, and AzimuthSt::target.
Referenced by MDCreateSh_SimPos().
void FrmBuildTemperature | ( | MOBJECT | pf | ) |
Definition at line 151 of file CreateForms.c.
References controlpanel::Albl_LT, CENTER_ALIGN, gui::ContrPanel, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_Plbl, False, FIXED_SMALL, das::Gui, HELV_SMALL, lbl, LEFT_ALIGN, MCreateLabel(), MCreateTableForm(), MLabelSetAlignment(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetBGColorFromParent(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MPagedFormSetActivePage(), RIGHT_ALIGN, TOP_ALIGN, True, and WS_SHADOW_IN.
Referenced by MDCreate_CP().
Definition at line 4371 of file CreateForms.c.
References FWS, LIST_ACT::item, MIS, LIST_ACT::pos, FilterWheelSt::target, GratingSt::target, MirrorSt::target, ZenithSt::target, and AzimuthSt::target.
Referenced by MDCreateSh_SimPos().
MOBJECT MDCreate_CP | ( | void | ) |
Create Spectrometer Control Panel. Procedure that build the Control Panel for checking the spectrometer operations such as temperature monitoring, stepper motor positioning, data acquisition ...
Definition at line 1143 of file CreateForms.c.
References controlpanel::Albl_Azim, controlpanel::Albl_CS, controlpanel::Albl_Elev, controlpanel::Albl_IE, controlpanel::Albl_LS, controlpanel::Albl_Script, controlpanel::Albl_Status, controlpanel::Albl_sunr, controlpanel::Albl_suns, CENTER_ALIGN, gui::ContrPanel, CP_Sh, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_lblUP, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_lblUP, palette::DB_FG_Plbl, DB_HelpCB(), DB_InfCB(), DB_KB_ButtonActive(), DB_KeyB_CB(), DB_KeyComSelButtKB_CB(), DB_KeyComSelButtMouse_CB(), DB_LampSelButtMouse_CB(), DB_Redraw_CB(), palette::DB_Sel, palette::DB_UnSel, palette::DB_UnSelFG, das::DOption, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, EM_WINDOW_ENTER, F_ATT_NONE, False, FDOUBLE, optionini::filtertype, FIXED_SMALL, FPLUS, FrmBuildTemperature(), FSIMPLE, das::Gui, HELV_MEDIUM, HELV_SMALL, item_advc, pushbutt::KeyB, lbl, controlpanel::lbl_Par, controlpanel::lbl_Time, controlpanel::lblK, controlpanel::LedHG, controlpanel::ledpelt, controlpanel::LedQJ, controlpanel::LedSM, LEFT_ALIGN, MBottomAttach(), MButtonSetOnMouseOverForegroundRGB(), MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreatePopupMenu(), MCreateRowForm(), MCreateShell(), MCreateTabbedRowForm(), MCreateTableForm(), MLabelSetAlignment(), MMenuAddItemObsolete(), MObjectAddEventNotifyCallback(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetBGColorFromParent(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPagedFormSetActivePage(), MPButtonSetCallback(), MSetInputPromptFgRGB(), MSetInputPromptFonts(), MSetInputPromptRGB(), MSetMessageDialogFgRGB(), MSetMessageDialogFonts(), MSetMessageDialogRGB(), stepm::NAMS, controlpanel::Pagedfrm_SM, controlpanel::pblamps, popup_advcalib, PopUpAdvCal_CB(), PupAdvCal_CB(), gui::PushButt, RIGHT_ALIGN, SF_NO_CLOSE, SF_NO_MAXIMIZE, SF_NO_RESIZE, das::StepM, StepperPagForm(), TOP_ALIGN, True, UNDEF_ALIGN, WS_ETCHED_IN, WS_NONE, WS_SHADOW_IN, and WS_SHADOW_OUT.
Referenced by BuildMainShell().
MOBJECT MDCreateHorMeas | ( | void | ) |
Definition at line 681 of file CreateForms.c.
References controlpanel::Albl_LS, gui::ContrPanel, palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Albl, DB_HorComm_CB(), DB_KB_ButtonActive(), DB_KeyB_CB(), palette::DB_UnSel, palette::DB_UnSelFG, flag::extlamp, flag::extshutter, F_ATT_NONE, False, das::Gui, HELV_SMALL, gui::HorizMeas, horizmeas::lbl, horizmeas::led, flag::manhormeas, MBottomAttach(), MButtonSetOnMouseOverForegroundRGB(), MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreatePixmapFromFile(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MLabelSetAlignment(), MObjectAlign(), MObjectGetText(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MObjectSetUnsensitive(), MPButtonSetCallback(), MShellRealize(), horizmeas::pbutt, RIGHT_ALIGN, SF_NO_CLOSE, SF_NO_MAXIMIZE, SF_NO_RESIZE, horizmeas::shell, TOP_ALIGN, True, UNDEF_ALIGN, WS_NONE, and WS_SHADOW_IN.
Referenced by DB_KeyB_CB().
void MDCreateMoveAzim | ( | void | ) |
Definition at line 3340 of file CreateForms.c.
References ActMvAzimCB(), DB_dirCB(), FIXED_MEDIUM, FIXED_SMALL, GratFlg, GrDIR, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MRButtonActivate(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
void MDCreateMoveAzimDeg | ( | void | ) |
Definition at line 3673 of file CreateForms.c.
References ActMvAzimDegCB(), FIXED_MEDIUM, FIXED_SMALL, GratFlg, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), AzimuthSt::realazpos, shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
int MDCreateMoveGrat | ( | void | ) |
Free Grating positioning. Procedure that build the shell for Free Grating positioning.
Definition at line 2859 of file CreateForms.c.
References ActMvGratCB(), gui::ContrPanel, palette::DB_BG, palette::DB_BG_lblUP, palette::DB_BG_Plbl, DB_dirCB(), palette::DB_FG_lblUP, palette::DB_FG_Plbl, DB_GratPosMode_CB(), DB_RecGio_CB(), DB_StepGratEnc_CB(), False, FIXED_MEDIUM, FIXED_SMALL, das::Flag, GratFlg, flag::gratposmode, GrDIR, das::Gui, HELV_MEDIUM, HELV_SMALL, lbl, controlpanel::lbl_mvgratmode, LEFT_ALIGN, MCreateColForm(), MCreateEdit(), MCreateLabel(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetTransparency(), MPButtonSetCallback(), MRButtonActivate(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), controlpanel::rbStepGratEnc, shells::Sh_mg, gui::Shells, TIMES_SMALL, TOP_ALIGN, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
Referenced by DB_KeyB_CB().
void MDCreateMoveZen | ( | void | ) |
Definition at line 3261 of file CreateForms.c.
References ActMvZenCB(), DB_dirCB(), FIXED_MEDIUM, FIXED_SMALL, GratFlg, GrDIR, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MRButtonActivate(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
void MDCreateMoveZenAzimDeg | ( | void | ) |
Definition at line 3573 of file CreateForms.c.
References palette::DB_UnSel, palette::DB_UnSelFG, mige::edtaz, mige::edtzen, FIXED_MEDIUM, FIXED_SMALL, GratFlg, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), das::MIGE, MIGEZenAzPos_CB(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), AzimuthSt::realazpos, ZenithSt::realzenpos, shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
Referenced by DB_KeyB_CB().
void MDCreateMoveZenDeg | ( | void | ) |
Definition at line 3192 of file CreateForms.c.
References ActMvZenDegCB(), FIXED_MEDIUM, FIXED_SMALL, GratFlg, das::Gui, lbl, MCreateEdit(), MCreateLabel(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditSetActCallback(), MLoopWhileFlag(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), shells::Sh_mg, gui::Shells, TIMES_SMALL, True, WS_ETCHED_OUT, and WS_SHADOW_IN.
int MDCreateSh_Fil | ( | void | ) |
Create the shell for the available Filters. Procedure that build the shell for the positioning of the filter wheel. They are installed during the instrument setup.
Definition at line 5994 of file CreateForms.c.
References DB_Close_Sh(), DB_Fil_CB(), DB_FilSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, pushbutt::Fil, Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, FilBuff, FilFlg, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, HELV_SMALL, LIS_, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), das::Paramini, FilterWheelSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_Fil, gui::Shells, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_Home | ( | void | ) |
Definition at line 6662 of file CreateForms.c.
References DB_Home_CB(), palette::DB_UnSel, palette::DB_UnSelFG, das::Gui, HELV_SMALL, pushbutt::HomePos, HomePosition, MCreatePButton(), MCreateShell(), MCreateTableForm(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellRealizeXY(), gui::PushButt, SF_NO_MAXIMIZE, shells::Sh_Home, gui::Shells, True, wl, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
MDCreateSh_Mir | ( | void | ) |
Create the shell for the available Mirror Positions. Procedure that build the shell for the positioning of the Input Mirror.
They are: 1) Zenith 2) Horizontal Right 3) Calibra (Down for the calibration sphere) 4) Horizontal Left.
Definition at line 5614 of file CreateForms.c.
References DB_Close_Sh(), DB_Mir_CB(), DB_MirSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, GASCODNG4, das::Gui, HELV_SMALL, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), pushbutt::Mir, Mir_Code, Mir_CodeTropo, MirBuff, MirFlg, MIS, MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), das::Paramini, MirrorSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_Mir, gui::Shells, SPATRAM3, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_NDFil | ( | void | ) |
Definition at line 6233 of file CreateForms.c.
References DB_Close_Sh(), DB_Fil_CB(), DB_FilSelButtKB_CB(), DB_NDFil_CB(), DB_NDFilSelButtKB_CB(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, paramini::EqType, pushbutt::Fil, Fil_Code8H, Fil_CodeNG, Fil_CodeTropo, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, HELV_SMALL, LIS_, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), pushbutt::NDFil, NDFil_Code, NDFilBuff, NDFilFlg, NDFWS, das::Paramini, FilterWheelSt::Pos, NDFilterWheelSt::Pos, gui::PushButt, SF_MODAL, shells::Sh_NDFil, gui::Shells, TROPOGAS, True, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
int MDCreateSh_SimPos | ( | void | ) |
Definition at line 4411 of file CreateForms.c.
References optionini::aaopmode, CENTER_ALIGN, CloseShCB(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_Plbl, palette::DB_UnSel, palette::DB_UnSelFG, das::DOption, paramini::EqType, ExecSimPosCB(), Fil_Code, Fil_Code8H, Fil_CodeNG, Fil_CodeNG1, Fil_CodeTropo, FIXED_SMALL, FWS, GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, das::Gui, LIST_ACT::item, lbl, LEFT_ALIGN, mige::linked, LIS_, ListTargetCB(), MButtonSetOnMouseOverForegroundRGB(), MCreateLabel(), MCreateOptionEdit(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MEditDisableEditing(), das::MIGE, pushbutt::Mir, Mir_Code, Mir_CodeTropo, MIS, MLabelSetAlignment(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetText(), MObjectSetTransparency(), MObjectSetUnsensitive(), MObjectSetWidth(), MOptionEditGetList(), MOptionEditSetListCallback(), MPButtonSetCallback(), MShellRealize(), MShellSetWMCloseCallback(), MSListAddItem(), MSListGetSelected(), MSListSelectElement(), das::Paramini, FilterWheelSt::Pos, MirrorSt::Pos, ZenithSt::Pos, AzimuthSt::Pos, gui::PushButt, RIGHT_ALIGN, SF_MODAL, shells::Sh_SimPos, gui::Shells, SimPosShClose_CB(), flag::SimShell, SPATRAM2, SPATRAM3, SPATRAMPLUS, FilterWheelSt::target, GratingSt::target, MirrorSt::target, ZenithSt::target, AzimuthSt::target, tb1, TIMES_SMALL, TOP_ALIGN, TROPOGAS, True, wl, pushbutt::Wl, and GratingSt::Wl.
Referenced by DB_KeyB_CB().
int MDCreateSh_Wl | ( | void | ) |
Create the shell for the available Wavelength. Procedure that build the shell for the availables wavelength. They are fixed and setted during the testing phase.
Definition at line 5815 of file CreateForms.c.
References DB_Close_Sh(), DB_PushButtonMouse_CB(), DB_SheelESC(), palette::DB_UnSel, palette::DB_UnSelFG, DB_Wl_CB(), DB_WlSelButtKB_CB(), EM_BUTTON_PRESS, EM_KEY_PRESS, EM_MOTION, das::Gui, HELV_SMALL, MButtonSetOnMouseOverForegroundRGB(), MCreatePButton(), MCreateShell(), MCreateTableForm(), MLoopWhileFlag(), MObjectAddEventNotifyCallback(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MPButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellSetWMCloseCallback(), MShellUnrealize(), gui::PushButt, SF_MODAL, shells::Sh_Wl, gui::Shells, True, wl, pushbutt::Wl, GratingSt::Wl, WlBuff, WlFlg, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
float MIGEAz | ( | float | p | ) |
Definition at line 3475 of file CreateForms.c.
References paramini::EqType, GASCODNG2, das::MIGE, p, das::Paramini, S_azim, TROPOGAS, and mige::type.
Referenced by ActMvAzimDegCB(), MIGEActualZenAz(), SD_Azimuth(), SD_PosAADev(), and SD_Position().
float MIGEZen | ( | float | p | ) |
Definition at line 3419 of file CreateForms.c.
References paramini::EqType, GASCODNG2, das::MIGE, p, das::Paramini, AzimuthSt::realazpos, TROPOGAS, and mige::type.
Referenced by MIGEActualZenAz(), SD_PosAADev(), SD_Position(), and SD_Zenith().
void MIGEZenAzPos_CB | ( | MOBJECT | o, |
void * | a, | ||
void * | v | ||
) |
Definition at line 3554 of file CreateForms.c.
References mige::edtaz, mige::edtzen, GratFlg, das::MIGE, MObjectGetText(), and SD_Position().
Referenced by MDCreateMoveZenAzimDeg().
void PopUpAdvCal_CB | ( | MOBJECT | obj, |
void * | item, | ||
void * | data | ||
) |
Definition at line 1110 of file CreateForms.c.
References MMessageDialog().
Referenced by MDCreate_CP().
Definition at line 1126 of file CreateForms.c.
References MMouseEvent::button, MEvent::mouse, MPopupMenu(), MMouseEvent::x_root, and MMouseEvent::y_root.
Referenced by MDCreate_CP().
void ShutCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 6740 of file CreateForms.c.
References AMS2, AMS_PWM(), config::CamAdd, CCD_Error(), CELSIUS, CloseShCB(), DXL_par::com, DB_WriteMode(), DC_Close(), DC_Cooler(), DC_ErrorMessage(), DC_SetTemp(), DC_Status(), delay(), bil::DFILEM, dscb, dscFree(), dscFreeBoard(), paramini::EqType, FANFlg, FANPeltier(), GASCODNG1, GASCODNG2, GASCODNG3, GASCODNG4, HGFlg, HgLamp(), HiresPS(), d_fileman::HOMEDIRECTORY, LISTEMP_TASK_TIME, MGUITerm(), das::Nova, NOVA7892, NOVA945GSE, NOVA_Out(), das::Paramini, PeltFlg, Peltier(), PeltierPS(), QJFlg, QjLamp(), sdsh, ShutterOpening(), SioDone(), SPATRAM2, SPATRAM3, SPATRAMPLUS, Status(), TROPOGAS, nova::type, and WDT_func().
Referenced by ShutDOWN().
void ShutDOWN | ( | void | ) |
Creates shell for Shutting down the instrument
.
Definition at line 6903 of file CreateForms.c.
References CloseShCB(), palette::DB_BG, palette::DB_BG_Plbl, palette::DB_FG_Plbl, palette::DB_UnSel, palette::DB_UnSelFG, DBDEMO, ESC, flag::exemode, F1, F2, F3, F4, das::Flag, HELV_MEDIUM, HELV_SMALL, lbl, MButtonSetAccelerator(), MButtonSetOnMouseOverForegroundRGB(), MCreateLabel(), MCreatePButton(), MCreateRowForm(), MCreateShell(), MCreateTableForm(), MObjectSetBackgroundRGB(), MObjectSetCompositeWidth(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MObjectSetUnsensitive(), MPButtonSetCallback(), MShellRealize(), MShellRealizeXY(), MShellSetWMCloseCallback(), OFFLINEPLOT, sdsh, SF_MODAL, ShutCB(), True, WS_NONE, and WS_SHADOW_OUT.
Referenced by DB_KeyB_CB().
void SimPosShClose_CB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 4351 of file CreateForms.c.
References MShellDestroy(), MShellUnrealize(), and flag::SimShell.
Referenced by MDCreateSh_SimPos().
void StepperPagForm | ( | int | p, |
int | q | ||
) |
Definition at line 259 of file CreateForms.c.
References gui::ContrPanel, palette::DB_BG, palette::DB_BG_Albl, palette::DB_BG_Plbl, palette::DB_FG_Albl, palette::DB_FG_Plbl, F_ATT_NONE, False, FIXED_SMALL, controlpanel::frm_tbSM, das::Gui, HELV_SMALL, lbl, LEFT_ALIGN, MBottomAttach(), MCreateLabel(), MCreateTableForm(), MLabelSetAlignment(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetBGColorFromParent(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetShadow(), MObjectSetText(), MObjectSetTransparency(), MPagedFormSetActivePage(), p, controlpanel::Pagedfrm_SM, controlpanel::power, RIGHT_ALIGN, controlpanel::slope, controlpanel::speed, controlpanel::step, TOP_ALIGN, True, UNDEF_ALIGN, WS_SHADOW_IN, and WS_SHADOW_OUT.
Referenced by MDCreate_CP().
MTFont alfont |
Definition at line 95 of file CreateForms.c.
char* AskBuff |
Definition at line 5369 of file CreateForms.c.
Referenced by DB_Ask(), DB_Ask_SheelESC(), and DB_AskCB().
|
static |
Definition at line 5370 of file CreateForms.c.
Referenced by DB_Ask(), DB_Ask_SheelESC(), DB_AskCB(), and DB_CloseAsk().
AzimuthSt AST |
Definition at line 100 of file CreateForms.c.
bil BIL |
Definition at line 83 of file CreateForms.c.
config Cfg |
Definition at line 77 of file CreateForms.c.
int Com |
MOBJECT CP_Sh |
Definition at line 85 of file CreateForms.c.
Referenced by DB_ColorAssign(), and MDCreate_CP().
das DAS |
Definition at line 98 of file CreateForms.c.
ccd DC_CCD |
Definition at line 75 of file CreateForms.c.
ptf DC_HP |
Definition at line 76 of file CreateForms.c.
int DefPWD_OK = 0 |
Definition at line 2597 of file CreateForms.c.
d_geo DGEO |
Definition at line 92 of file CreateForms.c.
dil DIL |
Definition at line 87 of file CreateForms.c.
palette DPAL |
Definition at line 88 of file CreateForms.c.
dpwd DPWD |
Definition at line 79 of file CreateForms.c.
Referenced by ActPWDSysCB(), CloseConfigCB(), and MDCreateSh_PWD().
DSCB dscb |
Definition at line 67 of file DAS_Spat.c.
Referenced by D_readtemp_int(), and ShutCB().
DXL_par DXL |
Definition at line 78 of file CreateForms.c.
const char* FilBuff |
Definition at line 51 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_Fil_CB(), DB_NDFil_CB(), DB_SheelESC(), and MDCreateSh_Fil().
|
static |
Definition at line 50 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_Fil_CB(), DB_SheelESC(), and MDCreateSh_Fil().
int FilSet = 0 |
filter wheel position definition - for SD_FilterW
Definition at line 5992 of file CreateForms.c.
Referenced by DB_Fil_CB(), and DB_KeyB_CB().
flag FLAG |
Definition at line 84 of file CreateForms.c.
Referenced by Calculate(), D_pbr_CB(), D_readtemp(), DB_AreaInput(), DB_XUnitsCB(), DrawAreaPlotCB(), InitCCD_AMS(), InitDefaultOptions(), InitFlags(), LaunchBackTask(), LoadDB_Options(), PBYScale_CB(), SaveSpectrum(), SZA_FirstCalc(), Task_AMSH(), Task_CCD_Temp(), Task_LIS_Temp(), Task_REFRESH_Temp(), and ViewPlot().
MTFont font |
Definition at line 3066 of file DAS_Spatram.h.
Referenced by CloseFontViewCB(), DB_TestF(), and DrawAreaExpFontCB().
|
static |
Definition at line 60 of file CreateForms.c.
Referenced by ActMvAzimCB(), ActMvAzimDegCB(), ActMvGratCB(), ActMvZenCB(), ActMvZenDegCB(), MDCreateMoveAzim(), MDCreateMoveAzimDeg(), MDCreateMoveGrat(), MDCreateMoveZen(), MDCreateMoveZenAzimDeg(), MDCreateMoveZenDeg(), and MIGEZenAzPos_CB().
int GrDIR |
Definition at line 64 of file CreateForms.c.
Referenced by ActMvAzimCB(), ActMvGratCB(), ActMvZenCB(), DB_dirCB(), MDCreateMoveAzim(), MDCreateMoveGrat(), and MDCreateMoveZen().
GratingSt GRS |
Definition at line 82 of file CreateForms.c.
Referenced by HeaderInPlot(), and HomeGratingFast().
char* HomeBuff |
Definition at line 57 of file CreateForms.c.
|
static |
Definition at line 56 of file CreateForms.c.
MENU_ITEM item_advc |
Definition at line 1139 of file CreateForms.c.
Referenced by MDCreate_CP().
const char* MirBuff |
Definition at line 48 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_Mir_CB(), DB_SheelESC(), and MDCreateSh_Mir().
|
static |
Definition at line 47 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_Mir_CB(), DB_SheelESC(), and MDCreateSh_Mir().
int MirSet = 0 |
mirror position definition - for SD_Mirror
Definition at line 5612 of file CreateForms.c.
Referenced by DB_KeyB_CB(), and DB_Mir_CB().
const char* NDFilBuff |
Definition at line 54 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_NDFil_CB(), DB_SheelESC(), and MDCreateSh_NDFil().
|
static |
Definition at line 53 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_NDFil_CB(), DB_SheelESC(), and MDCreateSh_NDFil().
int NDFilSet = 0 |
ND filter wheel position definition - for SD_NDFilterW.
Definition at line 6231 of file CreateForms.c.
Referenced by DB_KeyB_CB(), and DB_NDFil_CB().
MTFont newfont |
Definition at line 95 of file CreateForms.c.
Referenced by D_Lens(), and DB_TestF().
char NFileNameF[_MAX_PATH] |
Definition at line 71 of file CreateForms.c.
Referenced by D_PButt_CB(), DB_HorComm_CB(), DB_KeyB_CB(), and PopUp_CB().
int NumRip |
Definition at line 28 of file PWD.C.
Referenced by ActPWDSysCB().
paramini PARAM |
Definition at line 90 of file CreateForms.c.
MTFont plfont |
Definition at line 95 of file CreateForms.c.
MOBJECT popup_advcalib |
Definition at line 1138 of file CreateForms.c.
Referenced by MDCreate_CP().
char PrgFile[16] |
Name of the PRG file.
Definition at line 91 of file DAS_Spat.c.
Referenced by ChkExeMode(), DB_ToolsKeyB_CB(), InitFlags(), ManualModeCB(), SZA_FirstCalc(), Task_LIS_Temp(), and ViewPlot().
MOBJECT sdsh |
Definition at line 6734 of file CreateForms.c.
Referenced by ShutCB(), and ShutDOWN().
MOBJECT shell_1 |
Definition at line 4317 of file CreateForms.c.
long STEPS |
Definition at line 63 of file CreateForms.c.
tools TOOLS |
Definition at line 81 of file CreateForms.c.
Referenced by D_pbr_CB(), D_PlotTools(), DB_Column(), DB_DisplayCB(), DB_FilterCB(), DB_FilterColumnCB(), DB_SpikesCB(), DrawAreaPlotCB(), and MDCreateColFor_Sh().
char* WlBuff |
Definition at line 45 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_SheelESC(), and MDCreateSh_Wl().
|
static |
Definition at line 44 of file CreateForms.c.
Referenced by DB_Close_Sh(), DB_Esc_CB(), DB_SheelESC(), DB_Wl_CB(), and MDCreateSh_Wl().
|
static |
Definition at line 2655 of file CreateForms.c.
Referenced by D_XProfile().
|
static |
Definition at line 2637 of file CreateForms.c.
Referenced by D_YProfile().
ZenithSt ZST |
Definition at line 99 of file CreateForms.c.