Update widgets

This commit is contained in:
IlyaShurupov 2024-05-07 12:04:36 +03:00 committed by Ilya Shurupov
parent 35cb553ecb
commit 0f8fb5c580
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");