From b2fb992757aa42f6b06ee785d7cbef74e2520caf Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sat, 6 Dec 2014 15:02:29 -0500 Subject: colorramp: Add float-typed colorramp_fill() equivalent --- src/colorramp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/colorramp.h') diff --git a/src/colorramp.h b/src/colorramp.h index dd0fa97..f8df478 100644 --- a/src/colorramp.h +++ b/src/colorramp.h @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with Redshift. If not, see . - Copyright (c) 2010 Jon Lund Steffensen + Copyright (c) 2010-2014 Jon Lund Steffensen */ #ifndef REDSHIFT_COLORRAMP_H @@ -24,5 +24,8 @@ 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]); +void colorramp_fill_float(float *gamma_r, float *gamma_g, float *gamma_b, + int size, int temp, float brightness, + const float gamma[3]); #endif /* ! REDSHIFT_COLORRAMP_H */ -- cgit v1.2.3-70-g09d2