1
// TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2008 - TortoiseSVN
4 // Copyright (C) 2009, 2011-2013, 2017, 2020, 2023 - 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() override
{ return IDI_LOOKANDFEEL
; }
38 enum { IDD
= IDD_SETTINGSCOLORS_1
};
41 void DoDataExchange(CDataExchange
* pDX
) override
; // DDX/DDV support
42 BOOL
OnInitDialog() override
;
43 afx_msg
void OnBnClickedColor();
44 afx_msg
void OnBnClickedTheme();
45 afx_msg
void OnBnClickedRestore();
46 BOOL
OnApply() override
;
51 CMFCColorButton m_cConflict
;
52 CMFCColorButton m_cAdded
;
53 CMFCColorButton m_cDeleted
;
54 CMFCColorButton m_cMerged
;
55 CMFCColorButton m_cModified
;
56 CMFCColorButton m_cNoteNode
;
57 CMFCColorButton m_cOtherRefs
;
58 CMFCColorButton m_cRenamed
;
60 CButton m_RevGraphUseLocalForCur
;
61 CRegDWORD m_regRevGraphUseLocalForCur
;
62 CRegDWORD m_regUseDarkMode
;
63 CButton m_chkUseDarkMode
;