First working LUA widget: Timer2

This commit is contained in:
Raphael Coeffic
2021-05-06 12:55:59 +02:00
committed by Raphael Coeffic
parent ca36c9595e
commit 72a7409d10
8 changed files with 171 additions and 155 deletions
+7 -5
View File
@@ -48,10 +48,6 @@ class Widget : public Window
~Widget() override = default;
virtual void update()
{
}
inline const WidgetFactory * getFactory() const
{
return factory;
@@ -81,7 +77,13 @@ class Widget : public Window
{
return persistentData;
}
// Called when the widget options have changed
virtual void update()
{
}
// Called at regular time interval, even if the widget cannot be seen
virtual void background()
{
}