summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-19 23:52:27 +0200
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 21:23:59 -0400
commit58cb52a561c689c9b58ccb9b08eff1e6cec32bfd (patch)
treeb26da7d5a8421bcfce6bcc6a773ddbe38318fad5 /pango/pango-attributes.h
parentb32abe049f4c64db2a99261be0bad7ae26c0643a (diff)
downloadpango-58cb52a561c689c9b58ccb9b08eff1e6cec32bfd.tar.gz
Add new PangoUnderline values
These will be used for 'line-wide' continuous underlines, as opposed to the current values, wich are per-run and jump up and down.
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 6202861a..ceb3236a 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -207,6 +207,15 @@ typedef enum
* as a possible mispelling; in some cases a contrasting color
* may automatically be used. This type of underlining is
* available since Pango 1.4.
+ * @PANGO_UNDERLINE_SINGLE_LINE: Like @PANGO_UNDERLINE_SINGLE, but
+ * drawn continuously across multiple runs. This type
+ * of underlining is available since Pango 1.46.
+ * @PANGO_UNDERLINE_DOUBLE_LINE: Like @PANGO_UNDERLINE_DOUBLE, but
+ * drawn continuously across multiple runs. This type
+ * of underlining is available since Pango 1.46.
+ * @PANGO_UNDERLINE_ERROR_LINE: Like @PANGO_UNDERLINE_ERROR, but
+ * drawn continuously across multiple runs. This type
+ * of underlining is available since Pango 1.46.
*
* The #PangoUnderline enumeration is used to specify
* whether text should be underlined, and if so, the type
@@ -217,7 +226,10 @@ typedef enum {
PANGO_UNDERLINE_SINGLE,
PANGO_UNDERLINE_DOUBLE,
PANGO_UNDERLINE_LOW,
- PANGO_UNDERLINE_ERROR
+ PANGO_UNDERLINE_ERROR,
+ PANGO_UNDERLINE_SINGLE_LINE,
+ PANGO_UNDERLINE_DOUBLE_LINE,
+ PANGO_UNDERLINE_ERROR_LINE
} PangoUnderline;
/**