diff options
| author | Victor Kareh <[email protected]> | 2026-05-13 14:43:44 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-19 16:21:12 -0400 |
| commit | 4bd2f90bbede5fddfeb9964896dcd389db28cef3 (patch) | |
| tree | 2fd2f7d52e4c6b31e1608a7d7075453d6d2f88ff /libdocument/ev-annotation.h | |
| parent | 1b104d3b7e603996d5b95c61064d0e646f7dce57 (diff) | |
| download | atril-4bd2f90bbede5fddfeb9964896dcd389db28cef3.tar.bz2 atril-4bd2f90bbede5fddfeb9964896dcd389db28cef3.tar.xz | |
libdocument: Use a common annotation type for text markup annotations
And a type property for the different kinds of text markup annotations
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/28e04b43
Diffstat (limited to 'libdocument/ev-annotation.h')
| -rw-r--r-- | libdocument/ev-annotation.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index d2010103..d1c85cb5 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -94,7 +94,7 @@ typedef enum { EV_ANNOTATION_TYPE_UNKNOWN, EV_ANNOTATION_TYPE_TEXT, EV_ANNOTATION_TYPE_ATTACHMENT, - EV_ANNOTATION_TYPE_HIGHLIGHT + EV_ANNOTATION_TYPE_TEXT_MARKUP } EvAnnotationType; typedef enum { @@ -110,6 +110,10 @@ typedef enum { EV_ANNOTATION_TEXT_ICON_UNKNOWN } EvAnnotationTextIcon; +typedef enum { + EV_ANNOTATION_TEXT_MARKUP_HIGHLIGHT +} EvAnnotationTextMarkupType; + /* EvAnnotation */ GType ev_annotation_get_type (void) G_GNUC_CONST; EvAnnotationType ev_annotation_get_annotation_type (EvAnnotation *annot); |
