From b61cbba3c14949390100577dbf0592b23a7e0def Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 3 Sep 1999 18:49:55 +0000 Subject: [PATCH] (struct frame): New member `gamma'. --- src/frame.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5