Fix typo in doc
[TortoiseGit.git] / src / TortoiseProc / InputDlg.h
blobb889e1a940330b743dcd527c1d0418713d46d89d
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2013, 2016 - TortoiseGit
4 // Copyright (C) 2003-2006 - Stefan Kueng
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #pragma once
22 #include "StandAloneDlg.h"
23 #include "SciEdit.h"
24 #include "resource.h"
25 /**
26 * \ingroup TortoiseProc
27 * Helper dialog to ask for various text inputs.
29 class CInputDlg : public CResizableStandAloneDialog
31 DECLARE_DYNAMIC(CInputDlg)
33 public:
34 CInputDlg(CWnd* pParent = nullptr);
35 virtual ~CInputDlg();
37 enum { IDD = IDD_INPUTDLG };
39 protected:
40 CFont m_logFont;
42 virtual void DoDataExchange(CDataExchange* pDX);
43 virtual BOOL OnInitDialog();
44 virtual BOOL PreTranslateMessage(MSG* pMsg);
45 virtual void OnOK();
47 afx_msg void OnEnChangeLogmessage();
48 afx_msg void OnSysColorChange();
49 DECLARE_MESSAGE_MAP()
50 public:
51 CString m_sInputText;
52 CString m_sHintText;
53 CString m_sTitle;
54 CString m_sCheckText;
55 int m_iCheck;
56 CSciEdit m_cInput;
57 ProjectProperties * m_pProjectProperties;
58 bool m_bUseLogWidth;