Commit Graph

28 Commits (3066c86e38c8297c4c534a31c9631bb8bd6535cf)

Author SHA1 Message Date
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.
10 years ago
chrox 91400f8fef expand/collapse for the left one third region should be more resonable 10 years ago
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.
10 years ago
HW 3a42557b19 Merge pull request #1020 from chrox/fix_1013
fix #1013
10 years ago
chrox 1462d382d9 fix #1013 10 years ago
chrox 2ad63fc1a3 expand/collapse TOC only by tap on the icon 10 years ago
chrox c99288f3ad fix #995 by reseting readertoc on init 10 years ago
chrox 7c9130744c add collapsable TOC menu 10 years ago
chrox de38ea1199 count only leaf nodes of toc tree when level is zero 10 years ago
chrox 6dd3f99c35 reset ticks cache 10 years ago
chrox cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
10 years ago
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
10 years ago
chrox c5def15558 lift TOC entry in navi tab 10 years ago
WS64 9bdcaa2b46 Added new functions to go to next/previous chapter that also work with 2-page layout 10 years ago
WS64 256bad8203 Made some varaibales local 10 years ago
WS64 cc81d49cc9 New function to count the actual page of the current chapter 10 years ago
WS64 dc78dd9fda Update readertoc.lua 10 years ago
WS64 dee04099d1 Update readertoc.lua
Add "pages left to next chapter" to minibar
10 years ago
chrox f13a165c4b tweaks of font size 10 years ago
chrox b8ce85d3de use two finger swipe west/east to close TOC and bookmark respectively 10 years ago
chrox d6bfbb26ac decrease toc entry indentation 10 years ago
chrox 857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
10 years ago
nicolua 077b1bdf5a show_parent to menu_container
works in font menu and toc menu on k3
hope on touch the same
10 years ago
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
10 years ago
nicolua 90d9c3ddb1 menu on k3 10 years ago
chrox 4a32f4415e use borderless flat bookmark/toc window 10 years ago
chrox ac396e3aa9 highlight current toc entry 10 years ago
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
10 years ago