diff options
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tk.h b/generic/tk.h index cd31a16..62fab06 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tk.h,v 1.41 2000/05/10 00:09:38 ericm Exp $ + * RCS: @(#) $Id: tk.h,v 1.42 2000/05/13 00:39:07 ericm Exp $ */ #ifndef _TK @@ -201,11 +201,11 @@ typedef struct Tk_OptionSpec { * carefully. */ -#define TK_OPTION_NULL_OK 1 -#define TK_OPTION_DONT_SET_DEFAULT 8 +#define TK_OPTION_NULL_OK (1 << 0) +#define TK_OPTION_DONT_SET_DEFAULT (1 << 3) /* This widget allows the link relief */ -#define TK_OPTION_LINK_OK (1 << 9) +#define TK_OPTION_LINK_OK (1 << 6) /* * Macro to use to fill in "offset" fields of the Tk_OptionSpec. @@ -363,14 +363,14 @@ typedef enum { * tkOldConfig.c (internal-use-only flags are defined there). */ -#define TK_CONFIG_NULL_OK 1 -#define TK_CONFIG_COLOR_ONLY 2 -#define TK_CONFIG_MONO_ONLY 4 -#define TK_CONFIG_DONT_SET_DEFAULT 8 -#define TK_CONFIG_OPTION_SPECIFIED 0x10 -#define TK_CONFIG_USER_BIT 0x100 +#define TK_CONFIG_NULL_OK (1 << 0) +#define TK_CONFIG_COLOR_ONLY (1 << 1) +#define TK_CONFIG_MONO_ONLY (1 << 2) +#define TK_CONFIG_DONT_SET_DEFAULT (1 << 3) +#define TK_CONFIG_OPTION_SPECIFIED (1 << 4) /* This widget allows the link relief */ -#define TK_CONFIG_LINK_OK (1 << 9) +#define TK_CONFIG_LINK_OK (1 << 6) +#define TK_CONFIG_USER_BIT 0x100 #endif /* __NO_OLD_CONFIG */ /* |