summaryrefslogtreecommitdiff
path: root/hammer/strdlg.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/strdlg.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'hammer/strdlg.h')
-rw-r--r--hammer/strdlg.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/hammer/strdlg.h b/hammer/strdlg.h
new file mode 100644
index 0000000..c61e1ea
--- /dev/null
+++ b/hammer/strdlg.h
@@ -0,0 +1,57 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+// StrDlg.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CStrDlg dialog
+
+class CStrDlg : public CDialog
+{
+// Construction
+public:
+ CStrDlg(DWORD, LPCTSTR, LPCTSTR, LPCTSTR); // standard constructor
+
+ enum
+ {
+ Spin = 0x01
+ };
+
+ int iRangeLow, iRangeHigh, iIncrement;
+ DWORD dwFlags;
+ CString m_string;
+ CString m_strPrompt;
+ CString m_strTitle;
+ CSpinButtonCtrl m_cSpin;
+ CStatic m_cPrompt;
+ CEdit m_cEdit;
+
+ void SetRange(int iLow, int iHigh, int iIncrement = 1);
+
+// Dialog Data
+ //{{AFX_DATA(CStrDlg)
+ enum { IDD = IDD_STRINPUT };
+ //}}AFX_DATA
+
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CStrDlg)
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+
+ // Generated message map functions
+ //{{AFX_MSG(CStrDlg)
+ virtual BOOL OnInitDialog();
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+};