-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAI3View.h
46 lines (40 loc) · 1.09 KB
/
AI3View.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// AI3View.h : interface of the CAI3View class
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
class CAI3View : public CScrollView
{
protected: // create from serialization only
CAI3View();
DECLARE_DYNCREATE(CAI3View)
// Attributes
public:
CAI3Doc* GetDocument();
// Operations
public:
// Overrides
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
// Implementation
public:
virtual ~CAI3View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
afx_msg void OnViewStepOnly();
afx_msg void OnUpdateViewStepOnly(CCmdUI* pCmdUI);
afx_msg void OnViewTreeOnly();
afx_msg void OnUpdateViewTreeOnly(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
private:
BOOL m_bIsDispAll;
};
#ifndef _DEBUG // debug version in AI3View.cpp
inline CAI3Doc* CAI3View::GetDocument()
{ return (CAI3Doc*)m_pDocument; }
#endif