Commit Graph

20 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 30898a3cd8 config line space/font gamma values directly 10 years ago
chrox e91ddee836 add advanced option type that only shown when show advanced options is selected 10 years ago
chrox 0615e1463f easier strings to translate 10 years ago
chrox e7fc16dd25 hold on config panel option to set default option 10 years ago
chrox e624695d54 the Back key on Android should close the popup window and menu 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 a33ab1fb8c GUI tweaks for small screen
that sets a maximum size that won't render content outside of the screen
10 years ago
chrox bae13fb49d partial refresh when switching config panel 10 years ago
chrox 9f4f5fa451 auto adaptation for much smaller screen 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 71b3e717cf refactoring onConfigChoose 11 years ago
chrox 2ffd9bbeef tweaks on config dialog responsiveness 11 years ago
chrox d471b3eaec more responsive in config dialog 11 years ago
chrox 32cd7b2a88 show both reader menu and config menu when tapping top
So the bottom tap zone is optional now and will be removed by default
in the future.
11 years ago
chrox b5fd38f897 delayed calling of gotoXPointer when internal properties are changed
This should fix #400 and fix #300.
11 years ago
Hans-Werner Hilse 22e5117cce add missing require for defining DEBUG 11 years ago
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago