aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-08 21:33:02 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-08 21:33:02 +0200
commit680aab24bb74f33b4021e5ebd2a01884149feeaf (patch)
treef43b90b20a9aa2a57654f899b8a42b963d6b49d7 /src/state.h
parentm (diff)
downloadcrt-calibrator-680aab24bb74f33b4021e5ebd2a01884149feeaf.tar.gz
crt-calibrator-680aab24bb74f33b4021e5ebd2a01884149feeaf.tar.bz2
crt-calibrator-680aab24bb74f33b4021e5ebd2a01884149feeaf.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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;