Fixed issue #1507: Submodule Diff Dialog should show dirty state only on working...
[TortoiseGit.git] / src / TortoiseMerge / AboutDlg.h
blobfc38a99e6169e0b009d70d32dd76803041651247
1 // TortoiseMerge - a Diff/Patch program
3 // Copyright (C) 2006,2009-2010 - 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;