ScummVM API documentation
MM::Xeen::UIButton Class Reference

Public Member Functions

 UIButton (const Common::Rect &bounds, int value, uint frameNum, SpriteResource *sprites, bool draw)
 
 UIButton ()
 
void setFrame (uint frameNum)
 
void setFrame (uint frameNum, uint selectedFrame)
 

Public Attributes

Common::Rect _bounds
 
SpriteResource_sprites
 
int _value
 
uint _frameNum
 
uint _selectedFrame
 
bool _draw
 

Constructor & Destructor Documentation

◆ UIButton() [1/2]

MM::Xeen::UIButton::UIButton ( const Common::Rect bounds,
int  value,
uint  frameNum,
SpriteResource sprites,
bool  draw 
)
inline

Constructor

◆ UIButton() [2/2]

MM::Xeen::UIButton::UIButton ( )
inline

Constructor

Member Function Documentation

◆ setFrame() [1/2]

void MM::Xeen::UIButton::setFrame ( uint  frameNum)
inline

Set the frame

◆ setFrame() [2/2]

void MM::Xeen::UIButton::setFrame ( uint  frameNum,
uint  selectedFrame 
)
inline

Set the frame


The documentation for this class was generated from the following file: