⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blob.h

📁 本光盘包含的是《实用Visual C++ 6.0教程》一书中所有程序的代码
💻 H
字号:
//**Ensure the class isn't declared twice
#ifndef _BLOB_H
#define _BLOB_H

//**Derive a CBlob class from CObject
class CBlob:public CObject
{
	//**Include the Serialization functions
	DECLARE_SERIAL(CBlob);

public:
	//**Declare two constructors
	CBlob();
	CBlob(CPoint ptPosition);

	//**Declare a drawing function
	void Draw(CDC* pDC);
	virtual void Serialize(CArchive& ar);

	//**Declare the attributes
	CPoint m_ptPosition;
	COLORREF m_crColor;
	int m_nSize;
	unsigned m_nShape;
};

#endif // _BLOB_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -