2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Qingping Hou
516e32bc46 mod: call different reader in reader.lua
call PDFReader or DJVUReader according to filetype
2012-03-03 19:51:49 +08:00
Qingping Hou
e258371134 mod: add closePage and demo for filechooser 2012-03-03 17:17:35 +08:00
Qingping Hou
6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 2012-03-02 18:38:34 +08:00
Qingping Hou
aa5806accd Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
Conflicts:
	pdfreader.lua
2012-03-02 13:58:39 +08:00
Qingping Hou
53d4016c64 fix: move shiftmode and altmode to global
now shiftmode and altmode is recoreded in Keys module.  So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.

For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
2012-03-02 13:46:15 +08:00
HW
6698cf157c Merge pull request #21 from dpavlin/master
implement new two-column zoom mode (F)
2012-03-01 15:16:36 -08:00
Dobrica Pavlinusic
03be0680c5 correctly pass path to FileSearcher 2012-02-29 20:56:37 +01:00
Qingping Hou
d81b9aa74e mod: reset search root 2012-02-28 23:07:57 +08:00
Qingping Hou
ec33e51d87 fix: bug in font menu 2012-02-28 23:05:26 +08:00
Qingping Hou
15b8f4d574 mod: fontchooser and pdfreader code clean up 2012-02-26 10:42:04 +08:00
Qingping Hou
35340f27ce fix: typo 2012-02-24 00:34:50 +08:00
Qingping Hou
85cb570e88 fix: unify font changes to all menus 2012-02-24 00:16:20 +08:00
Qingping Hou
417ef640a7 Merge branch 'rotate'
Conflicts:
	filechooser.lua

* merge rotate branch with search branch
* fix font display bug in font menu

not fully tested the new rotation implemention yet.
2012-02-19 15:29:51 +08:00
Qingping Hou
060ad5cb01 finished search feature! 2012-02-19 14:41:44 +08:00
Qingping Hou
f9804a1c92 searcher demo finished!
waiting for refractory.
2012-02-19 09:54:52 +08:00
Qingping Hou
32d1bede8c start working on filesearcher 2012-02-19 07:21:50 +08:00
Qingping Hou
29a9996fb2 mod: inputbox finished 2012-02-18 20:32:38 +08:00
Qingping Hou
8fdb0a4c3e add: demo for inputbox 2012-02-18 18:21:03 +08:00
Qingping Hou
262b8113f7 add: adjustFWKey(code)
adjustFWKey() will change code event for five way keys
according to current rotation mode. Add this to the
input.waitForEvent loop and your UI can navigate properly
in different rotation mode.
2012-02-17 14:52:54 +08:00
Qingping Hou
019695255d add: a demo for text input 2012-02-17 13:46:40 +08:00
Qingping Hou
9cf646b2a6 add: fontchooser 2012-02-16 15:19:56 +08:00
Qingping Hou
72f9c5690f fix: detect emu mode in rotationMode
if in emu mode, simply return 0
2012-02-15 17:27:26 +08:00
Qingping Hou
a9c915dc30 Make sure rotation mode is correctly read with assert 2012-02-06 21:47:02 +08:00
Qingping Hou
b69c1318a2 add: support for fle navigation after rotation
now filechooser can properly navigate through files
in rotated screen.
2012-02-05 11:09:22 +08:00
HW
0c2e6c4102 fixed bug in key naming 2011-12-09 00:22:09 +01:00
HW
7e04b9a797 fixed more bugs 2011-12-08 19:52:07 +01:00
HW
c47512a01d slight refactoring of filechooser so it remembers state 2011-12-08 19:01:40 +01:00
HW
6160f7fa7c Forgot to add the actual file chooser, do that now 2011-12-08 17:56:07 +01:00