aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-12-27 20:35:00 -0500
committerJon Lund Steffensen <jonlst@gmail.com>2014-12-27 20:35:00 -0500
commit87cec6b3661d9367b1d59935a41d3eab2e32c5b3 (patch)
tree767475829fda9b9856532535e06dcb3ad02a5b32 /src/colorramp.h
parentredshift: Use double for interpolation function (diff)
parentredshift: Simplify set_temperature by passing color_setting_t (diff)
downloadredshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.gz
redshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.bz2
redshift-ng-87cec6b3661d9367b1d59935a41d3eab2e32c5b3.tar.xz
Merge branch 'color-settings-struct'
Diffstat (limited to 'src/colorramp.h')
-rw-r--r--src/colorramp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/colorramp.h b/src/colorramp.h
index f8df478..438c563 100644
--- a/src/colorramp.h
+++ b/src/colorramp.h
@@ -22,10 +22,11 @@
#include <stdint.h>
+#include "redshift.h"
+
void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b,
- int size, int temp, float brightness, const float gamma[3]);
+ int size, const color_setting_t *setting);
void colorramp_fill_float(float *gamma_r, float *gamma_g, float *gamma_b,
- int size, int temp, float brightness,
- const float gamma[3]);
+ int size, const color_setting_t *setting);
#endif /* ! REDSHIFT_COLORRAMP_H */