diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2009-12-23 16:40:18 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2009-12-23 16:40:18 +0100 |
commit | ee1619957c9ed6cf31c9263e687d45915f3e600b (patch) | |
tree | 31ea9992399316208fafd2a1b431b77be5cc3f2b /randr.h | |
parent | Rescale blackbody values above 6500K to be in [0,1]. (diff) | |
download | redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.gz redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.bz2 redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.xz |
Move RandR code to separate file.
Diffstat (limited to 'randr.h')
-rw-r--r-- | randr.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +/* randr.h -- X RandR gamma adjustment 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 <http://www.gnu.org/licenses/>. + + Copyright (c) 2009 Jon Lund Steffensen <jonlst@gmail.com> +*/ + +#ifndef _REDSHIFT_RANDR_H +#define _REDSHIFT_RANDR_H + +int randr_check_extension(); +int randr_set_temperature(int temp, float gamma[3]); + +#endif /* ! _REDSHIFT_RANDR_H */ |