- #pragma once
- #include "Info.h"
- class Cbutton
- {
- public:
- Cbutton(void);
- virtual ~Cbutton(void);
- // 更新按钮
- virtual bool Logic(float _x, float _y) = 0;
- virtual void Render(void) = 0;
- protected:
- float m_fWidth;
- float m_fHeight;
- float m_fX;
- float m_fY;
- hgeRect m_Rect;
- bool m_bIn;
- };