chrox
0b7554b1d8
add DSHOWOVERLAP in defaults.lua
...
Turn off "show overlap" by default since scroll mode can replace it
in most cases where "show overlap" is used. And the dimmed area often
make new users confused. It's better to leave this feature to more
advanced users.
2013-09-14 19:35:37 +08:00
chrox
75eb0e6f23
bugfix: fix screen ghosting after swiping north/south in scroll mode
...
As swiping north/south will generate several pan gestures which will
set refresh mode to WAVEFORM_MODE_A2, we should explicitly do a full
refresh in order to switch refresh waveform from WAVEFORM_MODE_A2
to WAVEFORM_MODE_GC16 as in OnPanRelease.
2013-08-17 11:01:57 +08:00
chrox
196f72a053
add onGotoPage handler in readerpaging
2013-07-30 23:37:51 +08:00
chrox
07de799237
set fast refresh mode in setDirty method
2013-07-23 14:51:38 +08:00
chrox
f2a6b7c4e3
use WAVEFORM_MODE_A2 when scrolling page
2013-07-22 22:07:49 +08:00
chrox
7b97ce4eeb
comment revision
2013-04-27 17:50:20 +08:00
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.
2013-04-27 16:37:18 +08:00
chrox
d505f39c79
recalculate zoom when toggling flipping mode
2013-04-20 16:15:50 +08:00
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.
2013-04-14 18:02:34 +08:00
chrox
d24131b13b
add panning of page in scroll mode
2013-04-14 17:39:12 +08:00
{Qingping,Dave} Hou
e7fe768497
Merge pull request #28 from chrox/flipping_tweak
...
disable reflow in flipping mode
2013-03-31 15:11:35 -07:00
chrox
dd19d446cf
disable reflow in flipping mode
2013-03-31 21:37:57 +08:00
chrox
df308a895f
set active area for config menu to 1/12 of screen height
2013-03-31 16:40:43 +08:00
chrox
ae40aad56e
use new directions in pan/swipe gesture
2013-03-28 21:07:38 +08:00
chrox
dbe663de46
use two finger swipe gesture to return to original page in flipping mode
2013-03-26 13:18:09 +08:00
chrox
ceae778c0d
bugfix: update current pageno to the very last part in current view
2013-03-23 16:32:13 +08:00
chrox
a16dba8daa
rewind current page after initiating the scroll page states
2013-03-18 17:08:01 +08:00
chrox
cd52704b62
remove original page when toggling flip mode off
2013-03-18 16:07:07 +08:00
Qingping Hou
28e5907d51
use scaleByDPI in all widgets
2013-03-15 20:03:50 -04:00
chrox
e2b16a18a3
comments for clamping scroll offsets
2013-03-16 00:05:00 +08:00
chrox
94792a4574
bugfix: clamp scroll offsets
2013-03-15 23:54:34 +08:00
chrox
d3c9b6866a
bugfix: fix loop scrolling at the beginning/end of the document
2013-03-14 14:51:52 +08:00
chrox
bf303093ed
bugfix: fix loop scrolling in shorter pages
2013-03-13 13:08:09 +08:00
chrox
a6609119ec
disable hinting temporarily in config dialog and flipping mode and cropping dialog
...
Since hinting is of little use in these situations.
2013-03-12 20:28:01 +08:00
chrox
3660625cca
bugfix: detect pan release to update flipping page on which the page
...
calculation of the following flip is based.
2013-03-12 11:28:47 +08:00
chrox
63e5e7e577
add scroll mode for pdf/djvu reader
2013-03-10 14:23:26 +08:00
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.
2013-03-03 22:23:28 +08:00
Qingping Hou
f3452234ea
add math.lua, move all math related helpers in to it
2013-02-19 11:57:14 +08:00
Qingping Hou
d4ff6f9291
first demo of screen rotate
2013-02-02 14:36:29 +08:00
Qingping Hou
db49f1b09c
add ReaderRolling:onRedrawCurrentView()
2013-01-07 16:43:28 -05:00
chrox
c4bc6e3cd3
add percent_finished for KPVBooklet and restore original last_percent
2013-01-07 13:29:00 +08:00
chrox
f41f645465
add last_percent field in pdf/djvu document history
...
And normalize last_percent for cre document
2013-01-07 00:20:30 +08:00
chrox
349bcb996e
use koptinterface to reflow text in pdf/djvu readers
2013-01-03 22:33:49 +08:00
chrox
138def10c3
Demo version of koptreader config dialog.
2012-12-24 08:16:17 +08:00
Qingping Hou
e98a89f8d5
demo for dimming on page overlap
2012-12-08 01:05:10 -05:00
Qingping Hou
90f6dfefb4
code tide up in readerpaging
2012-12-04 17:05:58 +08:00
Qingping Hou
d077bafb6d
fix bug no default zoom mode bug in readerpaging
...
reported by @chrox, see #647
2012-12-04 15:19:50 +08:00
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
2012-12-03 13:48:41 +08:00
Qingping Hou
d4e5b4cb06
add readerpaging and readermenu touch support
2012-11-11 15:25:49 +08:00
Qingping Hou
1c216b6458
add last read page/percent setting support
2012-06-27 01:00:21 +08:00
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.)
2012-05-28 18:59:16 +02:00
HW
9e531fc2db
file reorganisation
...
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
2012-05-19 01:10:57 +02:00