- #pragma once
- #include "cbutton.h"
- class CbuttonFont :
- public Cbutton
- {
- public:
- CbuttonFont(wchar_t *_Name, int size);
- virtual ~CbuttonFont(void);
- // 实现更新
- virtual bool Logic(float _x, float _y);
- virtual void Render(void);
- protected:
- GfxFont *m_pFont;
- wchar_t *m_sName;
- hgeSprite *m_pSprite;
- };