summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2009-01-07 23:45:22 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2009-01-07 23:45:22 +0000
commita46d5ae6533e46d3522e0a45c3c9d5ded0ea5394 (patch)
treeaf99c6afa61afe1f8f7bd45eee2301a87d9eb748 /pango/pango-attributes.h
parenta457bf39f99b744bc7c0fa8064d0a0d3d1961078 (diff)
downloadpango-a46d5ae6533e46d3522e0a45c3c9d5ded0ea5394.tar.gz
Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and
2009-01-07 Behdad Esfahbod <behdad@gnome.org> Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and PANGO_ATTRIBUTE_INDEX_TO_TEXT_END * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c (pango_attribute_init): * pango/pango-attributes.h: Add two new public macros: PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING PANGO_ATTRIBUTE_INDEX_TO_TEXT_END svn path=/trunk/; revision=2793
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index d4ce8404..866e35dd 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -101,6 +101,9 @@ typedef enum {
PANGO_UNDERLINE_ERROR
} PangoUnderline;
+#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING 0
+#define PANGO_ATTR_INDEX_TO_TEXT_END G_MAXUINT
+
struct _PangoAttribute
{
const PangoAttrClass *klass;