diff options
Diffstat (limited to 'hammer/editprefabdlg.h')
| -rw-r--r-- | hammer/editprefabdlg.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/hammer/editprefabdlg.h b/hammer/editprefabdlg.h new file mode 100644 index 0000000..832bf3f --- /dev/null +++ b/hammer/editprefabdlg.h @@ -0,0 +1,55 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef EDITPREFABDLG_H +#define EDITPREFABDLG_H +#ifdef _WIN32 +#pragma once +#endif + +#include "resource.h" + +class CEditPrefabDlg : public CDialog +{ +// Construction +public: + CEditPrefabDlg(CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CEditPrefabDlg) + enum { IDD = IDD_EDITPREFAB }; + CComboBox m_CreateIn; + CEdit m_Name; + CEdit m_Descript; + CString m_strDescript; + CString m_strName; + //}}AFX_DATA + + void SetRanges(int iMaxDescript, int iMaxName); + void EnableLibrary(BOOL = TRUE); + DWORD m_dwLibraryID; + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CEditPrefabDlg) +protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + int iMaxDescriptChars, iMaxNameChars; + BOOL m_bEnableLibrary; + + // Generated message map functions + //{{AFX_MSG(CEditPrefabDlg) + virtual BOOL OnInitDialog(); + afx_msg void OnSelchangeCreatein(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +#endif // EDITPREFABDLG_H |