aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* colorramp: Use supplied gamma ramps as initial valueJon Lund Steffensen2015-01-041-0/+8
| | | | | | | | | This changes colorramp_fill() to base the ramp calculations on the existing values in the supplied tables, instead of basing it on a pure `i/size` value computed on the fly. All gamma adjustment methods are changed to explicitly initialize the ramps to the `i/size` value before calls to colorramp_fill().
* redshift: Simplify set_temperature by passing color_setting_tJon Lund Steffensen2014-12-271-7/+6
| | | | | | | | Changes all set_temperature function in gamma adjustment methods to take a color_setting_t pointer with the color settings. Colorramp functions are similarly changed to take a color settings struct.
* Add Quartz (OSX) gamma adjustment methodJon Lund Steffensen2014-12-151-0/+146