myShape.h
资源名称:Shapes.zip [点击查看]
上传用户:wenshuihe
上传日期:2007-01-14
资源大小:10k
文件大小:1k
源码类别:
BREW编程
开发平台:
Visual C++
- // Shape.h: interface for the CShape class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(_SHAPE_H_)
- #define _SHAPE_H_
- #include "myColor.h" // Added by ClassView
- #include "AEEGraphics.h"
- #include "AEEShell.h"
- #include "AEEStdLib.h"
- class CShape
- {
- public:
- const CColor* getClr() const;
- CShape(CColor Clr);
- virtual boolean draw(IGraphics *pg) =0;
- CShape();
- virtual ~CShape() =0;
- private:
- CColor m_Clr;
- };
- #endif // !defined(AFX_SHAPE_H__617F9B5E_6214_4A5C_AAAF_734D718C832D__INCLUDED_)