From ee1619957c9ed6cf31c9263e687d45915f3e600b Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 23 Dec 2009 16:40:18 +0100 Subject: Move RandR code to separate file. --- colorramp.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 colorramp.h (limited to 'colorramp.h') diff --git a/colorramp.h b/colorramp.h new file mode 100644 index 0000000..e7f5554 --- /dev/null +++ b/colorramp.h @@ -0,0 +1,28 @@ +/* colorramp.h -- color temperature calculation header + This file is part of Redshift. + + Redshift is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Redshift is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Redshift. If not, see . + + Copyright (c) 2009 Jon Lund Steffensen +*/ + +#ifndef _REDSHIFT_COLORRAMP_H +#define _REDSHIFT_COLORRAMP_H + +#include + +void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b, + int size, int temp, float gamma[3]); + +#endif /* ! _REDSHIFT_COLORRAMP_H */ -- cgit v1.2.3-70-g09d2