feat: add status screen with system info display
This commit is contained in:
@@ -31,6 +31,7 @@ private:
|
||||
void drawBoot(const ScreenState& st);
|
||||
void drawAlert(const ScreenState& st);
|
||||
void drawDashboard(const ScreenState& st);
|
||||
void drawStatus(const ScreenState& st);
|
||||
|
||||
TFT_eSPI _tft;
|
||||
|
||||
@@ -40,6 +41,11 @@ private:
|
||||
BootStage _lastBootStage = BootStage::SPLASH;
|
||||
bool _needsRedraw = true;
|
||||
|
||||
// Touch hint for alert - progressive fill from bottom
|
||||
bool _alertTouchDown = false;
|
||||
uint32_t _alertTouchStartMs = 0;
|
||||
static constexpr uint32_t ALERT_FILL_DURATION_MS = 3000;
|
||||
|
||||
// Touch tracking for press/release detection
|
||||
bool _touchWasPressed = false;
|
||||
int _touchDownX = -1;
|
||||
|
||||
Reference in New Issue
Block a user