1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
4 // Copyright (C) 2009, 2011-2013 - 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.
21 #include "SettingsPropPage.h"
25 * \ingroup TortoiseProc
26 * Settings property page to set custom colors used in TortoiseSVN
28 class CSettingsColors
: public ISettingsPropPage
30 DECLARE_DYNAMIC(CSettingsColors
)
34 virtual ~CSettingsColors();
36 UINT
GetIconID() {return IDI_LOOKANDFEEL
;}
38 enum { IDD
= IDD_SETTINGSCOLORS_1
};
41 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
42 virtual BOOL
OnInitDialog();
43 afx_msg
void OnBnClickedColor();
44 afx_msg
void OnBnClickedRestore();
45 virtual BOOL
OnApply();
50 CMFCColorButton m_cConflict
;
51 CMFCColorButton m_cAdded
;
52 CMFCColorButton m_cDeleted
;
53 CMFCColorButton m_cMerged
;
54 CMFCColorButton m_cModified
;
55 CMFCColorButton m_cNoteNode
;
56 CMFCColorButton m_cRenamed
;
58 CButton m_RevGraphUseLocalForCur
;
59 CRegDWORD m_regRevGraphUseLocalForCur
;