Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.2 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef EDITPREFABDLG_H
  7. #define EDITPREFABDLG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "resource.h"
  12. class CEditPrefabDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CEditPrefabDlg(CWnd* pParent = NULL); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CEditPrefabDlg)
  19. enum { IDD = IDD_EDITPREFAB };
  20. CComboBox m_CreateIn;
  21. CEdit m_Name;
  22. CEdit m_Descript;
  23. CString m_strDescript;
  24. CString m_strName;
  25. //}}AFX_DATA
  26. void SetRanges(int iMaxDescript, int iMaxName);
  27. void EnableLibrary(BOOL = TRUE);
  28. DWORD m_dwLibraryID;
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CEditPrefabDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. int iMaxDescriptChars, iMaxNameChars;
  38. BOOL m_bEnableLibrary;
  39. // Generated message map functions
  40. //{{AFX_MSG(CEditPrefabDlg)
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnSelchangeCreatein();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. #endif // EDITPREFABDLG_H