1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2007-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"
25 * \ingroup TortoiseProc
26 * Settings page to configure TortoiseBlame
28 class CSettingsTBlame
: public ISettingsPropPage
30 // DECLARE_DYNAMIC(CSettingsTBlame)
34 virtual ~CSettingsTBlame();
36 UINT
GetIconID() {return IDI_TORTOISEBLAME
;}
39 enum { IDD
= IDD_SETTINGSTBLAME
};
42 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
43 virtual BOOL
OnInitDialog();
44 virtual BOOL
OnApply();
45 afx_msg
void OnBnClickedColor();
46 afx_msg
void OnChange();
47 afx_msg
void OnBnClickedRestore();
52 CMFCColorButton m_cNewLinesColor
;
53 CMFCColorButton m_cOldLinesColor
;
54 CRegDWORD m_regNewLinesColor
;
55 CRegDWORD m_regOldLinesColor
;
57 CMFCFontComboBox m_cFontNames
;
58 CComboBox m_cFontSizes
;
59 CRegDWORD m_regFontSize
;
61 CRegString m_regFontName
;
64 CRegDWORD m_regTabSize
;
65 BOOL m_bFollowRenames
;
66 CRegDWORD m_regFollowRenames
;