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

30 Commits

Author SHA1 Message Date
chrox
1e8f07629f don't pop-up TOC window 2015-02-01 21:36:22 +08:00
Hans-Werner Hilse
22697adf20 switch from scaleByDPI() to scaleBySize() 2014-11-23 12:13:32 +00:00
Hans-Werner Hilse
3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
2014-11-02 21:19:04 +01:00
chrox
91400f8fef expand/collapse for the left one third region should be more resonable 2014-10-21 22:40:43 +08:00
chrox
c994e30cff fix #1024
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
2014-10-21 22:18:07 +08:00
HW
3a42557b19 Merge pull request #1020 from chrox/fix_1013
fix #1013
2014-10-20 17:51:35 +02:00
chrox
1462d382d9 fix #1013 2014-10-20 22:55:39 +08:00
chrox
2ad63fc1a3 expand/collapse TOC only by tap on the icon 2014-10-20 22:19:31 +08:00
chrox
c99288f3ad fix #995 by reseting readertoc on init 2014-10-15 20:47:13 +08:00
chrox
7c9130744c add collapsable TOC menu 2014-10-14 21:34:56 +08:00
chrox
de38ea1199 count only leaf nodes of toc tree when level is zero 2014-10-11 21:10:07 +08:00
chrox
6dd3f99c35 reset ticks cache 2014-10-10 18:14:33 +08:00
chrox
cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
2014-10-07 17:44:10 +08:00
chrox
b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
2014-10-07 17:10:48 +08:00
chrox
c5def15558 lift TOC entry in navi tab 2014-08-19 12:11:49 +08:00
WS64
9bdcaa2b46 Added new functions to go to next/previous chapter that also work with 2-page layout 2014-07-15 12:18:24 +02:00
WS64
256bad8203 Made some varaibales local 2014-07-03 19:30:21 +02:00
WS64
cc81d49cc9 New function to count the actual page of the current chapter 2014-07-03 18:19:28 +02:00
WS64
dc78dd9fda Update readertoc.lua 2014-07-02 10:46:26 +02:00
WS64
dee04099d1 Update readertoc.lua
Add "pages left to next chapter" to minibar
2014-07-02 07:07:18 +02:00
chrox
f13a165c4b tweaks of font size 2014-06-10 21:33:31 +08:00
chrox
b8ce85d3de use two finger swipe west/east to close TOC and bookmark respectively 2014-06-10 21:33:31 +08:00
chrox
d6bfbb26ac decrease toc entry indentation 2014-06-08 14:08:18 +08:00
chrox
857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
2014-06-05 14:59:06 +08:00
nicolua
077b1bdf5a show_parent to menu_container
works in font menu and toc menu on k3
hope on touch the same
2014-05-31 15:43:44 +03:00
nicolua
09d6005bb3 yes
it will better
to show and close one widget
but I found the same problem in documentfont menu
so dancing is continued
2014-05-31 13:50:21 +03:00
nicolua
90d9c3ddb1 menu on k3 2014-05-30 17:11:46 +03:00
chrox
4a32f4415e use borderless flat bookmark/toc window 2014-04-04 23:37:50 +08:00
chrox
ac396e3aa9 highlight current toc entry 2014-04-04 23:02:29 +08:00
Qingping Hou
4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
2014-04-02 17:02:01 -04:00