RadiantView.h (2800B)
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 // RadiantView.h : interface of the CRadiantView class 23 // 24 ///////////////////////////////////////////////////////////////////////////// 25 26 #if !defined(AFX_RADIANTVIEW_H__330BBF10_731C_11D1_B539_00AA00A410FC__INCLUDED_) 27 #define AFX_RADIANTVIEW_H__330BBF10_731C_11D1_B539_00AA00A410FC__INCLUDED_ 28 29 #if _MSC_VER >= 1000 30 #pragma once 31 #endif // _MSC_VER >= 1000 32 33 class CRadiantView : public CView 34 { 35 protected: // create from serialization only 36 CRadiantView(); 37 DECLARE_DYNCREATE(CRadiantView) 38 39 // Attributes 40 public: 41 CRadiantDoc* GetDocument(); 42 43 // Operations 44 public: 45 46 // Overrides 47 // ClassWizard generated virtual function overrides 48 //{{AFX_VIRTUAL(CRadiantView) 49 public: 50 virtual void OnDraw(CDC* pDC); // overridden to draw this view 51 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 52 protected: 53 virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 54 virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 55 virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 56 //}}AFX_VIRTUAL 57 58 // Implementation 59 public: 60 virtual ~CRadiantView(); 61 #ifdef _DEBUG 62 virtual void AssertValid() const; 63 virtual void Dump(CDumpContext& dc) const; 64 #endif 65 66 protected: 67 68 // Generated message map functions 69 protected: 70 //{{AFX_MSG(CRadiantView) 71 // NOTE - the ClassWizard will add and remove member functions here. 72 // DO NOT EDIT what you see in these blocks of generated code ! 73 //}}AFX_MSG 74 DECLARE_MESSAGE_MAP() 75 }; 76 77 #ifndef _DEBUG // debug version in RadiantView.cpp 78 inline CRadiantDoc* CRadiantView::GetDocument() 79 { return (CRadiantDoc*)m_pDocument; } 80 #endif 81 82 ///////////////////////////////////////////////////////////////////////////// 83 84 //{{AFX_INSERT_LOCATION}} 85 // Microsoft Developer Studio will insert additional declarations immediately before the previous line. 86 87 #endif // !defined(AFX_RADIANTVIEW_H__330BBF10_731C_11D1_B539_00AA00A410FC__INCLUDED_)