Public Member Functions | |
UIButton (ButtonContainer *owner, const Common::Rect &bounds, KeybindingAction action, uint frameNum, Shared::Xeen::SpriteResource *sprites, bool draw) | |
UIButton () | |
void | setFrame (uint frameNum) |
void | setFrame (uint frameNum, uint selectedFrame) |
void | draw (bool pressed=false) |
Public Attributes | |
Common::Rect | _bounds |
Shared::Xeen::SpriteResource * | _sprites |
KeybindingAction | _action |
uint | _frameNum |
uint | _selectedFrame |
bool | _draw |
|
inline |
Constructor
|
inline |
Constructor
|
inline |
Set the frame
|
inline |
Set the frame
void MM::MM1::ViewsEnh::UIButton::draw | ( | bool | pressed = false | ) |
Draw the button