Initial version of BrowseRefsDlg
[TortoiseGit.git] / src / TortoiseProc / InputDlg.h
blobd2dd0440cbb5cce6444c4333fd2eb94c6514750e
1 // TortoiseSVN - 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 "SciEdit.h"
23 #include "ProjectProperties.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 = NULL);
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 DECLARE_MESSAGE_MAP()
49 public:
50 CString m_sInputText;
51 CString m_sHintText;
52 CString m_sTitle;
53 CString m_sCheckText;
54 int m_iCheck;
55 CSciEdit m_cInput;
56 ProjectProperties * m_pProjectProperties;
57 bool m_bUseLogWidth;