changeset 25527:93b2f5b92137

(struct frame): New member `gamma'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 03 Sep 1999 18:49:55 +0000
parents 8f312684d6ec
children b5dd1bafd001
files src/frame.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.h	Fri Sep 03 18:49:53 1999 +0000
+++ b/src/frame.h	Fri Sep 03 18:49:55 1999 +0000
@@ -346,6 +346,11 @@
   /* 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