Frans de Jonge
a970a1f034
MenuSorter: fix outside testability (for potential unit tests)
8 years ago
Frans de Jonge
b7b5950e98
MenuSorter: review comments and various bug fixes
...
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
8 years ago
Frans de Jonge
5b20106db7
MenuSorter: initial implementation
...
* Menus are now sanely configurable
* Custom separator placement for clearer menus
8 years ago
Hzj_jie
f91ad679d9
swithItemTable -> switchItemTable
8 years ago
poire-z
bbba2799a5
Fix: unexpendable TOC in some cases ( #2394 )
...
When on a page in a 2nd level section, after switching orientation,
TOC was stuck with the section we're in unexpandable.
8 years ago
Hzj_jie
3df363165a
Fix crash in readertoc.lua
...
This issue has been mentioned in https://github.com/koreader/koreader/issues/2186 .
8 years ago
Qingping Hou
59c17ef420
minor: more luacheck fixes
9 years ago
chrox
3a0960d391
goto current toc entry automatically when open TOC window
10 years ago
chrox
1894e71b07
don't expand toc node when it's parent node is collapsed
10 years ago
chrox
e25ca27db3
auto expand the parent TOC node of current page
...
and fix current item of item not updated when in the last node
This should fix #1396 .
10 years ago
chrox
720ab191ab
fix crash when opening TOC window in scroll mode of EPUB
10 years ago
chrox
1e8f07629f
don't pop-up TOC window
10 years ago
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
10 years ago
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
11 years ago
chrox
ac396e3aa9
highlight current toc entry
11 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
11 years ago