diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-30 15:10:06 -0700 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-30 17:12:56 -0700 |
commit | d8f04b902064b968756d68b4cb4a2cf982b4e60c (patch) | |
tree | a194076eef11907d835db64e940a25f1db6ce2c5 /src/gamma-w32gdi.h | |
parent | Merge pull request #507 from jonls/fade-term (diff) | |
download | redshift-ng-d8f04b902064b968756d68b4cb4a2cf982b4e60c.tar.gz redshift-ng-d8f04b902064b968756d68b4cb4a2cf982b4e60c.tar.bz2 redshift-ng-d8f04b902064b968756d68b4cb4a2cf982b4e60c.tar.xz |
redshift: Improve fade implementation
Simplify implementation of fades in continual mode. A fade is now
applied anytime the change in color temperature, brightness or
gamma is greater than a preset threshold. This means that a fade
is applied if the location provider suddenly updates to a new
location or if the currently time suddenly jumps e.g. after waking
up the computer from sleep. An easing function is applied to the
fade to make it more pleasant.
Diffstat (limited to 'src/gamma-w32gdi.h')
0 files changed, 0 insertions, 0 deletions