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.
20 #include "SettingsPropPage.h"
21 #include "StandAloneDlg.h"
25 * \ingroup TortoiseProc
26 * Settings page to configure the overlay icon set to use.
28 class CSetOverlayIcons
: public ISettingsPropPage
30 DECLARE_DYNAMIC(CSetOverlayIcons
)
34 virtual ~CSetOverlayIcons();
36 UINT
GetIconID() {return IDI_ICONSET
;}
39 enum { IDD
= IDD_OVERLAYICONS
};
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
);
56 CListCtrl m_cIconList
;
59 CString m_sOriginalIconSet
;
62 CString m_sConflicted
;
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
;