ScummVM API documentation
Crab::pyrodactyl::ui::Menu< T > Class Template Reference

Public Member Functions

void reset ()
 
void setUI ()
 
void load (rapidxml::xml_node< char > *node)
 
int handleEvents (const Common::Event &event, const int &xOffset=0, const int &yOffset=0)
 
void draw (const int &XOffset=0, const int &YOffset=0)
 
void useKeyboard (const bool &val)
 
void clear ()
 
int hoverIndex ()
 
void assignPaths ()
 

Public Attributes

Common::Array< T > _element
 

Protected Types

enum  InputDevice { KEYBOARD, MOUSE }
 
enum  PathType { PATH_DEFAULT, PATH_HORIZONTAL, PATH_VERTICAL }
 

Protected Member Functions

void next ()
 
void prev ()
 
int handleKeyboard (const Common::Event &event)
 

Protected Attributes

int _hoverIndex
 
Common::Array< uint > _path
 
bool _useKeyboard
 
enum Crab::pyrodactyl::ui::Menu::InputDevice _latestInput
 
enum Crab::pyrodactyl::ui::Menu::PathType _pathType
 

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