summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixDefault.h
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-05-13 00:39:05 (GMT)
committerericm <ericm@noemail.net>2000-05-13 00:39:05 (GMT)
commit97a720b5b72c335a99789891909240d4aafab1a9 (patch)
treeb61f779971a9663ee07b65009e60aa206dd22e32 /unix/tkUnixDefault.h
parent624f14ca68dbe598c19493435ae4fb155337f384 (diff)
downloadtk-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 'unix/tkUnixDefault.h')
-rw-r--r--unix/tkUnixDefault.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h
index f5f1040..02f1d99 100644
--- a/unix/tkUnixDefault.h
+++ b/unix/tkUnixDefault.h
@@ -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: tkUnixDefault.h,v 1.4 1999/11/17 02:40:55 ericm Exp $
+ * RCS: @(#) $Id: tkUnixDefault.h,v 1.5 2000/05/13 00:39:09 ericm Exp $
*/
#ifndef _TKUNIXDEFAULT
@@ -51,6 +51,7 @@
#define DEF_BUTTON_BITMAP ""
#define DEF_BUTTON_BORDER_WIDTH "2"
#define DEF_BUTTON_CURSOR ""
+#define DEF_BUTTON_COMPOUND "none"
#define DEF_BUTTON_COMMAND ""
#define DEF_BUTTON_DEFAULT "disabled"
#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED
@@ -75,6 +76,8 @@
#define DEF_LABCHKRAD_PADY "1"
#define DEF_BUTTON_RELIEF "raised"
#define DEF_LABCHKRAD_RELIEF "flat"
+#define DEF_BUTTON_REPEAT_DELAY "0"
+#define DEF_BUTTON_REPEAT_INTERVAL "0"
#define DEF_BUTTON_SELECT_COLOR INDICATOR
#define DEF_BUTTON_SELECT_MONO BLACK
#define DEF_BUTTON_SELECT_IMAGE (char *) NULL