Jon Lund Steffensen
ec5aa19acf
redshift: Simplify set_temperature by passing color_setting_t
...
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.
2014-12-27 20:22:11 -05:00
Jon Lund Steffensen
4ac4d9ee2d
redshift: Move color settings into struct for period
...
Move color settings (temperature, gamma and brightness) into a
struct for each period (day, night). Change the interpolation
function to interpolate all values between these structs.
2014-12-27 19:43:05 -05:00
Jon Lund Steffensen
7685169385
Fix #22 : remove initial underscore from include guards
2014-03-23 01:34:05 +01:00
Jon Lund Steffensen
d007007191
Only start "dummy" gamma method if explicitly requested
2013-12-09 14:32:08 -05:00
Jon Lund Steffensen
a4f7cf89eb
Constify gamma parameter to set_temperature() methods
2013-12-09 12:28:45 -05:00
Jon Lund Steffensen
38af3a0d5e
Allow brightness to be adjusted (between 10% and 100%, the latter being the default).
2011-04-21 00:23:50 +02:00
Jon Lund Steffensen
441dae4a44
Split init function of methods and providers into init and start.
...
The set_option function can be called to set options between init
and start.
2010-05-27 02:20:29 +02:00
Jon Lund Steffensen
19f7343355
Let gamma methods and location providers print help on option parameters.
2010-05-27 00:17:47 +02:00
Jon Lund Steffensen
cde909747c
Provide fundament for more advanced location providers.
2010-05-25 00:45:29 +02:00
Jon Lund Steffensen
65dd76a221
Use the prefix 'gamma' for gamma adjustment source files.
2010-05-24 23:37:36 +02:00
Jon Lund Steffensen
1d88c2b10c
Pass arguments as string to adjustment methods.
2010-05-24 21:26:06 +02:00
Jon Lund Steffensen
b1ab322cb5
Move gamma method spec structs to redshift.h
2010-05-24 20:06:14 +02:00