2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Qingping Hou
a10a4f65a5 minor: use predefined color instead of gray method 2016-07-10 23:25:32 -07:00
Qingping Hou
476e35708d inputdialog(feat): add is_enter_default attribute to buttons 2016-05-25 23:09:49 -07:00
Qingping Hou
8f4fae7a09 minore: more static check fixes 2016-02-10 10:30:05 -08:00
chrox
e91b7bd266 set foucus of button table only if the device has a dpad
so that Kindle Voyage won't show a highlighted button in
confirm dialog.
2015-09-27 09:05:40 +08:00
Qingping Hou
a62e7ee34c feat: add keyboard support for button table 2015-09-13 01:10:09 -07:00
Hans-Werner Hilse
22697adf20 switch from scaleByDPI() to scaleBySize() 2014-11-23 12:13:32 +00:00
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.
2014-11-02 21:19:04 +01:00
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.
2014-10-24 13:48:42 +02:00
chrox
877cff2933 invert button on tap 2014-05-01 18:37:12 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
Qingping Hou
d3979ff72d call scaleByDPI from screen module fixes #343 2013-10-24 13:47:22 -04:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
467e7bf4fc UI tweaks on dictionary window 2013-07-23 14:52:15 +08:00
chrox
05965e386e factor out buttontable as a vertical group 2013-07-21 14:16:45 +08:00
chrox
c246696de9 add enable/disable method for Button widget 2013-06-16 11:13:54 +08:00
chrox
eb4c76bd15 add highlight in pdf reader 2013-06-15 23:16:53 +08:00