Add setting to enable status bar display options (#111)

Add setting toggle that allows status bar display options in EpubReader.

Supported options would be as follows: 

- FULL: display as is today
- PROGRESS: display progress bar only
- BATTERY: display battery only
- NONE: hide status bar

---------

Co-authored-by: Dave Allie <dave@daveallie.com>
This commit is contained in:
1991AcuraLegendandDave Allie authored and GitHub committed 2025-12-28 10:48:27 +11:00
1 parent 17ca47fefc
commit 0a73f9b50f
4 files changed
+85 -60

No files matched your search

+2 -1
View File
@@ -9,10 +9,11 @@
// Define the static settings list
namespace {
constexpr int settingsCount = 4;
constexpr int settingsCount = 5;
const SettingInfo settingsList[settingsCount] = {
// Should match with SLEEP_SCREEN_MODE
{"Sleep Screen", SettingType::ENUM, &CrossPointSettings::sleepScreen, {"Dark", "Light", "Custom", "Cover"}},
{"Status Bar", SettingType::ENUM, &CrossPointSettings::statusBar, {"None", "No Progress", "Full"}},
{"Extra Paragraph Spacing", SettingType::TOGGLE, &CrossPointSettings::extraParagraphSpacing, {}},
{"Short Power Button Click", SettingType::TOGGLE, &CrossPointSettings::shortPwrBtn, {}},
{"Check for updates", SettingType::ACTION, nullptr, {}},