1 // TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2006-2008, 2013-2014, 2017 - TortoiseSVN
4 // Copyright (C) 2016 - TortoiseGit
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 * \ingroup TortoiseMerge
29 class CSetColorPage
: public CPropertyPage
31 DECLARE_DYNAMIC(CSetColorPage
)
35 virtual ~CSetColorPage();
37 * Saves the changed settings to the registry.
38 * \remark If the dialog is closed/dismissed without calling
39 * this method first then all settings the user made must be
46 enum { IDD
= IDD_SETCOLORPAGE
};
49 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
50 virtual BOOL
OnInitDialog();
51 virtual BOOL
OnApply();
53 afx_msg
void OnBnClickedColor();
54 afx_msg
void OnBnClickedRestore();
60 CRegDWORD m_regInlineAdded
;
61 CRegDWORD m_regInlineRemoved
;
62 CRegDWORD m_regModifiedBackground
;
63 CMFCColorButton m_cBkNormal
;
64 CMFCColorButton m_cBkRemoved
;
65 CMFCColorButton m_cBkAdded
;
66 CMFCColorButton m_cBkInlineAdded
;
67 CMFCColorButton m_cBkInlineRemoved
;
68 CMFCColorButton m_cBkEmpty
;
69 CMFCColorButton m_cBkConflict
;
70 CMFCColorButton m_cBkConflictResolved
;
71 CMFCColorButton m_cBkModified
;
72 CMFCColorButton m_cFgNormal
;
73 CMFCColorButton m_cFgRemoved
;
74 CMFCColorButton m_cFgAdded
;
75 CMFCColorButton m_cFgEmpty
;
76 CMFCColorButton m_cFgConflict
;
77 CMFCColorButton m_cFgConflictResolved
;
78 CMFCColorButton m_cFgWhitespaces
;
79 CMFCColorButton m_cBkFiltered
;