summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-09-03 18:49:55 +0000
committerGerd Moellmann <gerd@gnu.org>1999-09-03 18:49:55 +0000
commitb61cbba3c14949390100577dbf0592b23a7e0def (patch)
treee901c7d15ed535727d3f2dd49ac18c680a164e22 /src/frame.h
parentdd7447ccb05a4ece8a49368c4f6ed51cfc904953 (diff)
downloademacs-b61cbba3c14949390100577dbf0592b23a7e0def.tar.gz
(struct frame): New member `gamma'.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 6a4e62be3ea..27a5c9715f5 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -346,6 +346,11 @@ struct frame
/* Nonzero if the mouse has moved on this display
since the last time we checked. */
char mouse_moved;
+
+ /* Exponent for gamma correction of colors. 1/(VIEWING_GAMMA *
+ SCREEN_GAMMA) where viewing_gamma is 0.4545 and SCREEN_GAMMA is a
+ frame parameter. 0 means don't do gamma correction. */
+ double gamma;
};
#ifdef MULTI_KBOARD