Add an option to the TortoiseGitMerge settings dialog to specify the number of contex...
[TortoiseGit.git] / src / TortoiseMerge / AboutDlg.h
blobd6b9b085b2e58b3063843e879edc13e0ecf0a0c6
1 // TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2006,2009-2010, 2013 - 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 "WaterEffect.h"
22 #include "DIB.h"
23 #include "HyperLink.h"
24 #include "StandAloneDlg.h"
26 #define ID_EFFECTTIMER 1111
27 #define ID_DROPTIMER 1112
29 /**
30 * \ingroup TortoiseMerge
31 * Class for showing an About box of TortoiseMerge. Contains a Picture
32 * with the TortoiseMerge logo with a nice water effect. See CWaterEffect
33 * for the implementation.
35 class CAboutDlg : public CStandAloneDialog
37 DECLARE_DYNAMIC(CAboutDlg)
39 public:
40 CAboutDlg(CWnd* pParent = NULL); // standard constructor
41 virtual ~CAboutDlg();
43 // Dialog Data
44 enum { IDD = IDD_ABOUT };
46 protected:
47 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48 virtual BOOL OnInitDialog();
49 afx_msg void OnTimer(UINT_PTR nIDEvent);
50 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
51 afx_msg void OnClose();
53 DECLARE_MESSAGE_MAP()
55 private:
56 CWaterEffect m_waterEffect;
57 CDib m_renderSrc;
58 CDib m_renderDest;
59 CHyperLink m_cWebLink;
60 CHyperLink m_cSupportLink;