1.10 |
Drawable function object. More...
#include <theme.h>
Public Types | |
using | DrawFunction = std::function< void(T &widget, Painter &painter, const Rect &rect)> |
Definition of the draw function. | |
Public Member Functions | |
virtual void | operator() (T &widget, Painter &painter, const Rect &rect)=0 |
Implementation of the actual draw function. | |
Drawable function object.
This class defines what is necessary to implement the draw() function of a widget type.
using DrawFunction = std::function<void(T& widget, Painter& painter, const Rect& rect)> |
Definition of the draw function.