summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-05-17 21:17:18 (GMT)
committerericm <ericm@noemail.net>2000-05-17 21:17:18 (GMT)
commitb4382d4c3d29dfc624f6d65d0f9584ffccfb6048 (patch)
treecc806cc6c8cbd3daf45e4f418ada919e3ab812e0 /win/tkWinButton.c
parente7b13274eef463557cc8783d89d66081f0575b08 (diff)
downloadtk-b4382d4c3d29dfc624f6d65d0f9584ffccfb6048.zip
tk-b4382d4c3d29dfc624f6d65d0f9584ffccfb6048.tar.gz
tk-b4382d4c3d29dfc624f6d65d0f9584ffccfb6048.tar.bz2
* doc/SetOptions.3: Added information about TK_OPTION_NULL_OK with
TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option. FossilOrigin-Name: 107c0be19713ca6aedb57383ae53c62d430c9280
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r--win/tkWinButton.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index f40e9ba..b7acb47 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.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: tkWinButton.c,v 1.8 2000/05/13 00:39:09 ericm Exp $
+ * RCS: @(#) $Id: tkWinButton.c,v 1.9 2000/05/17 21:17:22 ericm Exp $
*/
#define OEMRESOURCE
@@ -391,20 +391,6 @@ TkpDisplayButton(clientData)
}
/*
- * LINK relief means that the button has a raised relief when it is
- * active, and a flat relief otherwise (like toolbar buttons). It
- * is supported for true buttons only.
- */
-
- if ((butPtr->type == TYPE_BUTTON) && butPtr->relief == TK_RELIEF_LINK) {
- if ((butPtr->flags & MOUSE_IN_BUTTON) == MOUSE_IN_BUTTON) {
- relief = TK_RELIEF_RAISED;
- } else {
- relief = TK_RELIEF_FLAT;
- }
- }
-
- /*
* Compute width of default ring and offset for pushed buttons.
*/