aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Constify gamma parameter to set_temperature() methodsJon Lund Steffensen2013-12-091-1/+1
|
* colorramp: Use new color ramp table provided by Ingo Thies.Jon Lund Steffensen2013-10-211-94/+248
| | | | | | This table is calculated by the actual Planckian locus below 5000K, and by CIE daylight standard above 5000K. Also, the new table applies proper gamma correction according to sRGB. More information can be found in README-colorramp.
* colorramp: Fix slight flicker caused by improper scaling of gamma ramp valuesJon Lund Steffensen2013-10-211-3/+3
| | | | | Values generated by colorramp_fill() will be a maximum of i * 256 - 1, due to the use of UINT16_MAX. Simplest fix ought to be using (UINT16_MAX+1), which is safe, as the maximum value (255 * 256) still fits in a uint16. (Thanks to Sean Hildebrand)
* Allow brightness to be adjusted (between 10% and 100%, the latter being the default).Jon Lund Steffensen2011-04-211-4/+4
|
* Change comment in colorramp.c.Jon Lund Steffensen2010-06-211-1/+1
|
* Don't include gettext headers when NLS is disabled.Jon Lund Steffensen2010-05-241-2/+0
|
* Add gettext support in redshift.Jon Lund Steffensen2010-02-021-1/+1
|
* Move source and headers to src dir.Jon Lund Steffensen2009-12-231-0/+150