home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / dflat.zip / CONFIG.H < prev    next >
Text File  |  1991-03-14  |  2KB  |  55 lines

  1. /* ---------------- config.h -------------- */
  2.  
  3. #ifndef CONFIG_H
  4. #define CONFIG_H
  5.  
  6. #define DFLAT_APPLICATION "memopad"
  7.  
  8. struct colors {
  9.     /* ------------ colors ------------ */
  10.     char ApplicationFG,  ApplicationBG;
  11.     char NormalFG,       NormalBG;
  12.     char ButtonFG,       ButtonBG;
  13.     char ButtonSelFG,    ButtonSelBG;
  14.     char DialogFG,       DialogBG;
  15.     char ErrorBoxFG,     ErrorBoxBG;
  16.     char MessageBoxFG,   MessageBoxBG;
  17.     char HelpBoxFG,      HelpBoxBG;
  18.     char InFocusTitleFG, InFocusTitleBG;
  19.     char TitleFG,        TitleBG;
  20.     char DummyFG,        DummyBG;
  21.     char TextBoxFG,      TextBoxBG;
  22.     char TextBoxSelFG,   TextBoxSelBG;
  23.     char TextBoxFrameFG, TextBoxFrameBG;
  24.     char ListBoxFG,      ListBoxBG;
  25.     char ListBoxSelFG,   ListBoxSelBG;
  26.     char ListBoxFrameFG, ListBoxFrameBG;
  27.     char EditBoxFG,      EditBoxBG;
  28.     char EditBoxSelFG,   EditBoxSelBG;
  29.     char EditBoxFrameFG, EditBoxFrameBG;
  30.     char MenuBarFG,      MenuBarBG;
  31.     char MenuBarSelFG,   MenuBarSelBG;
  32.     char PopDownFG,      PopDownBG;
  33.     char PopDownSelFG,   PopDownSelBG;
  34.     char InactiveSelFG;
  35.     char ShortCutFG;
  36. };
  37.  
  38. /* ----------- configuration parameters ----------- */
  39. typedef struct config {
  40.     char mono;         /* True for B/W screens on any monitor */
  41.     int InsertMode;    /* Editor insert mode                  */
  42.     int Tabs;          /* Editor tab stops                    */
  43.     int WordWrap;      /* True to word wrap editor            */
  44.     struct colors clr; /* Colors                              */
  45. } CONFIG;
  46.  
  47. extern CONFIG cfg;
  48. extern struct colors color, bw;
  49.  
  50. void LoadConfig(void);
  51. void SaveConfig(void);
  52.  
  53. #endif
  54.  
  55.