Commit Graph

71 Commits (e7acec15261927eb5380813d85786b7b3108fc12)

Author SHA1 Message Date
Frans de Jonge f84b537954 Make 'default' and 'fallback' strings translatable 9 years ago
frankyifei 059de23037 implement GUI dialog for setting crengine fallback font 9 years ago
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago
Hans-Werner Hilse 94ce08937a clean up refreshes
This is a larger clean-up of the refresh situation.
The general shift is that refreshes are now mainly triggered by
the (top-level) widgets when they get shown or closed via UIManager.

All refreshes for the widgets when they are in use were handled by
themselves before. This adds the case of showing/closing.

It is the desired result of not having UIManager:show()/:close()
do (full screen) refreshes on its own.
10 years ago
Hans-Werner Hilse 8376e2f821 dictionary window triggers refresh itself, not via show() 10 years ago
Frans de Jonge 693fa0837e Reworked several strings
This is the remaining gruntwork of #1276. I believe that only leaves networkmgr.lua and filemanagersearch.lua, which will require a little more thought.
10 years ago
Frans de Jonge 66f04af8fb Various applications of util.template
This is the first bunch for #1276. I'd like to resolve #1281 before doing more.
10 years ago
Hans-Werner Hilse 22697adf20 switch from scaleByDPI() to scaleBySize() 10 years ago
Andrey Golovizin 50d9041c1d Use checked_func instead of remembering the checked item. 10 years ago
Andrey Golovizin a3e51b339d Show current font face in menu. 10 years ago
chrox 9d5ff580a3 fix #1083 10 years ago
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
chrox 30898a3cd8 config line space/font gamma values directly 10 years ago
WS64 b5be4d227e Changed wrong default entry 10 years ago
WS64 f80c79c96a remember font weight also from global settings and at least line spacing from defaults 10 years ago
chrox 0615e1463f easier strings to translate 10 years ago
chrox 78918bc531 hold on font menu entry to set default font 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 803e4e8600 font weight option should be persistent between launchings
This should fix #620.
10 years ago
nicolua 077b1bdf5a show_parent to menu_container
works in font menu and toc menu on k3
hope on touch the same
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