diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-10-13 18:23:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 18:23:24 -0700 |
commit | d6c6aa64d7185812e8f089a84ab166f080c6aa31 (patch) | |
tree | 96ea9fa167c30a348466b9660be7b89e34d9177a /src/gamma-vidmode.h | |
parent | Merge pull request #536 from jonls/gtk-help-args (diff) | |
parent | Add function for resetting color_setting_t (diff) | |
download | redshift-ng-d6c6aa64d7185812e8f089a84ab166f080c6aa31.tar.gz redshift-ng-d6c6aa64d7185812e8f089a84ab166f080c6aa31.tar.bz2 redshift-ng-d6c6aa64d7185812e8f089a84ab166f080c6aa31.tar.xz |
Merge pull request #535 from jonls/cleanup
Cleanup redshift.c + modules + options
Diffstat (limited to 'src/gamma-vidmode.h')
-rw-r--r-- | src/gamma-vidmode.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/gamma-vidmode.h b/src/gamma-vidmode.h index 4b6cecc..6bad207 100644 --- a/src/gamma-vidmode.h +++ b/src/gamma-vidmode.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-2014 Jon Lund Steffensen <jonlst@gmail.com> + Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com> */ #ifndef REDSHIFT_GAMMA_VIDMODE_H @@ -22,31 +22,6 @@ #include "redshift.h" -#include <stdio.h> -#include <stdint.h> - -#include <X11/Xlib.h> - -typedef struct { - Display *display; - int preserve; - int screen_num; - int ramp_size; - uint16_t *saved_ramps; -} vidmode_state_t; - - -int vidmode_init(vidmode_state_t *state); -int vidmode_start(vidmode_state_t *state); -void vidmode_free(vidmode_state_t *state); - -void vidmode_print_help(FILE *f); -int vidmode_set_option(vidmode_state_t *state, const char *key, - const char *value); - -void vidmode_restore(vidmode_state_t *state); -int vidmode_set_temperature(vidmode_state_t *state, - const color_setting_t *setting); - +extern const gamma_method_t vidmode_gamma_method; #endif /* ! REDSHIFT_GAMMA_VIDMODE_H */ |