summaryrefslogtreecommitdiffstats
path: root/win/tkWin3d.c
diff options
context:
space:
mode:
authorericm <ericm>2000-04-14 01:36:35 (GMT)
committerericm <ericm>2000-04-14 01:36:35 (GMT)
commit5ba98e6cb49a88e28c0ed8953b9bc369faabdd26 (patch)
treeb6ca2c47c8b9700dce3c2fbe36735f978cfec402 /win/tkWin3d.c
parent632bd53901793dc9ae455dd2d727d322b42ba814 (diff)
downloadtk-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 'win/tkWin3d.c')
-rw-r--r--win/tkWin3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWin3d.c b/win/tkWin3d.c
index 089ab6c..8161eba 100644
--- a/win/tkWin3d.c
+++ b/win/tkWin3d.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: tkWin3d.c,v 1.4 2000/04/13 18:25:44 ericm Exp $
+ * RCS: @(#) $Id: tkWin3d.c,v 1.5 2000/04/14 01:36:35 ericm Exp $
*/
#include "tkWinInt.h"
@@ -439,7 +439,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;