aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2011-04-21 00:23:50 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2011-04-21 00:23:50 +0200
commit38af3a0d5e22399b515ceb037870c3ef22662bb7 (patch)
treeb458a9e17fdf8aa7fb21cb03b28beb107c1587cb /src/colorramp.h
parentw32gdi: Remember to release the DC handle on error. (diff)
downloadredshift-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/colorramp.h')
-rw-r--r--src/colorramp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colorramp.h b/src/colorramp.h
index 88aa984..326969e 100644
--- a/src/colorramp.h
+++ b/src/colorramp.h
@@ -23,6 +23,6 @@
#include <stdint.h>
void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b,
- int size, int temp, float gamma[3]);
+ int size, int temp, float brightness, float gamma[3]);
#endif /* ! _REDSHIFT_COLORRAMP_H */