pulled latest translations from Transifex
[TortoiseGit.git] / src / TortoiseProc / Settings / SetOverlayHandlers.h
blob8f2fb9aca6cf1e37310a01ef5d3a66bf56200dbf
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2010 - 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.
19 #pragma once
21 #include "SettingsPropPage.h"
22 #include "Tooltip.h"
23 #include "Registry.h"
25 /**
26 * \ingroup TortoiseProc
27 * Settings page to configure how the icon overlays and the cache should
28 * behave.
30 class CSetOverlayHandlers : public ISettingsPropPage
32 DECLARE_DYNAMIC(CSetOverlayHandlers)
34 public:
35 CSetOverlayHandlers();
36 virtual ~CSetOverlayHandlers();
38 UINT GetIconID() {return IDI_SET_OVERLAYS;}
40 // Dialog Data
41 enum { IDD = IDD_SETTINGSOVERLAYHANDLERS };
43 protected:
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
45 virtual BOOL OnInitDialog();
46 afx_msg void OnChange();
47 virtual BOOL OnApply();
49 DECLARE_MESSAGE_MAP()
51 private:
52 BOOL m_bShowIgnoredOverlay;
53 BOOL m_bShowUnversionedOverlay;
54 BOOL m_bShowAddedOverlay;
55 BOOL m_bShowLockedOverlay;
56 BOOL m_bShowReadonlyOverlay;
57 BOOL m_bShowDeletedOverlay;
58 CRegDWORD m_regShowIgnoredOverlay;
59 CRegDWORD m_regShowUnversionedOverlay;
60 CRegDWORD m_regShowAddedOverlay;
61 CRegDWORD m_regShowLockedOverlay;
62 CRegDWORD m_regShowReadonlyOverlay;
63 CRegDWORD m_regShowDeletedOverlay;