Add navigation option

This commit is contained in:
jpirnay
2026-05-23 19:49:38 +02:00
parent 3671bdba0b
commit 0f91bdaf78
6 changed files with 335 additions and 7 deletions
@@ -19,6 +19,7 @@ class EpubReaderMenuActivity final : public MenuListActivity {
IMAGE_RENDERING,
TEXT_DARKNESS,
GO_TO_PERCENT,
GO_TO_PRINTED_PAGE,
AUTO_PAGE_TURN,
ROTATE_SCREEN,
SCREENSHOT,
@@ -42,13 +43,13 @@ class EpubReaderMenuActivity final : public MenuListActivity {
const std::string& initialSdFontFamilyOverride, const int8_t initialFontSizeOverride,
const uint8_t initialTextDarkness, const bool initialBionicReadingOverride,
const int8_t initialParagraphAlignmentOverride, const bool hasStarredPages,
const bool isCurrentPageStarred);
const bool isCurrentPageStarred, const bool hasPrintedPages);
void onEnter() override;
void render(RenderLock&&) override;
private:
void buildMenuItems(bool hasFootnotes, bool hasStarredPages);
void buildMenuItems(bool hasFootnotes, bool hasStarredPages, bool hasPrintedPages);
bool currentPageStarred = false;
void finishWithAction(MenuAction action);