1.10 |
Keeps track of what's been changed with Drawer::draw() changes. More...
#include <theme.h>
Public Types | |
using | ResetFunction = std::function< void()> |
Reset function type. | |
Static Public Member Functions | |
static void | add (const ResetFunction &func) |
Add a custom reset function. | |
static void | reset () |
Execute reset functions. | |
Keeps track of what's been changed with Drawer::draw() changes.
This provides a utility to reset or undo any of Drawer changes, specifically when switching themes.
using ResetFunction = std::function<void()> |
Reset function type.
|
inlinestatic |
Add a custom reset function.
|
inlinestatic |
Execute reset functions.