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