Integrate and extend pr 1372 by andreaturchet
This commit is contained in:
@@ -26,6 +26,8 @@ class EpubReaderMenuActivity final : public MenuListActivity {
|
||||
GO_HOME,
|
||||
PULL_REMOTE,
|
||||
PUSH_LOCAL,
|
||||
SYNC,
|
||||
STARRED_PAGES,
|
||||
DELETE_CACHE
|
||||
};
|
||||
|
||||
@@ -33,13 +35,14 @@ class EpubReaderMenuActivity final : public MenuListActivity {
|
||||
const int currentPage, const int totalPages, const int bookProgressPercent,
|
||||
const uint8_t currentOrientation, const bool hasFootnotes,
|
||||
const int8_t initialEmbeddedStyleOverride, const int8_t initialImageRenderingOverride,
|
||||
const uint8_t initialTextDarkness);
|
||||
const uint8_t initialTextDarkness,
|
||||
const bool hasStarredPages);
|
||||
|
||||
void onEnter() override;
|
||||
void render(RenderLock&&) override;
|
||||
|
||||
private:
|
||||
void buildMenuItems(bool hasFootnotes);
|
||||
void buildMenuItems(bool hasFootnotes, bool hasStarredPages);
|
||||
void finishWithAction(MenuAction action);
|
||||
|
||||
// MenuListActivity overrides
|
||||
|
||||
Reference in New Issue
Block a user