28 void draw()
const override;
29 void render(
bool force)
const override;
30 void update(time_t time_ms)
override;
37 DERIVE_EVENT_HANDLERS(
Blink)
A wrapper widget that causes its child to blink.
Definition blink.hpp:11
void update(time_t time_ms) override
Update any internal state of the widget, and check if it needs to be re-rendered.
void drawDone() override
Reset any state variables after rendering has finished.
void render(bool force) const override
Recursively render this widget and any child widgets that need it.
Blink(Widget *child, time_t time=1000)
Constructor.
Size size() const override
Get the size of the widget.
void draw() const override
Render the widget to the screen.
Bounds bounds() const override
Get the rendering bounds of this widget.
A struct that holds the pixel space that a widget would take up on the screen.
Definition bounds.hpp:11
A struct that holds the number of pixels that a widget would take up on the screen.
Definition size.hpp:17