aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-dummy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RefactorMattias Andrée2025-03-211-2/+9
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* RefactorMattias Andrée2025-03-161-20/+9
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Major refactoring and some fixesMattias Andrée2025-03-161-4/+4
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* styleMattias Andrée2025-03-081-1/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* miscMattias Andrée2025-03-081-1/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Misc improvementsMattias Andrée2025-03-071-17/+17
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Update redshift to redshift-ngMattias Andrée2025-03-061-4/+4
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* style and some minor fixesMattias Andrée2025-03-061-1/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* StyleMattias Andrée2025-03-061-2/+2
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Fix warningsMattias Andrée2025-03-051-0/+8
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Cleanup and style update (avoid typedef)Mattias Andrée2025-03-051-26/+14
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Merge redshift.h into common.hMattias Andrée2025-03-051-4/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Merge branch 'coopgamma' of https://github.com/maandree/redshiftMattias Andrée2025-03-051-1/+1
|\
| * Add coopgamma backendMattias Andrée2016-12-191-1/+1
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* | Fix "Some translated strings are still in English" issueMasanori Kakura2018-08-291-0/+4
| | | | | | | | | | | | ENABLE_NLS is always undefined in some files and some translatable messages in these files are always displayed in English. This commit fixes the issue.
* | Change preserve option to command line switchJon Lund Steffensen2017-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes each adjustment method to take a preserve parameter when setting the temperature instead of parsing the preserve option from the command line/configuration file. This helps resolve the issues around #513: - This allows the preserve option to be implemented as a command-line switch (-P). This switch _disables_ the preservation of existing gamma ramps. Having a command-line switch makes it easier to use directly with manual or one-shot mode. - The preserve options is on by default, so continual mode as well as other modes will default to applying the color adjustment on top of the current gamma ramps. - Preserve is always disabled in reset mode so resetting works as expected again.
* | Allocate module data in init functionsJon Lund Steffensen2017-10-131-1/+2
| |
* | Move module struct definitions to separate filesJon Lund Steffensen2017-10-131-8/+20
|/
* redshift: Simplify set_temperature by passing color_setting_tJon Lund Steffensen2014-12-271-4/+5
| | | | | | | | 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.
* Support for running Redshift without a graphical environment in Linux by using Direct Rendering ManagerMattias Andrée2014-03-221-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Fix building on WindowsTingPing2013-12-291-2/+0
|
* Constify gamma parameter to set_temperature() methodsJon Lund Steffensen2013-12-091-1/+1
|
* Add dummy gamma adjustment methodJon Lund Steffensen2013-12-091-0/+76
This method does not do anything but print the temperature to the terminal. An external program implementing a color temperature adjustment scheme that is not supported by redshift can use this method to determine the desired color temperature. It is also useful for testing other parts of redshift on systems where neither RandR nor VidMode works.