diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-27 20:35:00 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-27 20:35:00 -0500 |
commit | 87cec6b3661d9367b1d59935a41d3eab2e32c5b3 (patch) | |
tree | 767475829fda9b9856532535e06dcb3ad02a5b32 /src/gamma-vidmode.h | |
parent | redshift: Use double for interpolation function (diff) | |
parent | redshift: Simplify set_temperature by passing color_setting_t (diff) | |
download | redshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.gz redshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.bz2 redshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.xz |
Merge branch 'color-settings-struct'
Diffstat (limited to 'src/gamma-vidmode.h')
-rw-r--r-- | src/gamma-vidmode.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gamma-vidmode.h b/src/gamma-vidmode.h index 8afd8fd..05f5919 100644 --- a/src/gamma-vidmode.h +++ b/src/gamma-vidmode.h @@ -14,12 +14,14 @@ You should have received a copy of the GNU General Public License along with Redshift. If not, see <http://www.gnu.org/licenses/>. - Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> + Copyright (c) 2010-2014 Jon Lund Steffensen <jonlst@gmail.com> */ #ifndef REDSHIFT_GAMMA_VIDMODE_H #define REDSHIFT_GAMMA_VIDMODE_H +#include "redshift.h" + #include <stdio.h> #include <stdint.h> @@ -42,8 +44,8 @@ int vidmode_set_option(vidmode_state_t *state, const char *key, const char *value); void vidmode_restore(vidmode_state_t *state); -int vidmode_set_temperature(vidmode_state_t *state, int temp, float brightness, - const float gamma[3]); +int vidmode_set_temperature(vidmode_state_t *state, + const color_setting_t *setting); #endif /* ! REDSHIFT_GAMMA_VIDMODE_H */ |