Commit Graph

24 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
Hans-Werner Hilse 5982e24d57 unify color specification
colors were a mixture of 4bpp integers (0=white, 15=black) and
fractional blackness levels (0=white, 1.0=black) before. This is
now unified to use the color specification of the Blitbuffer API.
10 years ago
chrox 0a863f07c7 show 50 ticks on the mini progress bar at most 10 years ago
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
10 years ago
Ebrehem 44ecf74ba3 Update readerfooter.lua 10 years ago
NiLuJe e2efb230a6 Make the geometry of the minibar user-configurable
As well as the width of the toc notches
Lower the default value of the container size a bit to avoid eating into
the last line on small borders setup (I checked on 167 & 212 DPI
devices, Feel free to revert to the previous value (19) if that causes
trouble).
10 years ago
WS64 844ae29fe5 Send TOC parameters to progressbar 10 years ago
WS64 969734931b progressbar can be turned off in mini bar 10 years ago
chrox 51ba4f987a fix no battery info on minibar for PDF documents
This should fix #757.
10 years ago
chrox beaf768250 recalculate footer sizes when document page count is updated 10 years ago
chrox ce266bffb8 add minibar height into overlap height 10 years ago
WS64 af400bbe1e Added battery info to mini bar 10 years ago
WS64 79f1b027f0 Minor optimizings (elseif) 10 years ago
WS64 0429325c5f removed "next chapter" for PDFs
Should actually also be done for EPUBs without TOC, but somehow I can't get it to work
10 years ago
WS64 00c050f279 Update readerfooter.lua 10 years ago
WS64 c50a0f701b Update readerfooter.lua 10 years ago
WS64 ec16a3f745 Update readerfooter.lua
Add "pages left to next chapter" to minibar
10 years ago
chrox 1fd45c3903 add tap zone configuration for the minibar 10 years ago
chrox 53a41c0ce8 adapt reader footer for small screen 10 years ago
chrox 1d292f16a9 remove full screen option in koptoption
since we can now switch progress bar status simply by tap
10 years ago
chrox 6938b54346 enlarge touch zone for readerfooter 10 years ago
chrox eeb81f1c39 persistent reader footer mode 10 years ago
chrox 47f986941f tap on reader footer to hide footer 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