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.

80 lines
1.9 KiB

  1. // MFC_DEMOView.h : interface of the CMFC_DEMOView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MFC_DEMOVIEW_H__B7D0AFEE_20A7_11D2_B1B0_0040053C38B6__INCLUDED_)
  5. #define AFX_MFC_DEMOVIEW_H__B7D0AFEE_20A7_11D2_B1B0_0040053C38B6__INCLUDED_
  6. #include <afxmt.h>
  7. #include <windows.h>
  8. #include <wintab.h>
  9. #include "point.h"
  10. using namespace std;
  11. #if _MSC_VER >= 1000
  12. #pragma once
  13. #endif // _MSC_VER >= 1000
  14. class CMFC_DEMOView : public CView
  15. {
  16. CMutex *pWTMutex;
  17. POINT csr;
  18. HCTX hCtx;
  19. unsigned prev_pkButtons;
  20. LOGCONTEXT lc;
  21. protected: // create from serialization only
  22. CMFC_DEMOView();
  23. DECLARE_DYNCREATE(CMFC_DEMOView)
  24. // Attributes
  25. public:
  26. CMFC_DEMODoc* GetDocument();
  27. // Operations
  28. public:
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CMFC_DEMOView)
  32. public:
  33. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  34. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  35. protected:
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. public:
  39. virtual ~CMFC_DEMOView();
  40. #ifdef _DEBUG
  41. virtual void AssertValid() const;
  42. virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44. afx_msg LRESULT OnWTPacket(WPARAM, LPARAM);
  45. protected:
  46. // Generated message map functions
  47. protected:
  48. //{{AFX_MSG(CMFC_DEMOView)
  49. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50. afx_msg void OnCancelMode();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. #ifndef _DEBUG // debug version in MFC_DEMOView.cpp
  55. inline CMFC_DEMODoc* CMFC_DEMOView::GetDocument()
  56. { return (CMFC_DEMODoc*)m_pDocument; }
  57. #endif
  58. /////////////////////////////////////////////////////////////////////////////
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_MFC_DEMOVIEW_H__B7D0AFEE_20A7_11D2_B1B0_0040053C38B6__INCLUDED_)