diff options
author | wolfsuit <wolfsuit> | 2005-03-25 04:34:15 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2005-03-25 04:34:15 (GMT) |
commit | 4d7273d2cb45ecbd3610e0cfc26cab66b4eccf24 (patch) | |
tree | 9cfa8a0ae951e4efcc6e1db9d2cd8fdce2b17cdf /macosx/tkMacOSXDefault.h | |
parent | 73fe2a6c8bdfe30e0656cd8a3f5234fb554243c1 (diff) | |
download | tk-4d7273d2cb45ecbd3610e0cfc26cab66b4eccf24.zip tk-4d7273d2cb45ecbd3610e0cfc26cab66b4eccf24.tar.gz tk-4d7273d2cb45ecbd3610e0cfc26cab66b4eccf24.tar.bz2 |
Add native drawing for Entry and Spinbox widgets.
Diffstat (limited to 'macosx/tkMacOSXDefault.h')
-rw-r--r-- | macosx/tkMacOSXDefault.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h index b888961..ccfca08 100644 --- a/macosx/tkMacOSXDefault.h +++ b/macosx/tkMacOSXDefault.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.1 2004/07/25 02:29:24 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXDefault.h,v 1.2.2.2 2005/03/25 04:34:16 wolfsuit Exp $ */ #ifndef _TKMACDEFAULT @@ -137,11 +137,21 @@ /* * Defaults for entries: */ + +/* + * I test the following two values in TkpDrawEntryBorderAndFocus + * to determine whether to use the native entry widget. So if + * you change the defaults to be different from these, then you + * won't get the native widget by default. + */ + +#define MAC_OSX_FOCUS_WIDTH 3 +#define MAC_OSX_ENTRY_BORDER 5 +#define MAC_OSX_ENTRY_RELEIF TK_RELIEF_SUNKEN #define DEF_ENTRY_BG_COLOR NORMAL_BG #define DEF_ENTRY_BG_MONO WHITE -/* #define DEF_ENTRY_BORDER_WIDTH "2" */ -#define DEF_ENTRY_BORDER_WIDTH "1" +#define DEF_ENTRY_BORDER_WIDTH "5" #define DEF_ENTRY_CURSOR "xterm" #define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG #define DEF_ENTRY_DISABLED_BG_MONO WHITE @@ -152,7 +162,7 @@ #define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG #define DEF_ENTRY_HIGHLIGHT BLACK /* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" +#define DEF_ENTRY_HIGHLIGHT_WIDTH "3" #define DEF_ENTRY_INSERT_BG BLACK #define DEF_ENTRY_INSERT_BD_COLOR "0" #define DEF_ENTRY_INSERT_BD_MONO "0" @@ -163,8 +173,8 @@ #define DEF_ENTRY_JUSTIFY "left" #define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG #define DEF_ENTRY_READONLY_BG_MONO WHITE -/* #define DEF_ENTRY_RELIEF "sunken" */ -#define DEF_ENTRY_RELIEF "solid" +#define DEF_ENTRY_RELIEF "sunken" +/* #define DEF_ENTRY_RELIEF "solid" */ #define DEF_ENTRY_SCROLL_COMMAND "" #define DEF_ENTRY_SELECT_COLOR SELECT_BG #define DEF_ENTRY_SELECT_MONO BLACK |