ZView.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_ZVIEW_H__5B906AE2_76E3_11D1_8A6E_0000C0B006B6__INCLUDED_)
  19. #define AFX_ZVIEW_H__5B906AE2_76E3_11D1_8A6E_0000C0B006B6__INCLUDED_
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif // _MSC_VER >= 1000
  23. // ZView.h : header file
  24. //
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CZView view
  27. class CZView : public CView
  28. {
  29. protected:
  30. CZView(); // protected constructor used by dynamic creation
  31. DECLARE_DYNCREATE(CZView)
  32. // Attributes
  33. public:
  34. // Operations
  35. public:
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CZView)
  39. protected:
  40. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. virtual ~CZView();
  45. #ifdef _DEBUG
  46. virtual void AssertValid() const;
  47. virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49. // Generated message map functions
  50. protected:
  51. //{{AFX_MSG(CZView)
  52. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  53. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  54. afx_msg void OnSize(UINT nType, int cx, int cy);
  55. afx_msg void OnDestroy();
  56. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  57. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  58. afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
  59. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  60. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  61. afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. /////////////////////////////////////////////////////////////////////////////
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ZVIEW_H__5B906AE2_76E3_11D1_8A6E_0000C0B006B6__INCLUDED_)