hotspdoc.h

来自「本程序是《Visual C++多媒体开发指南》配套代码」· C头文件 代码 · 共 56 行

H
56
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?