Fixed issue #1701: Changing commit order in rebase dialog doesn't auto scroll
[TortoiseGit.git] / src / TortoiseProc / AboutDlg.h
blob5b4a1720e1311fee80adba6a88f37a1593453c59
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2003-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 "StandAloneDlg.h"
22 #include "Watereffect.h"
23 #include "Dib.h"
24 #include "HyperLink.h"
25 #include "StandAloneDlg.h"
27 #define ID_EFFECTTIMER 1111
28 #define ID_DROPTIMER 1112
30 /**
31 * \ingroup TortoiseProc
32 * Class for showing an About box of TortoiseSVN. Contains a Picture
33 * with the TortoiseSVN logo with a nice water effect. See CWaterEffect
34 * for the implementation.
36 class CAboutDlg : public CStandAloneDialog
38 // DECLARE_DYNAMIC(CAboutDlg)
40 public:
41 CAboutDlg(CWnd* pParent = NULL); // standard constructor
42 virtual ~CAboutDlg();
44 enum { IDD = IDD_ABOUT };
46 protected:
47 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48 virtual BOOL OnInitDialog();
50 afx_msg void OnTimer(UINT_PTR nIDEvent);
51 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
52 afx_msg void OnBnClickedUpdate();
54 DECLARE_MESSAGE_MAP()
56 private:
57 CWaterEffect m_waterEffect;
58 CDib m_renderSrc;
59 CDib m_renderDest;
60 CHyperLink m_cWebLink;
61 CHyperLink m_cSupportLink;