aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-05Unify header files (so far most)Mattias Andrée1-27/+0
Signed-off-by: Mattias Andrée <m@maandree.se>
2017-10-13Move module structures out of headersJon Lund Steffensen1-18/+0
2017-10-13Move module struct definitions to separate filesJon Lund Steffensen1-13/+2
2016-12-19Add coopgamma backendMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2015-01-04quartz: Add preserve option to Quartz methodJon Lund Steffensen1-1/+13
This change adds the preserve option to the quartz method which makes it base the temperature adjustments on the existing gamma ramps when set. This requires that the existing gamma ramps are saved at start-up which this commit also adds. One drawback is that the list of displays is enumerated at start-up now which means that Redshift will likely not affect displays that are connected after start-up. This could be fixed in the future by listening to reconfiguration events.
2014-12-27redshift: Simplify set_temperature by passing color_setting_tJon Lund Steffensen1-2/+2
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-15Add Quartz (OSX) gamma adjustment methodJon Lund Steffensen1-16/+15
2014-03-23Fix #22: remove initial underscore from include guardsJon Lund Steffensen1-3/+3
2013-12-09Constify gamma parameter to set_temperature() methodsJon Lund Steffensen1-1/+1
2011-04-21Allow brightness to be adjusted (between 10% and 100%, the latter being the default).Jon Lund Steffensen1-1/+2
2011-03-27w32gdi: Obtain a new DC handle on every adjustment. This fixes a bugJon Lund Steffensen1-1/+0
where redshift stops updating the screen.
2010-05-27Split init function of methods and providers into init and start.Jon Lund Steffensen1-1/+7
The set_option function can be called to set options between init and start.
2010-05-27Let gamma methods and location providers print help on option parameters.Jon Lund Steffensen1-0/+1
2010-05-24Use the prefix 'gamma' for gamma adjustment source files.Jon Lund Steffensen1-4/+4
2010-05-24Pass arguments as string to adjustment methods.Jon Lund Steffensen1-1/+1
2010-05-24Move gamma method spec structs to redshift.hJon Lund Steffensen1-0/+1
2010-05-24Use gamma_method_spec_t struct to control and iterate through differentJon Lund Steffensen1-1/+1
gamma adjustment methods.
2010-05-06systemtime.c: Portably read current time on posix and windows.Jon Lund Steffensen1-7/+16
w32gdi.c: Implements gamma ramp method for Windows GDI API. Use double as a cross platform time representation. Add WinGDI as a selectable method (currently limitied to minimum 4500K). Fix a bug where redshift would crash if RANDR failed and VidMode wasn't compiled in.
2010-02-02Add gettext support in redshift.Jon Lund Steffensen1-1/+1
2009-12-23Move source and headers to src dir.Jon Lund Steffensen1-0/+0
2009-12-23Move RandR code to separate file.Jon Lund Steffensen1-6/+8
2009-11-04Add COPYING file (GPLv3).Jon Lund Steffensen1-1/+18
Add copyright and license in file headers.
2009-11-04Allow individual adjustment of each gamma channel.Jon Lund Steffensen1-1/+1