virtual void draw(DrawingContext &, const Vector &pos, int menu_width, bool active) override
Draws the menu item.
Definition: item_colorchannel.cpp:46
virtual void event(const SDL_Event &ev) override
Processes the given event.
Definition: item_colorchannel.cpp:62
virtual bool changes_width() const override
Returns true when the width must be recalculated when an action is processed.
Definition: item_colorchannel.hpp:43
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42