<NME> readerflip.lua
<BEF> ADDFILE
<MSG> add flipping mode in pdf/djvu reader
By tapping on the upper left corner of the reader one can toggling flipping mode on/off.
In flipping mode swiping right/down and left/up  will paging backward and forward
accordingly with pages proportional to swiping distance.

<DFF> @@ -0,0 +1,16 @@
+
+ReaderFlipping = LeftContainer:new{}
+
+function ReaderFlipping:init()
+	local widget = ImageWidget:new{
+		file = "resources/icons/appbar.book.open.png",
+	}
+	local icon_size = widget:getSize()
+	self.dimen = Geom:new{w = Screen:getWidth(), h = icon_size.h}
+	self[1] = widget
+end
+
+function ReaderFlipping:onSetDogearVisibility(visible)
+	self.view.dogear_visible = visible
+	return true
+end
\ No newline at end of file

{'addition_count': 16, 'commit_subject': 'add flipping mode in pdf/djvu reader By tapping on the upper left corner of the reader one can toggling flipping mode on/off. In flipping mode swiping right/down and left/up  will paging backward and forward accordingly with pages proportional to swiping distance.', 'deletion_count': 0, 'file_extension': '.lua', 'lang': 'lua', 'license': 'agpl-3.0', 'repo_name': 'koreader/koreader'}