virtual int get_width() const override
Returns the minimum width of the menu item.
Definition: item_script_line.cpp:62
virtual void draw(DrawingContext &, const Vector &pos, int menu_width, bool active) override
Draws the menu item.
Definition: item_script_line.cpp:37
Definition: item_textfield.hpp:23
virtual void event(const SDL_Event &ev) override
Processes the given event.
Definition: item_script_line.cpp:68
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42