1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2011-2012 - TortoiseGit
4 // Copyright (C) 2003-2008,2011 - TortoiseSVN
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.
22 #include "SettingsPropPage.h"
27 * \ingroup TortoiseProc
28 * Settings page look and feel.
30 class CSetLookAndFeelPage
: public ISettingsPropPage
32 DECLARE_DYNAMIC(CSetLookAndFeelPage
)
35 CSetLookAndFeelPage();
36 virtual ~CSetLookAndFeelPage();
38 UINT
GetIconID() {return IDI_MISC
;}
41 enum { IDD
= IDD_SETTINGSLOOKANDFEEL
};
44 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
45 virtual BOOL
PreTranslateMessage(MSG
* pMsg
);
46 virtual BOOL
OnApply();
47 afx_msg
void OnBnClickedSelectall();
48 afx_msg
void OnBnClickedRestoreDefaults();
49 afx_msg
void OnLvnItemchangedMenulist(NMHDR
*pNMHDR
, LRESULT
*pResult
);
50 afx_msg
void OnChange();
51 afx_msg
void OnEnChangeNocontextpaths();
55 virtual BOOL
OnInitDialog();
59 CRegStdDWORD m_regTopmenu
;
60 CRegStdDWORD m_regTopmenuhigh
;
63 CListCtrl m_cMenuList
;
65 unsigned __int64 m_topmenu
;
67 CRegDWORD m_regHideMenus
;
70 CString m_sNoContextPaths
;
71 CRegString m_regNoContextPaths
;