diff options
Diffstat (limited to 'generic/tkText.h')
-rw-r--r-- | generic/tkText.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/generic/tkText.h b/generic/tkText.h index 2227fd1..aba6b3b 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -358,9 +358,8 @@ typedef struct TkTextTag { * baseline of line. Used for superscripts and * subscripts. Only valid if offsetString is * non-NULL. */ -#if TCL_MAJOR_VERSION < 9 - char *overstrikeString; /* (not used any more) */ -#endif + Tcl_Obj *overstrikePtr; /* -overstrike option. NULL + * means option not specified. */ int overstrike; /* > 0 means draw horizontal line through * middle of text. -1 means not specified. */ XColor *overstrikeColor; /* Color for the overstrike. NULL means same @@ -397,9 +396,8 @@ typedef struct TkTextTag { * NULL. Corresponds to tabString. */ int tabStyle; /* One of TK_TEXT_TABSTYLE_TABULAR or TK_TEXT_TABSTYLE_WORDPROCESSOR * or TK_TEXT_TABSTYLE_NULL (if not specified). */ -#if TCL_MAJOR_VERSION < 9 - char *underlineString; /* (not used any more) */ -#endif + Tcl_Obj *underlinePtr; /* -underline option. NULL + * means option not specified. */ int underline; /* > 0 means draw underline underneath * text. -1 means not specified. */ XColor *underlineColor; /* Color for the underline. NULL means same @@ -409,9 +407,8 @@ typedef struct TkTextTag { * TEXT_WRAPMODE_NONE, TEXT_WRAPMODE_WORD, or * TEXT_WRAPMODE_NULL to use wrapmode for * whole widget. */ -#if TCL_MAJOR_VERSION < 9 - char *elideString; /* (not used any more) */ -#endif + Tcl_Obj *elidePtr; /* -elide option. NULL + * means option not specified. */ int elide; /* > 0 means that data under this tag * should not be displayed. -1 means not specified. */ int affectsDisplay; /* Non-zero means that this tag affects the |