|
|
| ItemControlField (const std::string &text_, const std::string &input_, 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...
|
| |
|
void | change_input (const std::string &input_) |
| |
|
virtual bool | changes_width () const override |
| | Returns true when the width must be recalculated when an action is processed.
|
| |
§ draw()
| void ItemControlField::draw |
( |
DrawingContext & |
context, |
|
|
const Vector & |
pos, |
|
|
int |
menu_width, |
|
|
bool |
active |
|
) |
| |
|
overridevirtual |
Draws the menu item.
Reimplemented from MenuItem.
§ get_width()
| int ItemControlField::get_width |
( |
| ) |
const |
|
overridevirtual |
Returns the minimum width of the menu item.
Reimplemented from MenuItem.
The documentation for this class was generated from the following files: