📄 hotspdoc.h
字号:
// hotspdoc.h : interface of the CHotspot3Doc class
//
/////////////////////////////////////////////////////////////////////////////
//Maximum number of polygon vertices.
#define MAX_POINTS 100
class CHotspot3Doc : public CDocument
{
protected: // create from serialization only
CHotspot3Doc();
DECLARE_DYNCREATE(CHotspot3Doc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHotspot3Doc)
public:
virtual BOOL OnNewDocument();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHotspot3Doc();
virtual void Serialize(CArchive& ar); // overridden for document i/o
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
public:
CRgn* m_region;
CPoint m_points[MAX_POINTS];
int m_numPoints;
BOOL m_testing; //TRUE if testing, FALSE if defining.
BOOL m_drawing;
BOOL m_regionDefined;
// Generated message map functions
protected:
//{{AFX_MSG(CHotspot3Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -