summaryrefslogtreecommitdiffstats
path: root/win/tkWinDefault.h
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-07-28 16:34:54 (GMT)
committerericm <ericm@noemail.net>2000-07-28 16:34:54 (GMT)
commit67784e1d7ab4a0a27f32327760025270e8ad3082 (patch)
tree346b81e19cb335ba4707e6962ccb3082139cf3aa /win/tkWinDefault.h
parent58a03409c1c52244c26aea9e9e6a9ae00755b07c (diff)
downloadtk-67784e1d7ab4a0a27f32327760025270e8ad3082.zip
tk-67784e1d7ab4a0a27f32327760025270e8ad3082.tar.gz
tk-67784e1d7ab4a0a27f32327760025270e8ad3082.tar.bz2
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state. * win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state. * doc/listbox.n: Added documentation for -state option. * generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052]. * tests/listbox.test: Tests for listbox disabled state. FossilOrigin-Name: a19d0bbf22658890f96264d9fea43a2494dfb897
Diffstat (limited to 'win/tkWinDefault.h')
-rw-r--r--win/tkWinDefault.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tkWinDefault.h b/win/tkWinDefault.h
index c7cf285..2e6d903 100644
--- a/win/tkWinDefault.h
+++ b/win/tkWinDefault.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: tkWinDefault.h,v 1.8 2000/05/17 22:23:26 ericm Exp $
+ * RCS: @(#) $Id: tkWinDefault.h,v 1.9 2000/07/28 16:34:56 ericm Exp $
*/
#ifndef _TKWINDEFAULT
@@ -200,10 +200,11 @@
* Defaults for listboxes:
*/
-#define DEF_LISTBOX_BG_COLOR NORMAL_BG
+#define DEF_LISTBOX_BG_COLOR "SystemWindow"
#define DEF_LISTBOX_BG_MONO WHITE
#define DEF_LISTBOX_BORDER_WIDTH "2"
#define DEF_LISTBOX_CURSOR ""
+#define DEF_LISTBOX_DISABLED_FG DISABLED
#define DEF_LISTBOX_EXPORT_SELECTION "1"
#define DEF_LISTBOX_FONT CTL_FONT
#define DEF_LISTBOX_FG NORMAL_FG
@@ -216,11 +217,12 @@
#define DEF_LISTBOX_LIST_VARIABLE ""
#define DEF_LISTBOX_SELECT_COLOR SELECT_BG
#define DEF_LISTBOX_SELECT_MONO BLACK
-#define DEF_LISTBOX_SELECT_BD "1"
+#define DEF_LISTBOX_SELECT_BD "0"
#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG
#define DEF_LISTBOX_SELECT_FG_MONO WHITE
#define DEF_LISTBOX_SELECT_MODE "browse"
#define DEF_LISTBOX_SET_GRID "0"
+#define DEF_LISTBOX_STATE "normal"
#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL
#define DEF_LISTBOX_WIDTH "20"