diff options
author | ericm <ericm@noemail.net> | 2000-05-13 00:39:05 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-05-13 00:39:05 (GMT) |
commit | 97a720b5b72c335a99789891909240d4aafab1a9 (patch) | |
tree | b61f779971a9663ee07b65009e60aa206dd22e32 /generic/tk3d.c | |
parent | 624f14ca68dbe598c19493435ae4fb155337f384 (diff) | |
download | tk-97a720b5b72c335a99789891909240d4aafab1a9.zip tk-97a720b5b72c335a99789891909240d4aafab1a9.tar.gz tk-97a720b5b72c335a99789891909240d4aafab1a9.tar.bz2 |
* unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
* mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
* win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
Added code for drawing compound buttons.
* tests/button.test: Added configuration tests for -repeatdelay,
-repeatinterval, -compound.
* library/button.tcl: Added support for -repeatedelay,
-repeatinterval options.
* generic/tkOldConfig.c: Changed handling of link relief so that
proper error messages are used.
* generic/tkButton.h: Added -compound, -repeatdelay,
-repeatinterval options.
* generic/tkButton.c: Added event watchers for enter/leave events,
for link relief support.
* generic/tk3d.c: Changed handling of link relief so that proper
error messages are used.
* generic/tk.h: Changed values of
TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
FossilOrigin-Name: 965b15d89edbe399990f79d5b0592c72ffd00a42
Diffstat (limited to 'generic/tk3d.c')
-rw-r--r-- | generic/tk3d.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c index 5147e95..98375f6 100644 --- a/generic/tk3d.c +++ b/generic/tk3d.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tk3d.c,v 1.8 2000/05/11 22:37:06 hobbs Exp $ + * RCS: @(#) $Id: tk3d.c,v 1.9 2000/05/13 00:39:07 ericm Exp $ */ #include "tk3d.h" @@ -665,8 +665,6 @@ Tk_GetRelief(interp, name, reliefPtr) } else if ((c == 'g') && (strncmp(name, "groove", length) == 0) && (length >= 2)) { *reliefPtr = TK_RELIEF_GROOVE; - } else if ((c == 'l') && (strncmp(name, "link", length) == 0)) { - *reliefPtr = TK_RELIEF_LINK; } else if ((c == 'r') && (strncmp(name, "raised", length) == 0) && (length >= 2)) { *reliefPtr = TK_RELIEF_RAISED; @@ -680,7 +678,7 @@ Tk_GetRelief(interp, name, reliefPtr) char buf[200]; sprintf(buf, "bad relief type \"%.50s\": must be %s", - name, "flat, groove, link, raised, ridge, solid, or sunken"); + name, "flat, groove, raised, ridge, solid, or sunken"); Tcl_SetResult(interp, buf, TCL_VOLATILE); return TCL_ERROR; } |