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