Update widgets

This commit is contained in:
IlyaShurupov 2024-05-07 12:04:36 +03:00
parent eb079e1386
commit d80dfd895d
18 changed files with 171 additions and 124 deletions

View file

@ -11,7 +11,7 @@ namespace tp {
public:
TextInputWidget() = default;
void drawCallback(Canvas&) override {
void eventDraw(Canvas&) override {
nChanged = false;
const auto col = mAccentColor;
@ -51,7 +51,7 @@ namespace tp {
}
public:
void updateConfigCallback(WidgetManager& wm) override {
void eventUpdateConfiguration(WidgetManager& wm) override {
wm.setActiveId("TextInput");
mAccentColor = wm.getColor("Accent", "Accent");