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

23 Commits

Author SHA1 Message Date
Qingping Hou
db02c7ca1d apply key repeat from menus 2012-04-28 09:28:50 +08:00
Qingping Hou
1c98aef6a1 fix bug in selectmenu
five way press is not working when menu
if full of items
2012-04-22 09:40:43 +08:00
Qingping Hou
3306346dba use debug to print debug info 2012-04-19 00:16:49 +08:00
HW
57d769e0ae added wrapper function for input.waitForEvent that retries on EINTR 2012-04-12 21:00:44 +02:00
Qingping Hou
28b1f5330a Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-04-10 01:32:59 +08:00
HW
ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
2012-04-09 19:04:26 +02:00
Qingping Hou
81c9ff1cf5 fix: typo in selectmenu.lua 2012-04-09 17:38:50 +08:00
Qingping Hou
7f0faa20bb mod: rewrite filesearcher with command module 2012-04-08 11:57:25 +08:00
Qingping Hou
c89e3efc19 fix: clear commands when no item in menu 2012-03-29 21:16:09 +08:00
Qingping Hou
e94fe052d3 mod: rewrite selectmenu with commands
also fixed bug in page counting
2012-03-29 21:10:52 +08:00
Qingping Hou
9dd3994dd8 fix: handle LPGBCK and LPGFWD in selectmenu 2012-03-14 17:20:48 +08:00
Dobrica Pavlinusic
09610d966e fix typo 2012-03-10 14:09:12 +01:00
Qingping Hou
f95231d789 add: status bar in reading menu & font.lua
* Since fontchooser is replaced by selectmenu, it
is no longer needed. So I rewrite it into font.lua
module which can cache faces that shared among all
UIs.

* add progressBar method in graphics.lua to draw
reading progress.

* add reading progress information in reading menu.
It is just a demo. Should be clean up in next release
when the real reading menu is out. :)
2012-03-10 16:41:23 +08:00
Dobrica Pavlinusic
796b42cc36 track last shortcut assigned and ignore other keys
This change also takes advantage of fact that ev.code increases by 1
with each key in same row which removes a lot of duplication
2012-03-06 19:51:09 +01:00
Dobrica Pavlinusic
88d5f578f8 added last row of keyboard for DXG
DXG has bigger screen, so we have to make sure that we don't have more
than 30 options on screen (or we will run out of shortcuts)
2012-03-06 14:37:00 +01:00
Qingping Hou
89cfac17bd mod: change shortcuts for menu items
Uses Q-P and A-Del
2012-03-06 19:28:12 +08:00
Qingping Hou
25d014634b mod: add 5 pixel margin to the left 2012-03-06 15:50:00 +08:00
Qingping Hou
330d08de68 mod: change variable name in selectmenu.lua 2012-03-06 12:27:19 +08:00
Qingping Hou
6a1b71eaf3 mod: add fast menu item access shortcut 2012-03-06 12:25:04 +08:00
Qingping Hou
6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 2012-03-02 18:38:34 +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
Qingping Hou
fa5b0c9874 mod: toc and jumpstack refactored 2012-02-26 09:47:54 +08:00
Qingping Hou
02713ae2ab add: demo for jumpstack 2012-02-26 08:28:03 +08:00