Cleanup: Drop unnecessary method definitions
[TortoiseGit.git] / src / TortoiseProc / Settings / SettingsColors3.h
blob282655c0dc3e19b9829d345ff7ab82e283fecfff
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.
19 #pragma once
20 #include "SettingsPropPage.h"
21 #include "Colors.h"
23 /**
24 * \ingroup TortoiseProc
25 * Settings property page to set custom colors used in TortoiseSVN
27 class CSettingsColors3 : public ISettingsPropPage
29 DECLARE_DYNAMIC(CSettingsColors3)
31 public:
32 CSettingsColors3();
33 virtual ~CSettingsColors3();
35 UINT GetIconID() {return IDI_LOOKANDFEEL;}
37 enum { IDD = IDD_SETTINGSCOLORS_3 };
39 protected:
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();
46 DECLARE_MESSAGE_MAP()
48 private:
49 CMFCColorButton m_cLine[8];
50 CColors m_Colors;