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-w32gdi.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-w32gdi.h')
-rw-r--r-- | src/gamma-w32gdi.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/gamma-w32gdi.h b/src/gamma-w32gdi.h index 6e73cd1..ac6eb10 100644 --- a/src/gamma-w32gdi.h +++ b/src/gamma-w32gdi.h @@ -14,35 +14,14 @@ 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_W32GDI_H #define REDSHIFT_GAMMA_W32GDI_H -#include <windows.h> -#include <wingdi.h> - #include "redshift.h" - -typedef struct { - WORD *saved_ramps; - int preserve; -} w32gdi_state_t; - - -int w32gdi_init(w32gdi_state_t *state); -int w32gdi_start(w32gdi_state_t *state); -void w32gdi_free(w32gdi_state_t *state); - -void w32gdi_print_help(FILE *f); -int w32gdi_set_option(w32gdi_state_t *state, const char *key, - const char *value); - -void w32gdi_restore(w32gdi_state_t *state); -int w32gdi_set_temperature(w32gdi_state_t *state, - const color_setting_t *color); - +extern const gamma_method_t w32gdi_gamma_method; #endif /* ! REDSHIFT_GAMMA_W32GDI_H */ |