mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
4fe80a0817
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). |
||
---|---|---|
.. | ||
apps | ||
device | ||
document | ||
ui | ||
cache.lua | ||
cacheitem.lua | ||
configurable.lua | ||
dbg.lua | ||
depgraph.lua | ||
device.lua | ||
docsettings.lua | ||
dump.lua | ||
gettext.lua | ||
httpclient.lua | ||
logger.lua | ||
luadata.lua | ||
luasettings.lua | ||
luxl.lua | ||
optmath.lua | ||
pluginloader.lua | ||
pluginshare.lua | ||
random.lua | ||
readhistory.lua | ||
up_reg.list | ||
util.lua | ||
version.lua |