diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2011-04-21 00:23:50 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2011-04-21 00:23:50 +0200 |
commit | 38af3a0d5e22399b515ceb037870c3ef22662bb7 (patch) | |
tree | b458a9e17fdf8aa7fb21cb03b28beb107c1587cb /src/gamma-randr.h | |
parent | w32gdi: Remember to release the DC handle on error. (diff) | |
download | redshift-ng-38af3a0d5e22399b515ceb037870c3ef22662bb7.tar.gz redshift-ng-38af3a0d5e22399b515ceb037870c3ef22662bb7.tar.bz2 redshift-ng-38af3a0d5e22399b515ceb037870c3ef22662bb7.tar.xz |
Allow brightness to be adjusted (between 10% and 100%, the latter being the default).
Diffstat (limited to 'src/gamma-randr.h')
-rw-r--r-- | src/gamma-randr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gamma-randr.h b/src/gamma-randr.h index 4ccad8f..11818fa 100644 --- a/src/gamma-randr.h +++ b/src/gamma-randr.h @@ -54,7 +54,8 @@ void randr_print_help(FILE *f); int randr_set_option(randr_state_t *state, const char *key, const char *value); void randr_restore(randr_state_t *state); -int randr_set_temperature(randr_state_t *state, int temp, float gamma[3]); +int randr_set_temperature(randr_state_t *state, int temp, float brightness, + float gamma[3]); #endif /* ! _REDSHIFT_GAMMA_RANDR_H */ |