# HG changeset patch # User Gerd Moellmann # Date 936384595 0 # Node ID 93b2f5b9213700ee54f88399eca256dba7c8a907 # Parent 8f312684d6ecefee47b35895d21212b08b6a9799 (struct frame): New member `gamma'. diff -r 8f312684d6ec -r 93b2f5b92137 src/frame.h --- 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