Commit Graph

31 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 dfcd67c5bf move screenshot settings to submenu of Screenshot entry in readermenu
And also fix a touchmenu bug that prevent some menu entries
(always at the bottom of the menu) from showing submenus. The reason is
that the onTapSelect method of TouchMenuItem doesn't return true, so that
the tap gesture will propagate to the parent widget and be captured by
touchmenu itself. But at this time the dimen of touchmenu is changed to
the submenu of the tapped menuitem. If the submenu is short enough the
tap will be outside of touchmenu which will cause a TapCloseAllMenus
event and the submenu will never be shown.
10 years ago
Michael Hall 79cb75b153 Added option for proportional cover image screensaver 10 years ago
Qingping Hou 394c847e2b fix(app): initilize menu properly in reader and filemanager 10 years ago
chrox d30709edb0 add djvu render mode options in readermenu 10 years ago
chrox e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
10 years ago
chrox 2b26e599d9 return to previous filemanager view instead of opening a new one 10 years ago
WS64 4ee35bb972 Add "exclude screensaver" to menu 10 years ago
WS64 de1d8d7cac Switch back to portrait before leaving book 10 years ago
chrox 21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
10 years ago
chrox 2bec0017a0 refactor out global functions showHomePage and showReaderUI 10 years ago
chrox c74c258fc7 add filemanager icon in reader menu
now we can access the filemanager in all launcher configurations
10 years ago
chrox 1ddafbea14 reorder setting entries in reader menu 10 years ago
chrox 3cb03825e5 display OTA update menu only on Kindle and Kobo 10 years ago
chrox 3c8e6975fb move screen DPI and refresh rate entries into Screen menu 10 years ago
chrox b83c4c3d95 hide several koptoptions in advanced mode 10 years ago
chrox 55554acf39 refactoring: buildin hold on menu entry to input 10 years ago
chrox 403b9f7ce6 refactoring: use getXxMenuTable to remove redundant code in menus 10 years ago
chrox a7fc4cccde refactoring: generate check update menu entry table in OTAManager 10 years ago
chrox d9f5edf54a add 'Check update' menu and OTA update functionality 10 years ago
chrox 87e667748a add font size menu entry
It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
10 years ago
chrox 405411ac4c add menu entry for E-ink screen refresh rate 10 years ago
chrox e91ddee836 add advanced option type that only shown when show advanced options is selected 10 years ago
chrox e624695d54 the Back key on Android should close the popup window and menu 10 years ago
chrox 3b5fa25c25 respond Menu key to show reader menu 10 years ago
chrox b92860c22a add night mode option that inverts screen color 10 years ago
chrox a7b88b1f9d adjust option orders in readermenu 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
chrox 449445d95d update help info 10 years ago
chrox 34fd9f3efa add koreader plugin mechanism
This should implement #505.
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