Qingping Hou
79839021ed
Merge branch 'new_ui_code' into hint_page_fix
...
Conflicts:
frontend/ui/reader/readerview.lua
2013-01-09 12:19:46 +08:00
Qingping Hou
1fa0d886bd
add render mode to hint page
2013-01-09 05:51:53 +08:00
Qingping Hou
204cfb2b17
return true in event handlers
...
we should do that when we know a event handler is only used in
that widget
2013-01-07 12:51:25 -05:00
Qingping Hou
2f36d6604b
add setViewMode handler for readerrolling and readerview
2013-01-07 07:05:48 -05:00
chrox
12a76fee33
add pre-rendering in pdf/djvu readers
...
"HintPage" tasks are scheduled into the execution stack of UIManager
after each page drawing. These tasks should be checked immediately after
screen is refreshed so tasks are double-checked in the main loop.
2013-01-05 22:28:14 +08:00
Qingping Hou
120f7b0252
bug fix: signal ViewRecalculate event after panning
...
This make sure ReaderPaging get correct visible_area when
turnning to previous page.
2012-12-30 22:53:57 -05:00
Qingping Hou
93abd2fee7
add page status to readerrolling for better page view_mode support
...
* now when rendering in page view mode, we only keep track of page
number instead of pos inside document. Because using pos inside
document for page view mode is really a bad idea and will lead to
many unsovlabe bugs...
2012-12-22 13:27:46 +08:00
Qingping Hou
1675d8667b
add cre view mode support in frontend
2012-12-13 12:41:48 +08:00
Qingping Hou
e98a89f8d5
demo for dimming on page overlap
2012-12-08 01:05:10 -05: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
7b707ab367
add usedbbox support
2012-12-02 17:09:32 +08:00
{Qingping,Dave} Hou
267ed42be6
Merge pull request #638 from houqp/new_ui_code_fix
...
zoom mode support in reader menu & menu module bug fix
2012-11-29 07:33:54 -08:00
chrox
4dd9232194
recalculate page size after each call of drawPage
...
Only after renderPage is called can koptdocument update
reflowed page size. And the recalculate acts as a page
size updater here.
2012-11-29 21:58:24 +08:00
Qingping Hou
ba3973b2ac
add all zoom modes support to reader menu
2012-11-26 15:30:24 +08:00
Qingping Hou
ea022b651f
add rendermode support for djvu documents
2012-10-09 18:26:01 -04:00
Qingping Hou
51ed793d14
add screen rotate support
2012-06-13 00:14:23 +08:00
Qingping Hou
0ddc9f6e99
add back readerfont.lua
2012-06-12 18:04:08 +08:00
Qingping Hou
acaf8d660e
font menu for readerui
2012-06-12 17:42:28 +08:00
HW
ce5614ef6f
cleanup, also removal of G_* constants
...
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
2012-06-10 17:36:19 +02:00
Qingping Hou
e7d16de4e2
first demo for credocument
2012-06-05 15:23:36 +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