Replace all calls to LoadIcon and LoadImage with calls to LoadIconWithScaleDown
[TortoiseGit.git] / src / TortoiseProc / AutoTextTestDlg.h
blob96746e485c51d5f2b43d6c3f89b3c4dc9c659f8f
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2009, 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
20 #include "SciEdit.h"
21 #include <afxcmn.h>
23 // CAutoTextTestDlg dialog
25 class CAutoTextTestDlg : public CDialog
27 DECLARE_DYNAMIC(CAutoTextTestDlg)
29 public:
30 CAutoTextTestDlg(CWnd* pParent = nullptr); // standard constructor
31 virtual ~CAutoTextTestDlg();
33 // Dialog Data
34 enum { IDD = IDD_AUTOTEXTTESTDLG };
36 protected:
37 virtual void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support
38 virtual BOOL OnInitDialog() override;
39 afx_msg void OnBnClickedAutotextscan();
41 DECLARE_MESSAGE_MAP()
43 private:
44 CString m_sContent;
45 CString m_sRegex;
46 CString m_sResult;
47 CString m_sTimingLabel;
48 CRichEditCtrl m_cContent;