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