HW
09cd5c4104
Make DEBUG a require()d local
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
chrox
979d4c5d48
add DHINTCOUNT in defaults.lua
...
It controls how many number of pages will be hinted in background
after one page has been drawn. Default DHINTCOUNT is 2.
11 years ago
chrox
5b1ca4b101
remove associated scroll mode setting with zoom mode
11 years ago
Qingping Hou
0d902a1a4c
add scrollmode and fullscreen mode to defaults
11 years ago
chrox
f87c67308a
toggle scroll mode on when zooming to content*
...
and toggle scrool mode off when zooming to page*.
11 years ago
chrox
8df55b8318
recalculate zoom when changing font size
12 years ago
chrox
fb05f9a428
add auto page crop
12 years ago
Qingping Hou
3602c61b1f
add gettext to all reader widgets
12 years ago
chrox
a105d463a8
use pinch/spread gestures to set zoom mode
12 years ago
Qingping Hou
1fcb5281a0
use touchmenu widget in readermenu
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
64949444f6
bugfix: calculate page zoom before hinting
12 years ago
chrox
46357d617c
cleanup: lookup reader view states like pageno and screen offset directly in self.view
12 years ago
Qingping Hou
ae6c4bd03a
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
...
Conflicts:
frontend/ui/reader/readerconfig.lua
12 years ago
chrox
a1aa41136c
add manual page crop for pdf/djvu documents
12 years ago
Qingping Hou
d4ff6f9291
first demo of screen rotate
12 years ago
Qingping Hou
dbd27cd600
rename ReaderMenu:addToMainMenuCallback to registerToMainMenu
...
since we are actully inserting widgets, not callbacks
12 years ago
Qingping Hou
5b6558383d
register ReaderZooming's zoommode menu in ReaderMenu
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
7b707ab367
add usedbbox support
12 years ago
Qingping Hou
ba3973b2ac
add all zoom modes support to reader menu
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