Add a manga reading mode which displays image in reverse order in double page mode.

The mode is triggered by selecting the "21" double page icon next to the double page icon.
This commit is contained in:
Felix Kauselmann
2014-06-29 21:38:00 +02:00
parent 09a5eed591
commit 599f7ffcf3
11 changed files with 129 additions and 65 deletions

View File

@ -23,6 +23,7 @@ fullscreen(false),
information(false),
adjustToWidthRatio(1),
doublePage(false),
doubleMangaPage(false),
wheelStop(false),
direction(1),
restoreMagnifyingGlass(false),
@ -688,6 +689,13 @@ void Viewer::doublePageSwitch()
Configuration::getConfiguration().setDoublePage(doublePage);
}
void Viewer::doubleMangaPageSwitch()
{
doubleMangaPage = !doubleMangaPage;
render->doubleMangaPageSwitch();
Configuration::getConfiguration().setDoubleMangaPage(doubleMangaPage);
}
void Viewer::resetContent()
{
configureContent(tr("Press 'O' to open comic."));