|
|
| ItemBack (const std::string &text, int id=-1) |
| |
| virtual void | draw (DrawingContext &, const Vector &pos, int menu_width, bool active) override |
| | Draws the menu item. More...
|
| |
| virtual int | get_width () const override |
| | Returns the minimum width of the menu item. More...
|
| |
| virtual void | process_action (const MenuAction &action) override |
| | Processes the menu action. More...
|
| |
| virtual bool | no_other_action () const override |
| | Returns true when the memu manager shouldn't do anything else. More...
|
| |
◆ draw()
| void ItemBack::draw |
( |
DrawingContext & |
context, |
|
|
const Vector & |
pos, |
|
|
int |
menu_width, |
|
|
bool |
active |
|
) |
| |
|
overridevirtual |
Draws the menu item.
Reimplemented from MenuItem.
◆ get_width()
| int ItemBack::get_width |
( |
| ) |
const |
|
overridevirtual |
Returns the minimum width of the menu item.
Reimplemented from MenuItem.
◆ no_other_action()
| virtual bool ItemBack::no_other_action |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns true when the memu manager shouldn't do anything else.
Reimplemented from MenuItem.
◆ process_action()
| void ItemBack::process_action |
( |
const MenuAction & |
action | ) |
|
|
overridevirtual |
Processes the menu action.
Reimplemented from MenuItem.
The documentation for this class was generated from the following files: