Cleanup: Drop unnecessary method definitions
[TortoiseGit.git] / src / TortoiseProc / Settings / SetLookAndFeelPage.h
blob195a4ba137ec5b3a6814bd7a6a35a253f2e2ec97
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.
20 #pragma once
22 #include "SettingsPropPage.h"
23 #include "Tooltip.h"
24 #include "Registry.h"
26 /**
27 * \ingroup TortoiseProc
28 * Settings page look and feel.
30 class CSetLookAndFeelPage : public ISettingsPropPage
32 DECLARE_DYNAMIC(CSetLookAndFeelPage)
34 public:
35 CSetLookAndFeelPage();
36 virtual ~CSetLookAndFeelPage();
38 UINT GetIconID() {return IDI_MISC;}
40 // Dialog Data
41 enum { IDD = IDD_SETTINGSLOOKANDFEEL };
43 protected:
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();
53 DECLARE_MESSAGE_MAP()
55 virtual BOOL OnInitDialog();
57 private:
58 CToolTips m_tooltips;
59 CRegStdDWORD m_regTopmenu;
60 CRegStdDWORD m_regTopmenuhigh;
62 CImageList m_imgList;
63 CListCtrl m_cMenuList;
64 BOOL m_bModified;
65 unsigned __int64 m_topmenu;
66 bool m_bBlock;
67 CRegDWORD m_regHideMenus;
68 BOOL m_bHideMenus;
70 CString m_sNoContextPaths;
71 CRegString m_regNoContextPaths;