diff options
author | ericm <ericm@noemail.net> | 2000-05-17 21:17:18 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-05-17 21:17:18 (GMT) |
commit | b4382d4c3d29dfc624f6d65d0f9584ffccfb6048 (patch) | |
tree | cc806cc6c8cbd3daf45e4f418ada919e3ab812e0 /generic/tkButton.h | |
parent | e7b13274eef463557cc8783d89d66081f0575b08 (diff) | |
download | tk-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 'generic/tkButton.h')
-rw-r--r-- | generic/tkButton.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h index cb774f9..97cc1f0 100644 --- a/generic/tkButton.h +++ b/generic/tkButton.h @@ -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: tkButton.h,v 1.6 2000/05/13 00:39:07 ericm Exp $ + * RCS: @(#) $Id: tkButton.h,v 1.7 2000/05/17 21:17:20 ericm Exp $ */ #ifndef _TKBUTTON @@ -116,6 +116,10 @@ typedef struct { int relief; /* Value of -relief option: specifies 3-d * effect for border, such as * TK_RELIEF_RAISED. */ + int overRelief; /* Value of -overrelief option: specifies a 3-d + * effect for the border, such as + * TK_RELIEF_RAISED, to be used when the mouse + * is over the button. */ Tcl_Obj *highlightWidthPtr; /* Value of -highlightthickness option: * specifies width in pixels of highlight to * draw around widget when it has the focus. @@ -273,15 +277,12 @@ typedef struct { * BUTTON_DELETED: Non-zero needs that this button has been * deleted, or is in the process of being * deleted. - * MOUSE_IN_BUTTON: Non-zero means that the mouse is currently - * over the button. */ #define REDRAW_PENDING (1 << 0) #define SELECTED (1 << 1) #define GOT_FOCUS (1 << 2) #define BUTTON_DELETED (1 << 3) -#define MOUSE_IN_BUTTON (1 << 4) /* * Declaration of variables shared between the files in the button module. */ |