1 // TortoiseSVN - a Windows shell extension for easy version control
\r
3 // Copyright (C) 2003-2008 - TortoiseSVN
\r
5 // This program is free software; you can redistribute it and/or
\r
6 // modify it under the terms of the GNU General Public License
\r
7 // as published by the Free Software Foundation; either version 2
\r
8 // of the License, or (at your option) any later version.
\r
10 // This program is distributed in the hope that it will be useful,
\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 // GNU General Public License for more details.
\r
15 // You should have received a copy of the GNU General Public License
\r
16 // along with this program; if not, write to the Free Software Foundation,
\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\r
21 #include "SettingsPropPage.h"
\r
22 #include "Tooltip.h"
\r
23 #include "Registry.h"
\r
26 * \ingroup TortoiseProc
\r
27 * Settings page to configure how the icon overlays and the cache should
\r
30 class CSetOverlayPage : public ISettingsPropPage
\r
32 DECLARE_DYNAMIC(CSetOverlayPage)
\r
36 virtual ~CSetOverlayPage();
\r
38 UINT GetIconID() {return IDI_SET_OVERLAYS;}
\r
41 enum { IDD = IDD_SETTINGSOVERLAY };
\r
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
45 virtual BOOL OnInitDialog();
\r
46 virtual BOOL PreTranslateMessage(MSG* pMsg);
\r
47 afx_msg void OnChange();
\r
48 virtual BOOL OnApply();
\r
50 DECLARE_MESSAGE_MAP()
\r
53 BOOL m_bOnlyExplorer;
\r
61 BOOL m_bUnversionedAsModified;
\r
62 BOOL m_bShowIgnoredOverlay;
\r
63 BOOL m_bShowUnversionedOverlay;
\r
64 BOOL m_bShowExcludedAsNormal;
\r
65 CRegDWORD m_regOnlyExplorer;
\r
66 CRegDWORD m_regDriveMaskRemovable;
\r
67 CRegDWORD m_regDriveMaskFloppy;
\r
68 CRegDWORD m_regDriveMaskRemote;
\r
69 CRegDWORD m_regDriveMaskFixed;
\r
70 CRegDWORD m_regDriveMaskCDROM;
\r
71 CRegDWORD m_regDriveMaskRAM;
\r
72 CRegDWORD m_regDriveMaskUnknown;
\r
73 CRegDWORD m_regUnversionedAsModified;
\r
74 CRegDWORD m_regShowIgnoredOverlay;
\r
75 CRegDWORD m_regShowUnversionedOverlay;
\r
76 CRegDWORD m_regShowExcludedAsNormal;
\r
77 CToolTips m_tooltips;
\r
78 CRegString m_regExcludePaths;
\r
79 CString m_sExcludePaths;
\r
80 CRegString m_regIncludePaths;
\r
81 CString m_sIncludePaths;
\r
82 CRegDWORD m_regCacheType;
\r
83 DWORD m_dwCacheType;
\r