summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-09 21:40:51 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-09 21:40:51 (GMT)
commit62609c21da13af24e1df10132bdb5effc1d3ea7a (patch)
tree4ab8508ba4799df814ae9340580d78b433c56b39 /generic/tkText.h
parente108f0116e3154bacd641f8f85529512a2b9046f (diff)
downloadtk-62609c21da13af24e1df10132bdb5effc1d3ea7a.zip
tk-62609c21da13af24e1df10132bdb5effc1d3ea7a.tar.gz
tk-62609c21da13af24e1df10132bdb5effc1d3ea7a.tar.bz2
-underlinefg tag configuration option: implementation
Diffstat (limited to 'generic/tkText.h')
-rw-r--r--generic/tkText.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkText.h b/generic/tkText.h
index 1a7d986..815841c 100644
--- a/generic/tkText.h
+++ b/generic/tkText.h
@@ -398,7 +398,9 @@ typedef struct TkTextTag {
int underline; /* Non-zero means draw underline underneath
* text. Only valid if underlineString is
* non-NULL. */
- TkWrapMode wrapMode; /* How to handle wrap-around for this tag.
+ XColor *underlineColor; /* Color for the underline. NULL means same
+ * color as foreground. */
+ TkWrapMode wrapMode; /* How to hsandle wrap-around for this tag.
* Must be TEXT_WRAPMODE_CHAR,
* TEXT_WRAPMODE_NONE, TEXT_WRAPMODE_WORD, or
* TEXT_WRAPMODE_NULL to use wrapmode for