Fixing a small bug for hide mouse. Save the current surface under the mouse. But...
[reactos.git] / rosapps / dflat32 / config.h
1 /* ---------------- config.h -------------- */
2
3 #ifndef CONFIG_H
4 #define CONFIG_H
5
6 enum DfColorTypes {
7 DF_STD_COLOR,
8 DF_SELECT_COLOR,
9 DF_FRAME_COLOR,
10 DF_HILITE_COLOR
11 };
12
13 enum DfGrounds { DF_FG, DF_BG };
14
15 /* ----------- configuration parameters ----------- */
16 typedef struct DfConfig {
17 char version[sizeof DF_VERSION];
18 BOOL InsertMode; /* Editor insert mode */
19 int Tabs; /* Editor tab stops */
20 BOOL WordWrap; /* True to word wrap editor */
21 #ifdef INCLUDE_WINDOWOPTIONS
22 BOOL Border; /* True for application window border */
23 BOOL Title; /* True for application window title */
24 BOOL StatusBar; /* True for appl'n window status bar */
25 BOOL Texture; /* True for textured appl window */
26 #endif
27 // int ScreenLines; /* Number of screen lines (25/43/50) */
28 char PrinterPort[5];
29 int LinesPage; /* Lines per printer page */
30 int CharsLine; /* Characters per printer line */
31 int LeftMargin; /* Printer margins */
32 int RightMargin;
33 int TopMargin;
34 int BottomMargin;
35 unsigned char clr[DF_CLASSCOUNT] [4] [2]; /* Colors */
36 } DFCONFIG;
37
38 extern DFCONFIG DfCfg;
39 extern unsigned char DfColor[DF_CLASSCOUNT] [4] [2];
40 extern unsigned char DfBW[DF_CLASSCOUNT] [4] [2];
41 extern unsigned char DfReverse[DF_CLASSCOUNT] [4] [2];
42
43 BOOL DfLoadConfig(void);
44 void DfSaveConfig(void);
45 FILE *DfOpenConfig(char *);
46
47 #endif
48