diff options
author | ericm <ericm> | 2000-04-14 01:36:35 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-04-14 01:36:35 (GMT) |
commit | 5ba98e6cb49a88e28c0ed8953b9bc369faabdd26 (patch) | |
tree | b6ca2c47c8b9700dce3c2fbe36735f978cfec402 /unix | |
parent | 632bd53901793dc9ae455dd2d727d322b42ba814 (diff) | |
download | tk-5ba98e6cb49a88e28c0ed8953b9bc369faabdd26.zip tk-5ba98e6cb49a88e28c0ed8953b9bc369faabdd26.tar.gz tk-5ba98e6cb49a88e28c0ed8953b9bc369faabdd26.tar.bz2 |
* win/tkWinKey.c: Added smarts to check whether the left or right
Control, Shift, or Alt key was pressed. [Bug: 870].
* win/tkWin3d.c:
* unix/tkUnix3d.c: Tweaked threshhold for using different highlight
computation.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnix3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnix3d.c b/unix/tkUnix3d.c index 9a72da9..28331c5 100644 --- a/unix/tkUnix3d.c +++ b/unix/tkUnix3d.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnix3d.c,v 1.4 2000/04/13 18:25:44 ericm Exp $ + * RCS: @(#) $Id: tkUnix3d.c,v 1.5 2000/04/14 01:36:35 ericm Exp $ */ #include <tk3d.h> @@ -407,7 +407,7 @@ TkpGetShadows(borderPtr, tkwin) * Compute the light shadow color */ - if (g > MAX_INTENSITY*85/100) { + if (g > MAX_INTENSITY*0.95) { lightColor.red = (90 * r)/100; lightColor.green = (90 * g)/100; lightColor.blue = (90 * b)/100; |