Make sounds for indicating a warning or error work
[TortoiseGit.git] / src / TortoiseProc / Settings / SetOverlayIcons.h
blobd2a804f39a7e78c11533a88c9a7d27de294ae305
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-2007 - 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
20 #include "SettingsPropPage.h"
21 #include "StandAloneDlg.h"
22 #include "registry.h"
24 /**
25 * \ingroup TortoiseProc
26 * Settings page to configure the overlay icon set to use.
28 class CSetOverlayIcons : public ISettingsPropPage
30 DECLARE_DYNAMIC(CSetOverlayIcons)
32 public:
33 CSetOverlayIcons();
34 virtual ~CSetOverlayIcons();
36 UINT GetIconID() {return IDI_ICONSET;}
38 // Dialog Data
39 enum { IDD = IDD_OVERLAYICONS };
41 protected:
42 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43 virtual BOOL OnInitDialog();
44 virtual BOOL OnApply();
45 afx_msg void OnBnClickedListradio();
46 afx_msg void OnBnClickedSymbolradio();
47 afx_msg void OnCbnSelchangeIconsetcombo();
49 void ShowIconSet(bool bSmallIcons);
50 void AddFileTypeGroup(CString sFileType, bool bSmallIcons);
51 DECLARE_MESSAGE_MAP()
53 int m_selIndex;
54 CString m_sIconSet;
55 CComboBox m_cIconSet;
56 CListCtrl m_cIconList;
58 CString m_sIconPath;
59 CString m_sOriginalIconSet;
60 CString m_sNormal;
61 CString m_sModified;
62 CString m_sConflicted;
63 CString m_sReadOnly;
64 CString m_sDeleted;
65 CString m_sAdded;
66 CString m_sLocked;
67 CString m_sIgnored;
68 CString m_sUnversioned;
69 CImageList m_ImageList;
70 CImageList m_ImageListBig;
72 CRegString m_regNormal;
73 CRegString m_regModified;
74 CRegString m_regConflicted;
75 CRegString m_regReadOnly;
76 CRegString m_regDeleted;
77 CRegString m_regLocked;
78 CRegString m_regAdded;
79 CRegString m_regIgnored;
80 CRegString m_regUnversioned;