diff options
Diffstat (limited to 'generic/tkColor.h')
-rw-r--r-- | generic/tkColor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkColor.h b/generic/tkColor.h index 7e1ab3b..53975c1 100644 --- a/generic/tkColor.h +++ b/generic/tkColor.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: tkColor.h,v 1.5 1999/04/16 01:51:12 stanton Exp $ + * RCS: @(#) $Id: tkColor.h,v 1.6 1999/11/19 22:00:03 hobbs Exp $ */ #ifndef _TKCOLOR @@ -28,6 +28,9 @@ * is a colormap entry allocated for each of these colors. */ +#define TK_COLOR_BY_NAME 1 +#define TK_COLOR_BY_VALUE 2 + #define COLOR_MAGIC ((unsigned int) 0x46140277) typedef struct TkColor { @@ -55,8 +58,7 @@ typedef struct TkColor { * are both 0. */ int objRefCount; /* The number of Tcl objects that reference * this structure. */ - Tcl_HashTable *tablePtr; /* Hash table that indexes this structure - * (needed when deleting structure). */ + int type; /* TK_COLOR_BY_NAME or TK_COLOR_BY_VALUE */ Tcl_HashEntry *hashPtr; /* Pointer to hash table entry for this * structure. (for use in deleting entry). */ struct TkColor *nextPtr; /* Points to the next TkColor structure with |