chrox
4cfdce6105
fix several local calls of Math.round
11 years ago
HW
09cd5c4104
Make DEBUG a require()d local
11 years ago
HW
2154e7e852
Further refactoring
...
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago
chrox
2f61b96748
fix wrong zoom value after returning from cropping dialog
11 years ago
Huang Xin
c8a1fb4935
if original zoom mode is not "content", set zoom mode to "contentwidth" after cropping
...
Otherwise, users will feel confused that the view stays the same after cropping if current mode is fit-to-page.
11 years ago
Qingping Hou
f36279ed53
wrap text with gettext in readercropping and readerfont
12 years ago
Qingping Hou
241420b8bc
more minor cleanup
12 years ago
chrox
94ea2b8250
bugfix: require button widget
12 years ago
Qingping Hou
10d980ed87
rearranged source tree
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
63e5e7e577
add scroll mode for pdf/djvu reader
12 years ago
chrox
5bf9df5d15
set bgcolor to gray in cropping dialog
12 years ago
{Qingping,Dave} Hou
d730f0d27b
Merge pull request #766 from chrox/progress_bar
...
add reading progress bar at the bottom of ReaderView for pdf/djvu reader
12 years ago
chrox
c5b4d958bb
add reading progress bar at the bottom of ReaderView for pdf/djvu reader
...
And there is also a toggle full screen option to turn on/off the progress bar.
12 years ago
chrox
16c2ea23b6
add double tap gesture on page area to confirm cropping
...
And round bbox coordinates.
12 years ago
chrox
7f179c1fa7
confirm and cancel gestures in cropping dialog are replaced by OK/Cancel buttons
...
Now only "tap" and "pan" gestures are allowed in cropping dialog.
12 years ago
chrox
46357d617c
cleanup: lookup reader view states like pageno and screen offset directly in self.view
12 years ago
chrox
a962f49486
cleanup: use additional param in favor of flag variable
12 years ago
chrox
25d8d24775
cleanup: remove debug info
12 years ago
chrox
f4614db988
set zoom mode to content after manual cropping
12 years ago
chrox
dd96fa7b42
fix visible_area recalculate for manual crop in reflow mode
12 years ago
Qingping Hou
0d1179a914
always make sure we switch to page mode in manual cropping
12 years ago
Qingping Hou
5b5f6856d3
fix visible_area recalculate for manual crop in reflow mode
12 years ago
chrox
94a6cbbf28
bugfix: restore original zoom mode after cropping
12 years ago
chrox
ccf9141dd8
move BBoxWidget to bbox.lua in ui directory
12 years ago
chrox
47371ea8b4
use hold_release event to cancel page crop
12 years ago
chrox
a1aa41136c
add manual page crop for pdf/djvu documents
12 years ago