chrox
7b97ce4eeb
comment revision
12 years ago
chrox
b85a39d3f6
add reading position on each page
...
Page position is a fractional number ranging from 0 to 1, indicating the read percentage on
certain page. With the position information on each page whenever users change font size,
page margin or line spacing or close and reopen the book, the page view will be roughly the same.
12 years ago
chrox
d505f39c79
recalculate zoom when toggling flipping mode
12 years ago
chrox
4fbebe0d4c
horizontal swipe in flipping mode will use stepped paging
...
Proportional to swipe distance the page increment is stepped as
0, 1, 2, 5, 10, 20, 50 and 100.
12 years ago
chrox
d24131b13b
add panning of page in scroll mode
12 years ago
{Qingping,Dave} Hou
e7fe768497
Merge pull request #28 from chrox/flipping_tweak
...
disable reflow in flipping mode
12 years ago
chrox
dd19d446cf
disable reflow in flipping mode
12 years ago
chrox
df308a895f
set active area for config menu to 1/12 of screen height
12 years ago
chrox
ae40aad56e
use new directions in pan/swipe gesture
12 years ago
chrox
dbe663de46
use two finger swipe gesture to return to original page in flipping mode
12 years ago
chrox
ceae778c0d
bugfix: update current pageno to the very last part in current view
12 years ago
chrox
a16dba8daa
rewind current page after initiating the scroll page states
12 years ago
chrox
cd52704b62
remove original page when toggling flip mode off
12 years ago
Qingping Hou
28e5907d51
use scaleByDPI in all widgets
12 years ago
chrox
e2b16a18a3
comments for clamping scroll offsets
12 years ago
chrox
94792a4574
bugfix: clamp scroll offsets
12 years ago
chrox
d3c9b6866a
bugfix: fix loop scrolling at the beginning/end of the document
12 years ago
chrox
bf303093ed
bugfix: fix loop scrolling in shorter pages
12 years ago
chrox
a6609119ec
disable hinting temporarily in config dialog and flipping mode and cropping dialog
...
Since hinting is of little use in these situations.
12 years ago
chrox
3660625cca
bugfix: detect pan release to update flipping page on which the page
...
calculation of the following flip is based.
12 years ago
chrox
63e5e7e577
add scroll mode for pdf/djvu reader
12 years ago
chrox
1bd8dfcee1
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.
12 years ago
Qingping Hou
f3452234ea
add math.lua, move all math related helpers in to it
12 years ago
Qingping Hou
d4ff6f9291
first demo of screen rotate
12 years ago
Qingping Hou
db49f1b09c
add ReaderRolling:onRedrawCurrentView()
12 years ago
chrox
c4bc6e3cd3
add percent_finished for KPVBooklet and restore original last_percent
12 years ago
chrox
f41f645465
add last_percent field in pdf/djvu document history
...
And normalize last_percent for cre document
12 years ago
chrox
349bcb996e
use koptinterface to reflow text in pdf/djvu readers
12 years ago
chrox
138def10c3
Demo version of koptreader config dialog.
12 years ago
Qingping Hou
e98a89f8d5
demo for dimming on page overlap
12 years ago
Qingping Hou
90f6dfefb4
code tide up in readerpaging
12 years ago
Qingping Hou
d077bafb6d
fix bug no default zoom mode bug in readerpaging
...
reported by @chrox, see #647
12 years ago
Qingping Hou
ae1c489a0f
implement full pageturn by viewport for all modes
...
* add notIntersectWith method for Geom
* add math.roundAwayFromZero in geometry.lua
* Readerview:recalculate now signals ViewRecalculate event.
For now, this event is only usefull for ReaderPaging
12 years ago
Qingping Hou
d4e5b4cb06
add readerpaging and readermenu touch support
12 years ago
Qingping Hou
1c216b6458
add last read page/percent setting support
12 years ago
HW
60ccd7441e
fixed menu info displaying, replaced debug() by DEBUG()
...
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
13 years ago
HW
9e531fc2db
file reorganisation
...
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
13 years ago