|
| MenuItem (std::string name, uint32_t width, uint32_t height) |
|
virtual bool | IsEnterable () const |
|
virtual void | Draw () |
|
virtual void | OnEnter () |
|
virtual void | Activate () |
|
virtual void | ActivateCurrentSuite () |
|
virtual bool | Deactivate () |
|
virtual void | CursorUp (bool is_repeat) |
|
virtual void | CursorDown (bool is_repeat) |
|
virtual void | CursorLeft (bool is_repeat) |
|
virtual void | CursorRight (bool is_repeat) |
|
void | CursorUpAndActivate () |
|
void | CursorDownAndActivate () |
|
|
static void | SetBackgroundColor (uint32_t background_color) |
|
|
uint32_t | width |
|
uint32_t | height |
|
std::string | name |
|
uint32_t | cursor_position {0} |
|
std::vector< std::shared_ptr< MenuItem > > | submenu {} |
|
std::shared_ptr< MenuItem > | active_submenu {} |
|
MenuItem * | parent {nullptr} |
|
|
static uint32_t | menu_background_color_ = 0xFF3E003E |
|
|
void | PrepareDraw (uint32_t background_color) const |
|
The documentation for this struct was generated from the following files: