Add justification to list of local overrides
This commit is contained in:
@@ -21,6 +21,8 @@ struct RecentBook {
|
||||
int8_t fontSizeOverride = -1;
|
||||
// -1 = use global default, otherwise explicit per-book override (0 = off, 1 = on).
|
||||
int8_t bionicReadingOverride = -1;
|
||||
// -1 = use global setting, otherwise CrossPointSettings::PARAGRAPH_ALIGNMENT value.
|
||||
int8_t paragraphAlignmentOverride = -1;
|
||||
|
||||
bool operator==(const RecentBook& other) const { return path == other.path; }
|
||||
};
|
||||
@@ -77,6 +79,9 @@ class RecentBooksStore {
|
||||
bool setReaderOverrides(const std::string& path, int8_t embeddedStyleOverride, int8_t imageRenderingOverride,
|
||||
int8_t fontFamilyOverride, const std::string& sdFontFamilyOverride, int8_t fontSizeOverride,
|
||||
bool bionicReadingOverride);
|
||||
bool setReaderOverrides(const std::string& path, int8_t embeddedStyleOverride, int8_t imageRenderingOverride,
|
||||
int8_t fontFamilyOverride, const std::string& sdFontFamilyOverride, int8_t fontSizeOverride,
|
||||
bool bionicReadingOverride, int8_t paragraphAlignmentOverride);
|
||||
|
||||
private:
|
||||
bool loadFromBinaryFile();
|
||||
|
||||
Reference in New Issue
Block a user