1 // TortoiseMerge - a Diff/Patch program
\r
3 // Copyright (C) 2006-2008 - TortoiseSVN
\r
5 // This program is free software; you can redistribute it and/or
\r
6 // modify it under the terms of the GNU General Public License
\r
7 // as published by the Free Software Foundation; either version 2
\r
8 // of the License, or (at your option) any later version.
\r
10 // This program is distributed in the hope that it will be useful,
\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 // GNU General Public License for more details.
\r
15 // You should have received a copy of the GNU General Public License
\r
16 // along with this program; if not, write to the Free Software Foundation,
\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\r
21 #include "registry.h"
\r
25 * \ingroup TortoiseMerge
\r
26 * Color settings page
\r
28 class CSetColorPage : public CPropertyPage
\r
30 DECLARE_DYNAMIC(CSetColorPage)
\r
34 virtual ~CSetColorPage();
\r
36 * Saves the changed settings to the registry.
\r
37 * \remark If the dialog is closed/dismissed without calling
\r
38 * this method first then all settings the user made must be
\r
43 BOOL m_bReloadNeeded;
\r
45 enum { IDD = IDD_SETCOLORPAGE };
\r
48 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
49 virtual BOOL OnInitDialog();
\r
50 virtual BOOL OnApply();
\r
52 afx_msg void OnBnClickedColor();
\r
54 DECLARE_MESSAGE_MAP()
\r
58 CRegDWORD m_regInlineAdded;
\r
59 CRegDWORD m_regInlineRemoved;
\r
60 CRegDWORD m_regModifiedBackground;
\r
61 CMFCColorButton m_cBkNormal;
\r
62 CMFCColorButton m_cBkRemoved;
\r
63 CMFCColorButton m_cBkAdded;
\r
64 CMFCColorButton m_cBkInlineAdded;
\r
65 CMFCColorButton m_cBkInlineRemoved;
\r
66 CMFCColorButton m_cBkEmpty;
\r
67 CMFCColorButton m_cBkConflict;
\r
68 CMFCColorButton m_cBkConflictResolved;
\r
69 CMFCColorButton m_cBkModified;
\r
70 CMFCColorButton m_cFgWhitespaces;
\r