2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

20 Commits

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.
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
30898a3cd8 config line space/font gamma values directly 2014-08-19 12:11:49 +08:00
chrox
e91ddee836 add advanced option type that only shown when show advanced options is selected 2014-07-17 22:31:01 +08:00
chrox
0615e1463f easier strings to translate 2014-07-04 19:29:45 +08:00
chrox
e7fc16dd25 hold on config panel option to set default option 2014-07-03 16:31:44 +08:00
chrox
e624695d54 the Back key on Android should close the popup window and menu 2014-06-10 21:33:31 +08:00
chrox
857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
2014-06-05 14:59:06 +08:00
chrox
a33ab1fb8c GUI tweaks for small screen
that sets a maximum size that won't render content outside of the screen
2014-06-02 23:49:00 +08:00
chrox
bae13fb49d partial refresh when switching config panel 2014-05-31 17:58:30 +08:00
chrox
9f4f5fa451 auto adaptation for much smaller screen 2014-05-28 21:11:07 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
71b3e717cf refactoring onConfigChoose 2014-01-03 22:09:55 +08:00
chrox
2ffd9bbeef tweaks on config dialog responsiveness 2014-01-03 20:41:15 +08:00
chrox
d471b3eaec more responsive in config dialog 2014-01-03 19:43:25 +08:00
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.
2013-12-27 21:47:19 +08:00
chrox
b5fd38f897 delayed calling of gotoXPointer when internal properties are changed
This should fix #400 and fix #300.
2013-12-26 06:24:36 +08:00
Hans-Werner Hilse
22e5117cce add missing require for defining DEBUG 2013-10-24 10:44:15 +02:00
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).
2013-10-22 17:11:31 +02:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00