OSDN Git Service

Fix issue #940: Replace slow (2)
[winmerge-jp/winmerge-jp.git] / Src / OptionsDirColors.h
1 #pragma once
2
3 #include <windows.h>
4
5 /** 
6  * @brief Dir color settings.
7  */
8 struct DIRCOLORSETTINGS
9 {
10         COLORREF        clrDirItemEqual;                        /**< Item equal background color */
11         COLORREF        clrDirItemEqualText;            /**< Item equal text color */
12         COLORREF        clrDirItemDiff;                         /**< Item diff background color */
13         COLORREF        clrDirItemDiffText;                     /**< Item diff text color */
14         COLORREF        clrDirItemNotExistAll;          /**< Item not-exist-all background color */
15         COLORREF        clrDirItemNotExistAllText;      /**< Item not-exist-all text color */
16         COLORREF        clrDirItemFiltered;                     /**< Item filtered background color */
17         COLORREF        clrDirItemFilteredText;         /**< Item filtered text color */
18         COLORREF        clrDirMargin;                   /**< Background color */
19 };
20
21 class COptionsMgr;
22
23 namespace Options { namespace DirColors {
24
25 void Init(COptionsMgr *pOptionsMgr);
26 void Load(const COptionsMgr *pOptionsMgr, DIRCOLORSETTINGS& colors);
27 void Save(COptionsMgr *pOptionsMgr, const DIRCOLORSETTINGS& colors);
28
29 }}