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.

66 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef OP_GROUPS_H
  7. #define OP_GROUPS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "resource.h"
  12. #include "GroupList.h"
  13. #include "ObjectPage.h"
  14. #include "AnchorMgr.h"
  15. class COP_Groups : public CObjectPage
  16. {
  17. DECLARE_DYNCREATE(COP_Groups)
  18. public:
  19. COP_Groups();
  20. ~COP_Groups();
  21. virtual bool SaveData( SaveData_Reason_t reason );
  22. virtual void UpdateData( int Mode, PVOID pData, bool bCanEdit );
  23. void SetMultiEdit(bool b);
  24. void UpdateGroupList(void);
  25. CAnchorMgr m_AnchorMgr;
  26. CMapClass *pUpdateObject;
  27. //{{AFX_DATA(COP_Groups)
  28. enum { IDD = IDD_OBJPAGE_GROUPS };
  29. CGroupList m_cGroups;
  30. CButton m_EditGroupsControl;
  31. //}}AFX_DATA
  32. // ClassWizard generate virtual function overrides
  33. //{{AFX_VIRTUAL(COP_Groups)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX);
  36. virtual BOOL OnInitDialog();
  37. //}}AFX_VIRTUAL
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(COP_Groups)
  41. afx_msg void OnEditgroups();
  42. afx_msg void OnSetFocus(CWnd *pOld);
  43. afx_msg LRESULT OnListToggleState(WPARAM wParam, LPARAM lParam);
  44. afx_msg void OnSize( UINT nType, int cx, int cy );
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. #endif // OP_GROUPS_H