- #pragma once
- #include "cbutton.h"
- class CbuttonPicture :
- public Cbutton
- {
- public:
- CbuttonPicture(hgeSprite *_spr,
- float _tex,
- float _tey,
- float _tew,
- float _teh,
- float _size );
- virtual ~CbuttonPicture(void);
- // 实现更新
- virtual bool Logic(float _x, float _y);
- virtual void Render(void);
- protected:
- hgeSprite *m_pSpr;
- hgeRect m_texRect;
- float m_fsize;
- };