ZWnd.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. #if !defined(AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_)
  19. #define AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif // _MSC_VER >= 1000
  23. // ZWnd.h : header file
  24. //
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CZWnd window
  27. class CZWnd : public CWnd
  28. {
  29. DECLARE_DYNCREATE(CZWnd);
  30. // Construction
  31. public:
  32. CZWnd();
  33. // Attributes
  34. public:
  35. // Operations
  36. public:
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CZWnd)
  40. protected:
  41. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. public:
  45. virtual ~CZWnd();
  46. // Generated message map functions
  47. protected:
  48. HDC m_dcZ;
  49. HGLRC m_hglrcZ;
  50. //{{AFX_MSG(CZWnd)
  51. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  52. afx_msg void OnDestroy();
  53. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  54. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  55. afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
  56. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  57. afx_msg void OnPaint();
  58. afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
  59. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  60. afx_msg void OnSize(UINT nType, int cx, int cy);
  61. afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
  62. afx_msg void OnKillFocus(CWnd* pNewWnd);
  63. afx_msg void OnSetFocus(CWnd* pOldWnd);
  64. afx_msg void OnClose();
  65. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  66. afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
  67. afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
  68. afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. /////////////////////////////////////////////////////////////////////////////
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_ZWND_H__44B4BA02_781B_11D1_B53C_00AA00A410FC__INCLUDED_)