14 lines
512 B
C++
14 lines
512 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
#include <TFT_eSPI.h>
|
|
|
|
// Screen timeout setting (Menu > System > Screen Timeout) -
|
|
// Slider from Config::SCREEN_TIMEOUT_MIN_MINUTES to
|
|
// Config::SCREEN_TIMEOUT_MAX_MINUTES, then "Never" as a separate end position.
|
|
// The screensaver toggle (see SettingsStore::screensaverEnabled())
|
|
// also lives here, directly below the slider, since it is closely related to
|
|
// the timeout (only determines WHAT happens on timeout).
|
|
namespace TimeoutScreen {
|
|
void run(TFT_eSPI& tft);
|
|
}
|