diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-08-19 23:52:27 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-31 21:23:59 -0400 |
commit | 58cb52a561c689c9b58ccb9b08eff1e6cec32bfd (patch) | |
tree | b26da7d5a8421bcfce6bcc6a773ddbe38318fad5 /pango/pango-attributes.h | |
parent | b32abe049f4c64db2a99261be0bad7ae26c0643a (diff) | |
download | pango-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.h | 14 |
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; /** |