aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-12-16 06:41:22 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2014-12-16 06:41:22 +0100
commit003025f5a3f4f9678279cd5bd985d0d32d1a4a48 (patch)
tree3a3e69b2711bfbde5c557192bf10ea544a4617a7 /src/colorramp.h
parentMerge pull request #145 from jonls/appdata-xml (diff)
parentAdd CoreLocation (OSX) location provider (diff)
downloadredshift-ng-003025f5a3f4f9678279cd5bd985d0d32d1a4a48.tar.gz
redshift-ng-003025f5a3f4f9678279cd5bd985d0d32d1a4a48.tar.bz2
redshift-ng-003025f5a3f4f9678279cd5bd985d0d32d1a4a48.tar.xz
Merge pull request #140 from jonls/osx-support
OSX support. Adds gamma adjustment method `quartz` and location provider `corelocation`.
Diffstat (limited to 'src/colorramp.h')
-rw-r--r--src/colorramp.h5
1 files changed, 4 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
- Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com>
+ Copyright (c) 2010-2014 Jon Lund Steffensen <jonlst@gmail.com>
*/
#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 */