#include <menu.h>
|
|
bool | m_active |
| | True if active.
|
| |
|
const std::string | m_title |
| | Title of menu item.
|
| |
|
const std::string | m_action |
| | name of action of menu item
|
| |
|
const std::string | m_key |
| | Key binding of menu item.
|
| |
| int MenuItem::calc_width |
( |
| ) |
|
|
virtual |
| void MenuItem::draw |
( |
bool |
fHighlight, |
|
|
const int |
y0, |
|
|
const int |
x0, |
|
|
const int |
w |
|
) |
| |
|
inlinevirtual |
Draw menu title in drop down box at given coordinates
- Parameters
-
| fHighlight | Highlight this item if true |
| y0 | y origin of item |
| x0 | x origin of item |
| w | width of item |
Implements MenuBaseItem.
| bool MenuItem::getActive |
( |
| ) |
|
|
inlinevirtual |
Get active state of menu
- Returns
- Return active state
Implements MenuBaseItem.
| const std::string& MenuItem::getTitle |
( |
| ) |
|
|
inlinevirtual |
Get title of menu
- Returns
- Return title
Implements MenuBaseItem.
| void MenuItem::select |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files: