Commit Graph

10 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 877cff2933 invert button on tap 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
Qingping Hou d3979ff72d call scaleByDPI from screen module fixes #343 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 467e7bf4fc UI tweaks on dictionary window 11 years ago
chrox 05965e386e factor out buttontable as a vertical group 11 years ago
chrox c246696de9 add enable/disable method for Button widget 11 years ago
chrox eb4c76bd15 add highlight in pdf reader 11 years ago