hwhw/kindlepdfviewer — pull request #555 by kai771 (2012-11-09 00:03:06+00:00)
Title: Implements page mode as a toggle

Implements a toggle between page and viewport mode in fit-to-content-width and 2-column-mode.

I read that many people asked for page buttons in 2-column-mode to move viewport, like in a fit-to-content-width. I also read that dpavlin wasn't happy with that idea, but I hope he won't mind this: a toggle. Initially, page-turn buttons will move viewport now. Pressing P will make them change page. The setting is saved per book.

While I'was implementing this, I came across a few bugs with 2 column mode, and fixed them on the way. Sorry that I didn't separate them from the new feature, but they are kinda connected to each other so... A lot of changes :(. Needs to be thoroughly tested.