OSDN Git Service

Show Ignore Sub Menu
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Settings / SettingsRevisionGraph.h
1 // TortoiseSVN - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2007-2008 - TortoiseSVN\r
4 \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
9 \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
14 \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
18 //\r
19 #pragma once\r
20 #include "SettingsPropPage.h"\r
21 #include "Tooltip.h"\r
22 #include "Registry.h"\r
23 #include "ILogReceiver.h"\r
24 \r
25 class CProgressDlg;\r
26 \r
27 /**\r
28  * \ingroup TortoiseProc\r
29  * Settings page to configure miscellaneous stuff. \r
30  */\r
31 class CSettingsRevisionGraph \r
32     : public ISettingsPropPage\r
33 {\r
34         DECLARE_DYNAMIC(CSettingsRevisionGraph)\r
35 \r
36 public:\r
37         CSettingsRevisionGraph();\r
38         virtual ~CSettingsRevisionGraph();\r
39         \r
40         UINT GetIconID() {return IDI_SETTINGSREVGRAPH;}\r
41 \r
42     virtual BOOL OnApply();\r
43 \r
44 // Dialog Data\r
45         enum { IDD = IDD_SETTINGSREVGRAPH };\r
46 \r
47 protected:\r
48         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
49         virtual BOOL OnInitDialog();\r
50         virtual BOOL PreTranslateMessage(MSG* pMsg);\r
51 \r
52         afx_msg void OnChanged();\r
53 \r
54     DECLARE_MESSAGE_MAP()\r
55 \r
56 private:\r
57         CToolTips               m_tooltips;\r
58 \r
59     CRegString      regTrunkPattern;\r
60     CRegString      regBranchesPattern;\r
61     CRegString      regTagsPattern;\r
62     CRegDWORD       regTweakTrunkColors;\r
63     CRegDWORD       regTweakTagsColors;\r
64 \r
65     CString         trunkPattern;\r
66     CString         branchesPattern;\r
67     CString         tagsPattern;\r
68     BOOL            tweakTrunkColors;\r
69     BOOL            tweakTagsColors;\r
70 };\r