v2.3: Twinkling star animation extended to all menus and splash screen, WiFi submenu removed

This commit is contained in:
Eiswolf-BG
2026-08-05 05:49:51 +02:00
parent d89024e419
commit 59aa5af1b2
16 changed files with 129 additions and 29 deletions

View File

@@ -10,6 +10,7 @@
#include "units_screen.h"
#include "settings_backup.h"
#include "settings_store.h"
#include "menu_stars.h"
#include "i18n.h"
#include "config.h"
@@ -77,6 +78,7 @@ namespace {
void run(TFT_eSPI& tft) {
Page page = Page::Main;
bool done = false;
MenuStars::reset();
while (!done) {
tft.fillScreen(TFT_BLACK);
@@ -101,6 +103,7 @@ void run(TFT_eSPI& tft) {
TouchInput::Point tap;
while (true) {
if (TouchInput::wasTapped(tap)) break;
MenuStars::update(tft);
delay(20);
}
@@ -132,6 +135,7 @@ void run(TFT_eSPI& tft) {
TouchInput::Point tap;
while (true) {
if (TouchInput::wasTapped(tap)) break;
MenuStars::update(tft);
delay(20);
}
@@ -170,6 +174,7 @@ void run(TFT_eSPI& tft) {
TouchInput::Point tap;
while (true) {
if (TouchInput::wasTapped(tap)) break;
MenuStars::update(tft);
delay(20);
}
@@ -227,6 +232,7 @@ void run(TFT_eSPI& tft) {
TouchInput::Point tap;
while (true) {
if (TouchInput::wasTapped(tap)) break;
MenuStars::update(tft);
delay(20);
}