implement new light mode (off/day/night/simulation)

missing:
- fully connect it to the ui
- setup duration in light settings

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-09-29 23:15:06 +02:00
parent dc66484f5e
commit 08b0e04584
50 changed files with 14880 additions and 8787 deletions

View File

@@ -206,8 +206,8 @@ void Device::DrawScreen(const uint64_t dt) const
if (m_widget != nullptr)
{
m_widget->update(dt);
m_widget->render();
m_widget->Update(dt);
m_widget->Render();
}
RenderU8G2();
@@ -257,7 +257,7 @@ void Device::OnButtonClicked(const ButtonType button) const
if (m_widget != nullptr)
{
m_widget->onButtonClicked(button);
m_widget->OnButtonClicked(button);
}
}