Update widgets
This commit is contained in:
parent
eb079e1386
commit
d80dfd895d
18 changed files with 171 additions and 124 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue