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