2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

1474 Commits

Author SHA1 Message Date
chrox
72d806fbfc adjust four corners of page bbox 2013-02-05 21:35:17 +08:00
chrox
8c1c51e230 use hold event to cancel page crop 2013-02-05 21:11:53 +08:00
chrox
21c972a786 hide DPI dependency in Font module 2013-02-05 18:15:45 +08:00
Qingping Hou
cc5a431b70 properly close ReaderConfig on screen rotate 2013-02-04 15:03:17 +08:00
Qingping Hou
ae6c4bd03a Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
Conflicts:
	frontend/ui/reader/readerconfig.lua
2013-02-04 15:00:17 +08:00
Qingping Hou
681c788971 fix bug for touch event coordinates handling in landscape mode
This fix might only work for KPW, need to test on other devies
later.
2013-02-04 14:56:22 +08:00
{Qingping,Dave} Hou
0c26a3e942 Merge pull request #734 from chrox/man-crop
add manual page crop for pdf/djvu documents
2013-02-03 07:31:57 -08:00
chrox
0ed5d05bc0 hash current bbox explicitly 2013-02-03 22:58:30 +08:00
chrox
4675a220d8 add current bbox in page rendering hash
So that changing bbox could take effect on current page.
2013-02-03 21:36:11 +08:00
Huang Xin
a50049b2f0 Merge pull request #733 from houqp/new_ui_code
add menu to filemanager
2013-02-03 03:38:03 -08:00
chrox
92586a3b95 cleanup unused debugs 2013-02-03 17:49:02 +08:00
chrox
ccf9141dd8 move BBoxWidget to bbox.lua in ui directory 2013-02-03 16:15:54 +08:00
Qingping Hou
f91c913530 set default_arg for screen_mode option on runtime 2013-02-03 13:17:02 +08:00
Qingping Hou
0dba667937 rename setScreenViewMode to setScreenMode 2013-02-03 13:13:46 +08:00
Qingping Hou
2218d3bd73 add getScreenMode in screen.lua 2013-02-03 13:10:11 +08:00
Qingping Hou
03b73712bc Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
Conflicts:
	frontend/document/koptinterface.lua
2013-02-03 12:34:55 +08:00
chrox
47371ea8b4 use hold_release event to cancel page crop 2013-02-03 12:29:30 +08:00
chrox
1be80d15ae code cleanup 2013-02-03 11:28:50 +08:00
chrox
1c40d127cd add icon option items in config dialog 2013-02-03 11:26:14 +08:00
chrox
25bcbfa53a set menu font size according to screen dpi 2013-02-03 05:16:19 +08:00
Qingping Hou
d0ffb09489 fix adjustGesCoordinate 2013-02-03 04:47:34 +08:00
chrox
a1aa41136c add manual page crop for pdf/djvu documents 2013-02-03 04:42:59 +08:00
Qingping Hou
2090dabf22 add menu to FileManager 2013-02-03 03:41:35 +08:00
Qingping Hou
22c3043959 add calling item.callback() as default onMenuChoice action 2013-02-03 03:35:25 +08:00
Qingping Hou
9468b504c1 add close button toggle for menu widget 2013-02-03 01:43:47 +08:00
Qingping Hou
df9b8916b7 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2013-02-03 01:15:07 +08:00
Qingping Hou
2d9534e092 add screen rotate to readerconfig 2013-02-02 17:02:36 +08:00
Qingping Hou
f02d8fa7b5 add SetScreenViewMode event and related handler in ReaderView 2013-02-02 16:46:06 +08:00
Qingping Hou
dd7e26a986 fix crash in goint into screen saver 2013-02-02 16:37:48 +08:00
Qingping Hou
01e1f72bdd ReaderConfig: bind touch event listener range with widget dimen
So we only need to change widget dimen on SetDimensions event
2013-02-02 16:14:15 +08:00
Qingping Hou
d4ff6f9291 first demo of screen rotate 2013-02-02 14:36:29 +08:00
Qingping Hou
78691fd499 add blitToBufferRotate to blitbuffer.c 2013-01-31 13:58:14 +08:00
{Qingping,Dave} Hou
ddfe5ca3a9 Merge pull request #730 from chrox/toggle_switch
add toggle switch widget in config option
2013-01-25 20:22:38 -08:00
chrox
563fd50dc3 add toggle switch widget in config option 2013-01-25 23:53:00 +08:00
{Qingping,Dave} Hou
5f002a786f Merge pull request #729 from chrox/new_ui_code
update k2pdfopt to version 1.64a
2013-01-23 07:16:04 -08:00
chrox
b7e5921d40 update k2pdfopt to version 1.64a 2013-01-23 20:36:05 +08:00
Huang Xin
0bb3edea39 Merge pull request #721 from houqp/new_ui_houqp
add css file selection menu for crengine
2013-01-22 06:47:38 -08:00
Qingping Hou
c755309682 set self.css to nil when there is no external css 2013-01-22 10:28:35 +08:00
Qingping Hou
69260aaac8 cosmetic changes to menu wording 2013-01-22 06:37:08 +08:00
Qingping Hou
f216be49a7 two changes to ReaderTypeset
* now we only use Embedded CSS by default
* add toggleEmbeddedStyleSheet methods
2013-01-22 06:28:34 +08:00
Qingping Hou
6d8ebb4126 adapt credocument to new changes in cre.cpp 2013-01-22 06:27:22 +08:00
Qingping Hou
8771bb8e65 API changes in cre.cpp
* now css argument is removed from newDocView call.
* when setStyleSheet method cannot read given css file, it
  clears all the applied style.
* add setEmbeddedStyleSheet method.
2013-01-22 06:26:28 +08:00
Qingping Hou
bcae90593d Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp 2013-01-19 11:44:12 +08:00
Huang Xin
f99cea8354 Merge pull request #720 from houqp/new_ui_fix
fix: check number of pages before calling hintPage
2013-01-17 21:36:12 -08:00
Qingping Hou
50e8750db4 fix: check number of pages before calling hintPage
otherwise, we will reach out page limit when reached last page
2013-01-17 20:20:44 -05:00
Qingping Hou
fe6d161382 add readertypeset.lua 2013-01-17 17:13:57 -05:00
Qingping Hou
268926edf3 add readertypeset to readerui 2013-01-17 17:12:50 -05:00
Qingping Hou
65910b2017 add default_css to credocument 2013-01-17 17:12:20 -05:00
Qingping Hou
6c4da43dbf add setStyleSheet method to credocument 2013-01-17 16:59:40 -05:00
Qingping Hou
272c7a2e25 bug fix: read css file name instread of content in cre:setStyleSheet 2013-01-17 16:58:45 -05:00