1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-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.
20 #include "SettingsPropPage.h"
24 * \ingroup TortoiseProc
25 * Settings property page to set custom colors used in TortoiseSVN
27 class CSettingsColors
: public ISettingsPropPage
29 DECLARE_DYNAMIC(CSettingsColors
)
33 virtual ~CSettingsColors();
35 UINT
GetIconID() {return IDI_LOOKANDFEEL
;}
37 enum { IDD
= IDD_SETTINGSCOLORS_1
};
40 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
41 virtual BOOL
OnInitDialog();
42 afx_msg
void OnBnClickedColor();
43 afx_msg
void OnBnClickedRestore();
44 virtual BOOL
OnApply();
49 CMFCColorButton m_cConflict
;
50 CMFCColorButton m_cAdded
;
51 CMFCColorButton m_cDeleted
;
52 CMFCColorButton m_cMerged
;
53 CMFCColorButton m_cModified
;
54 CMFCColorButton m_cAddedNode
;
55 CMFCColorButton m_cDeletedNode
;
56 CMFCColorButton m_cRenamedNode
;
57 CMFCColorButton m_cReplacedNode
;