aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-quartz.c')
-rw-r--r--src/gamma-quartz.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gamma-quartz.c b/src/gamma-quartz.c
index 6b7d1ec..2b04d8b 100644
--- a/src/gamma-quartz.c
+++ b/src/gamma-quartz.c
@@ -37,6 +37,19 @@
#include "colorramp.h"
+typedef struct {
+ 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;
+
+
static int
quartz_init(quartz_state_t **state)
{