mycirc.h
来自「在代码中演示使用C++开发的BREW端方便的程序 非常值得初学者学习.」· C头文件 代码 · 共 32 行
H
32 行
// Circ.h: interface for the CCirc class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(_MY_CIRC_H)
#define _MY_CIRC_H
#include "myShape.h"
#include "myPoint.h" // Added by ClassView
class CCirc : public CShape
{
public:
void operator delete(void *p);
void* operator new(size_t sz);
void setr(uint16 r);
void setCenter(int16 x, int16 y);
void setCenter(CPoint c);
CCirc(uint16 r, CPoint c, RGBVAL col);
boolean draw(IGraphics *pg);
uint16 getRad() const;
CPoint* getCenter();
CCirc();
virtual ~CCirc();
private:
uint16 m_rad;
CPoint m_center;
};
#endif // !defined(_MY_CIRC_H)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?