summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-02-09 21:40:51 (GMT)
committerfvogel <fvogel@noemail.net>2016-02-09 21:40:51 (GMT)
commit3fd29b53566e0f4ad208e5baab258bd2771d6f2d (patch)
tree4ab8508ba4799df814ae9340580d78b433c56b39 /generic/tkText.h
parent7381adb2ba7808e0c842b0d5542867b49fd944d0 (diff)
downloadtk-3fd29b53566e0f4ad208e5baab258bd2771d6f2d.zip
tk-3fd29b53566e0f4ad208e5baab258bd2771d6f2d.tar.gz
tk-3fd29b53566e0f4ad208e5baab258bd2771d6f2d.tar.bz2
-underlinefg tag configuration option: implementation
FossilOrigin-Name: 6a21622c7ed5474ca54d0d7a8c02d646452067b3
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