feat(sleep-screen): add sleep screen orientation setting (#1748)

Co-authored-by: Travis Davis <me@tdavis.dev>
This commit is contained in:
xiro-codes
2026-05-08 11:41:06 +03:00
committed by GitHub
co-authored by Travis Davis
parent e8d7153d7f
commit e3fb3bba37
4 changed files with 8 additions and 1 deletions
+3
View File
@@ -22,6 +22,9 @@ inline const std::vector<SettingInfo>& getSettingsList() {
"sleepScreen", StrId::STR_CAT_DISPLAY),
SettingInfo::Enum(StrId::STR_SLEEP_COVER_MODE, &CrossPointSettings::sleepScreenCoverMode,
{StrId::STR_FIT, StrId::STR_CROP}, "sleepScreenCoverMode", StrId::STR_CAT_DISPLAY),
SettingInfo::Enum(StrId::STR_SLEEP_ORIENTATION, &CrossPointSettings::sleepScreenOrientation,
{StrId::STR_PORTRAIT, StrId::STR_LANDSCAPE_CW, StrId::STR_INVERTED, StrId::STR_LANDSCAPE_CCW},
"sleepScreenOrientation", StrId::STR_CAT_DISPLAY),
SettingInfo::Enum(StrId::STR_SLEEP_COVER_FILTER, &CrossPointSettings::sleepScreenCoverFilter,
{StrId::STR_NONE_OPT, StrId::STR_FILTER_CONTRAST, StrId::STR_INVERTED},
"sleepScreenCoverFilter", StrId::STR_CAT_DISPLAY),