aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index fd5a18e..da4a580 100644
--- a/src/state.h
+++ b/src/state.h
@@ -51,7 +51,22 @@ extern size_t card_count;
extern drm_crtc_t* restrict crtcs;
/**
- * The number of elements in `crtcs`
+ * The software brightness setting on each connected CRT controller, on each channel
+ */
+extern double* restrict brightnesses[3];
+
+/**
+ * The software contrast setting on each connected CRT controller, on each channel
+ */
+extern double* restrict contrasts[3];
+
+/**
+ * The gamma correction on each connected CRT controller, on each channel
+ */
+extern double* restrict gammas[3];
+
+/**
+ * The number of elements in `crtcs`, `brightnesses[]`, `contrasts[]` and `gammas[]`
*/
extern size_t crtc_count;