#include <menu.h>
|
|
static const std::string | m_line_title = "_line_" |
| |
| int MenuLine::calc_width |
( |
| ) |
|
|
inlinevirtual |
| void MenuLine::draw |
( |
bool |
fHighlight, |
|
|
const int |
y0, |
|
|
const int |
x0, |
|
|
const int |
w |
|
) |
| |
|
virtual |
Draw menu on window 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 MenuLine::getActive |
( |
| ) |
|
|
inlinevirtual |
Get active state of menu
- Returns
- Return active state
Implements MenuBaseItem.
| const std::string& MenuLine::getTitle |
( |
| ) |
|
|
inlinevirtual |
Get title of menu
- Returns
- Return title
Implements MenuBaseItem.
| void MenuLine::select |
( |
| ) |
|
|
inlinevirtual |
Select this menu item. Shouldn't be called.
Implements MenuBaseItem.
The documentation for this class was generated from the following files: