DAS
3.1.6 - 18/09/2017
|
Danbo File Manager (DFM). DFM is used in old versions of the software. Now (after ver. 2.6.4) the MGUIFileManager is adopted. More...
#include <windows.h>
#include <conio.h>
#include <direct.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <fcntl.h>
#include <io.h>
#include <sys/stat.h>
#include "mgui.h"
#include "bil.h"
#include "dcldef.h"
#include "DAS_Spatram.h"
Go to the source code of this file.
Functions | |
void | ChDriveCB (MOBJECT rb, MVALUE s, void *ad) |
void | D_FInpFDCB (MOBJECT edit, char *buff, void *a) |
void | D_FMDoneCB (MOBJECT shell, void *od, void *ad) |
void | DFileType (int i) |
void | DFMCloseCB (void) |
void | DFMSelListCB (MOBJECT p, LIST_ACT *la, void *v) |
MOBJECT | MDCreateFM_Shell (int mod, int fmt) |
void | ShowFileDrive (char *idir, char *ext) |
void | txtfileEditCB (MOBJECT edit, char *text, char *ed) |
int | WhoSys (void) |
Variables | |
bil | BIL |
char * | DDRIVE |
char | DFMT [8] |
char * | DFNAME |
MOBJECT | DRV [26] |
MOBJECT | FList |
int | FMDONE |
MTFont | fmfont = HELV_SMALL |
int | FMINIT |
MOBJECT | lbl |
char * | OLDPATH |
MOBJECT | Row1 |
MOBJECT | Row2 |
int | SELDRV |
MOBJECT | tb1 |
MOBJECT | txtfile |
MOBJECT | txtpath |
Danbo File Manager (DFM). DFM is used in old versions of the software. Now (after ver. 2.6.4) the MGUIFileManager is adopted.
Definition in file DFileMan.c.
Definition at line 126 of file DFileMan.c.
References DDRIVE, DFMT, MObjectGetText(), MObjectSetText(), SELDRV, ShowFileDrive(), txtfile, and txtpath.
Referenced by MDCreateFM_Shell().
void D_FInpFDCB | ( | MOBJECT | edit, |
char * | buff, | ||
void * | a | ||
) |
Definition at line 382 of file DFileMan.c.
References DFMT, DFNAME, MObjectSetText(), ShowFileDrive(), and txtfile.
Referenced by MDCreateFM_Shell().
void D_FMDoneCB | ( | MOBJECT | shell, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 274 of file DFileMan.c.
References d_fileman::DBFILENAME, bil::DFILEM, DFMCloseCB(), MObjectGetText(), txtfile, txtpath, and d_fileman::WORKDIRECTORY.
Referenced by MDCreateFM_Shell().
void DFileType | ( | int | i | ) |
void DFMCloseCB | ( | void | ) |
Definition at line 267 of file DFileMan.c.
References FMDONE, and FMINIT.
Referenced by D_FMDoneCB().
Definition at line 175 of file DFileMan.c.
References DDRIVE, DFMT, DFNAME, LIST_ACT::item, MObjectGetText(), MObjectSetText(), ShowFileDrive(), txtfile, and txtpath.
Referenced by MDCreateFM_Shell().
MOBJECT MDCreateFM_Shell | ( | int | mod, |
int | fmt | ||
) |
Definition at line 407 of file DFileMan.c.
References _MAX_PATH, CENTER_ALIGN, ChDriveCB(), D_FInpFDCB(), D_FMDoneCB(), palette::DB_BG, palette::DB_BG_Albl, palette::DB_FG_Plbl, palette::DB_UnSel, bil::DFILEM, DFileType(), DFMSelListCB(), DFMT, DPAL, DRV, False, FList, FMDONE, fmfont, FMINIT, lbl, LEFT_ALIGN, MCreateClippedEdit(), MCreateColForm(), MCreateLabel(), MCreatePButton(), MCreateRButton(), MCreateRowForm(), MCreateShell(), MCreateSList(), MCreateTableForm(), MEditSetActCallback(), MFormSetSpacing(), MLabelSetAlignment(), MLoopWhileFlag(), MObjectAlign(), MObjectSetBackgroundRGB(), MObjectSetForegroundRGB(), MObjectSetResize(), MObjectSetText(), MObjectSetUnsensitive(), MPButtonSetCallback(), MRButtonActivate(), MRButtonSetCallback(), MShellDestroy(), MShellRealizeXY(), MShellUnrealize(), MSListSetSelectionCallback(), MSListSetSortCallback(), MTableFormSetColAlign(), MTableFormSetRowAlign(), Row1, Row2, SELDRV, SF_MODAL, ShowFileDrive(), tb1, TOP_ALIGN, True, txtfile, txtpath, WhoSys(), and d_fileman::WORKDIRECTORY.
Referenced by DT_CorrFileEvora(), DT_CorrHeader(), DT_FluxIndex(), DT_LinkSpectra(), MenuFileOLP_CB(), and SetAsIo().
void ShowFileDrive | ( | char * | idir, |
char * | ext | ||
) |
Definition at line 62 of file DFileMan.c.
References _MAX_PATH, FList, MSListAddItem(), and MSListClear().
Referenced by ChDriveCB(), D_FInpFDCB(), DFMSelListCB(), MDCreateFM_Shell(), and txtfileEditCB().
void txtfileEditCB | ( | MOBJECT | edit, |
char * | text, | ||
char * | ed | ||
) |
Definition at line 346 of file DFileMan.c.
References DFMT, MObjectGetText(), MObjectSetText(), ShowFileDrive(), txtfile, and txtpath.
int WhoSys | ( | void | ) |
Definition at line 306 of file DFileMan.c.
Referenced by DB_InitCamera(), and MDCreateFM_Shell().
bil BIL |
Definition at line 27 of file DFileMan.c.
char* DDRIVE |
Definition at line 29 of file DFileMan.c.
Referenced by ChDriveCB(), and DFMSelListCB().
char DFMT[8] |
Definition at line 30 of file DFileMan.c.
Referenced by ChDriveCB(), D_FInpFDCB(), DFileType(), DFMSelListCB(), MDCreateFM_Shell(), and txtfileEditCB().
char* DFNAME |
Definition at line 32 of file DFileMan.c.
Referenced by D_FInpFDCB(), and DFMSelListCB().
MOBJECT DRV[26] |
Definition at line 38 of file DFileMan.c.
Referenced by MDCreateFM_Shell().
MOBJECT FList |
Definition at line 40 of file DFileMan.c.
Referenced by MDCreateFM_Shell(), and ShowFileDrive().
int FMDONE |
Definition at line 35 of file DFileMan.c.
Referenced by DFMCloseCB(), and MDCreateFM_Shell().
fmfont = HELV_SMALL |
Definition at line 46 of file DFileMan.c.
Referenced by MDCreateFM_Shell().
int FMINIT |
Definition at line 34 of file DFileMan.c.
Referenced by DFMCloseCB(), and MDCreateFM_Shell().
MOBJECT lbl |
Definition at line 42 of file DFileMan.c.
Referenced by AboutCB(), AMS_Error(), CCD_Error(), ComErrors(), CONFP_AMS(), CONFP_AMS_IOPort(), CONFP_AMS_NOVA(), CONFP_AMS_SM_OFFSET(), CONFP_AMS_TabSingMotor(), CONFP_opt_page1(), CONFP_opt_page2(), CONFP_opt_page3(), CONFP_opt_page4(), CONFP_opt_page5(), CONFP_opt_page6(), CONFP_opt_page7(), CONFP_opt_ScheMeas(), CONFP_param_page1(), CONFP_param_page2(), CONFP_param_page3(), CONFP_param_page4(), CONFP_param_page5(), D_Lens(), D_PlotTools(), DAS_Message(), DB_Ask(), DB_Tools(), DDMessage(), DOAS_Plot(), DOAS_SetupPagedForm(), DSCAD_Error(), FrmBuildTemperature(), FrmNOVA_IO_Test(), FrmStepperHomeMode(), MAPDefPix(), Master_Error(), MDCreate_2DPlot(), MDCreate_CP(), MDCreateColFor_Sh(), MDCreateDASConfig(), MDCreateDiff_Sh(), MDCreateDOAS_SetupSh(), MDCreateFixed_Sh(), MDCreateFM_Shell(), MDCreateFormat_Sh(), MDCreateMoveAzim(), MDCreateMoveAzimDeg(), MDCreateMoveGrat(), MDCreateMoveZen(), MDCreateMoveZenAzimDeg(), MDCreateMoveZenDeg(), MDCreateSh_SimPos(), MDCreatesh_vitesa(), MDCreateSplashExe(), MDCreateWaitShell(), Message(), ShutDOWN(), StepperPagForm(), and ViewPlot().
char* OLDPATH |
Definition at line 31 of file DFileMan.c.
MOBJECT Row1 |
Definition at line 37 of file DFileMan.c.
Referenced by MDCreateFM_Shell().
MOBJECT Row2 |
Definition at line 39 of file DFileMan.c.
Referenced by MDCreateFM_Shell().
int SELDRV |
Definition at line 33 of file DFileMan.c.
Referenced by ChDriveCB(), and MDCreateFM_Shell().
MOBJECT tb1 |
Definition at line 41 of file DFileMan.c.
Referenced by CONFP_AMS(), CONFP_opt_page5(), DOAS_Plot(), MDCreateFM_Shell(), and MDCreateSh_SimPos().
MOBJECT txtfile |
Definition at line 44 of file DFileMan.c.
Referenced by ChDriveCB(), D_FInpFDCB(), D_FMDoneCB(), DFMSelListCB(), MDCreateFM_Shell(), and txtfileEditCB().
MOBJECT txtpath |
Definition at line 43 of file DFileMan.c.
Referenced by ChDriveCB(), D_FMDoneCB(), DFMSelListCB(), MDCreateFM_Shell(), and txtfileEditCB().