1 Star 0 Fork 0

jure/chart for Bitmap of memery

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cbasictype.h 680 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef _BASICTYPE_H
#define _BASICTYPE_H
#include "cgriphics.h"
#include <string>
#include <iostream>
class CBasicType
{
public:
CBasicType();
void Enable(bool en);
uint& GetColor();
void SetColor(uint color);
uint& GetBackColor();
void SetBackColor(uint color);
void SetPos(CPointF pos);
void SetSize(CPointF size);
CPointF& GetPos();
CPointF& GetSize();
virtual bool Adjust() = 0;
virtual bool OnDraw(CGriphics*)
{
std::cout<< m_ClassFlag << '\n';
return Adjust();
};
protected:
std::string m_ClassFlag;
uint m_ForeColor; // firstColor
uint m_BackColor;
bool m_Enable;
CRectF m_MaxArea;
};
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jure/chart-for-Bitmap-of-memery.git
git@gitee.com:jure/chart-for-Bitmap-of-memery.git
jure
chart-for-Bitmap-of-memery
chart for Bitmap of memery
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385