2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend
David Engster 4fe80a0817 ui/widget/naturallightwidget: New widget to configure gain/offset
This widget is used to configure the natural light on KA1/H2O2. It
allows the user to set the gain/offset values for white/red/green, as
well as the exponent used in the formula.

Numbers can be changed via screen keyboard or through the plus/minus
buttons next to the numbers (holding the buttons will in/decrase with
smaller steps). Changes are applied immediately, but will only be set
permanently if 'OK' is pressed. If 'Cancel' is pressed, the new values
are discarded and the old ones restored. Also, pressing 'OK' will save
these values in the koreader settings file (there's no support for
changing these values in Nickel, so there's nothing to sync to its
config file). The 'Restore Default' button will install the original
defaults that were derived from Nickel's behavior.

This widget is meant to be called from the frontlight widget and is
placed at the top, so that the frontlight widget can still be used to
test the current values (see next commit).
2018-03-13 22:09:29 +01:00
..
apps Speed up page turning on big cre documents (#3740) 2018-03-12 20:46:40 +01:00
device device/kobo/sysfs_light: Make used exponent in formulas a variable 2018-03-13 22:09:29 +01:00
document Speed up page turning on big cre documents (#3740) 2018-03-12 20:46:40 +01:00
ui ui/widget/naturallightwidget: New widget to configure gain/offset 2018-03-13 22:09:29 +01:00
cache.lua (chore) some require sorting. 2017-04-29 11:41:24 -07:00
cacheitem.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
configurable.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
dbg.lua Move kobo auto-suspension logic out of UIManager (#2933) 2017-06-23 10:04:11 -07:00
depgraph.lua fix: override readerhighlight hold in readerfooter 2017-01-30 05:53:44 -08:00
device.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
docsettings.lua [chore] Ignore empty files and tables in DocSettings (#3348) 2017-10-12 19:52:01 +02:00
dump.lua Docs: dump & random 2017-04-14 11:40:35 -07:00
gettext.lua Add gettext_spec stub (#3343) 2017-10-11 14:22:11 +02:00
httpclient.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
logger.lua feat: add logger module & rewrite kobo suspend script in lua 2017-01-02 19:52:09 -08:00
luadata.lua Add LuaData and Dictionary Lookup History (#3161) 2017-10-07 22:13:46 +02:00
luasettings.lua luasettings: backup previous file and auto-recover (#3625) 2018-01-21 18:44:15 +01:00
luxl.lua treate quoted slash as plain text in attribute value 2014-09-10 13:27:14 +08:00
optmath.lua doc: fix document build 2016-12-25 12:13:53 -08:00
pluginloader.lua plugin(fix): catch crash with pcall in event handlers 2017-04-22 00:22:37 -07:00
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 2017-08-24 09:10:57 +02:00
random.lua Docs: dump & random 2017-04-14 11:40:35 -07:00
readhistory.lua Update History and Last open document when move (cut and paste) file (#3607) 2018-01-16 18:20:25 +01:00
up_reg.list adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
util.lua [spec] util_spec: tests for util.getFriendlySize() (#3650) 2018-01-31 17:22:34 +01:00
version.lua Swipe for menu and quickstart guide (#2761) 2017-04-15 14:45:56 +02:00