OSDN Git Service

Rewrite patch parser for git created patch.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseMerge / AboutDlg.h
1 // TortoiseMerge - a Diff/Patch program\r
2 \r
3 // Copyright (C) 2006 - Stefan Kueng\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 \r
21 #include "Watereffect.h"\r
22 #include "Dib.h"\r
23 #include "HyperLink.h"\r
24 \r
25 #define ID_EFFECTTIMER 1111\r
26 #define ID_DROPTIMER 1112\r
27 \r
28 /**\r
29  * \ingroup TortoiseMerge\r
30  * Class for showing an About box of TortoiseMerge. Contains a Picture\r
31  * with the TortoiseMerge logo with a nice water effect. See CWaterEffect\r
32  * for the implementation.\r
33  */\r
34 class CAboutDlg : public CDialog\r
35 {\r
36         DECLARE_DYNAMIC(CAboutDlg)\r
37 \r
38 public:\r
39         CAboutDlg(CWnd* pParent = NULL);   // standard constructor\r
40         virtual ~CAboutDlg();\r
41 \r
42 // Dialog Data\r
43         enum { IDD = IDD_ABOUT };\r
44 \r
45 protected:\r
46         HICON m_hIcon;\r
47         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
48 \r
49         virtual BOOL OnInitDialog();\r
50         afx_msg void OnPaint();\r
51         afx_msg HCURSOR OnQueryDragIcon();\r
52 \r
53         DECLARE_MESSAGE_MAP()\r
54 public:\r
55 \r
56 private:\r
57         CWaterEffect m_waterEffect;\r
58         CDib m_renderSrc;\r
59         CDib m_renderDest;\r
60         CHyperLink m_cWebLink;\r
61         CHyperLink m_cSupportLink;\r
62 public:\r
63         afx_msg void OnTimer(UINT_PTR nIDEvent);\r
64         afx_msg void OnMouseMove(UINT nFlags, CPoint point);\r
65 };\r