Commit Graph
13 Commits
Author SHA1 Message Date
Jon Lund Steffensen 989fe52176 vidmode: Enable preserve by default 2017-08-31 01:53:59 -07:00
Michael Vetter 6b61e3f9e4 Remove trailing whitespaces 2015-08-04 14:01:37 +02:00
Jon Lund Steffensen aaf455c9ae vidmode: Add preserve option to VidMode method 2015-01-04 16:34:33 -05:00
Jon Lund Steffensen 9b299132ef colorramp: Use supplied gamma ramps as initial value
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().
2015-01-04 16:34:33 -05:00
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 e4034ba27d Do not allow NULL keys when setting options
This should fix a bug where command line options for the "manual" location
provider cannot override the config file. To keep compatability with previous
versions the command line parser will still special case parsing "-l LAT:LON"
and set the correct options in "manual".
2013-12-09 12:28:45 -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 e07cbc7b95 gamma-vidmode.c: Do not call XCloseDisplay() if vidmode_start() fails as
XCloseDisplay() will be called in vidmode_free().
2010-10-09 22:30:40 +02:00
Jon Lund Steffensen 6e5ec155d1 Add comments about certain substring which must not be translated.
Fix help text that refered to the wrong command line parameter.
2010-06-10 13:28:30 +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 65dd76a221 Use the prefix 'gamma' for gamma adjustment source files. 2010-05-24 23:37:36 +02:00