diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2015-01-04 16:35:05 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2015-01-04 16:35:05 -0500 |
commit | 6711be464ff2b8e08501d776e57b6f47e29af245 (patch) | |
tree | 9df16107d36ac46344fa1866ba957f105b2d5345 /src/gamma-quartz.h | |
parent | redshift: Add gamma_is_valid function to check gamma (diff) | |
parent | w32gdi: Add preserve option to windows GDI method (diff) | |
download | redshift-ng-6711be464ff2b8e08501d776e57b6f47e29af245.tar.gz redshift-ng-6711be464ff2b8e08501d776e57b6f47e29af245.tar.bz2 redshift-ng-6711be464ff2b8e08501d776e57b6f47e29af245.tar.xz |
Merge branch 'preserve-gamma'
Diffstat (limited to 'src/gamma-quartz.h')
-rw-r--r-- | src/gamma-quartz.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gamma-quartz.h b/src/gamma-quartz.h index b5bc213..cd29d54 100644 --- a/src/gamma-quartz.h +++ b/src/gamma-quartz.h @@ -20,11 +20,23 @@ #ifndef REDSHIFT_GAMMA_QUARTZ_H #define REDSHIFT_GAMMA_QUARTZ_H +#include <stdint.h> + +#include <ApplicationServices/ApplicationServices.h> + #include "redshift.h" typedef struct { - int dummy; + CGDirectDisplayID display; + uint32_t ramp_size; + float *saved_ramps; +} quartz_display_state_t; + +typedef struct { + quartz_display_state_t *displays; + uint32_t display_count; + int preserve; } quartz_state_t; |