]> icculus.org git repositories - taylor/freespace2.git/blob - include/helpedview.h
proper padding of PXO stats struct for FS2 demo
[taylor/freespace2.git] / include / helpedview.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 // HelpEdView.h : interface of the CHelpEdView class
10 //
11 /////////////////////////////////////////////////////////////////////////////
12
13 #if !defined(AFX_HELPEDVIEW_H__159085CC_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_)
14 #define AFX_HELPEDVIEW_H__159085CC_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_
15
16 #if _MSC_VER > 1000
17 #pragma once
18 #endif // _MSC_VER > 1000
19
20
21 class CHelpEdView : public CView
22 {
23 protected: // create from serialization only
24         CHelpEdView();
25         DECLARE_DYNCREATE(CHelpEdView)
26         CPoint m_ptPrevPos;
27 // Attributes
28 public:
29         CHelpEdDoc* GetDocument();
30
31 // Operations
32 public:
33
34 // Overrides
35         // ClassWizard generated virtual function overrides
36         //{{AFX_VIRTUAL(CHelpEdView)
37         public:
38         virtual void OnDraw(CDC* pDC);  // overridden to draw this view
39         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
40         protected:
41         //}}AFX_VIRTUAL
42
43 // Implementation
44 public:
45         void OnLButtonDown(UINT nFlags, CPoint point);
46         virtual ~CHelpEdView();
47 #ifdef _DEBUG
48         virtual void AssertValid() const;
49         virtual void Dump(CDumpContext& dc) const;
50 #endif
51
52 protected:
53
54 // Generated message map functions
55 protected:
56         //{{AFX_MSG(CHelpEdView)
57                 // NOTE - the ClassWizard will add and remove member functions here.
58                 //    DO NOT EDIT what you see in these blocks of generated code !
59         //}}AFX_MSG
60         DECLARE_MESSAGE_MAP()
61 };
62
63 #ifndef _DEBUG  // debug version in HelpEdView.cpp
64 inline CHelpEdDoc* CHelpEdView::GetDocument()
65    { return (CHelpEdDoc*)m_pDocument; }
66 #endif
67
68 /////////////////////////////////////////////////////////////////////////////
69
70 //{{AFX_INSERT_LOCATION}}
71 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
72
73 #endif // !defined(AFX_HELPEDVIEW_H__159085CC_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_)
74