summaryrefslogtreecommitdiff
path: root/libview/ev-view-accessible.h
diff options
context:
space:
mode:
authorJoanmarie Diggs <[email protected]>2014-06-23 08:54:56 -0400
committerraveit65 <[email protected]>2017-11-27 10:13:51 +0100
commit787304da54342736718af61b4441c27615324adf (patch)
tree2a61a8aea30c7d96cb86ac96c4622b02405e4f4c /libview/ev-view-accessible.h
parent3eb5aac5d3313fee4f4f60ef323b2fa35f03b847 (diff)
downloadatril-787304da54342736718af61b4441c27615324adf.tar.bz2
atril-787304da54342736718af61b4441c27615324adf.tar.xz
ev-view-accessible: Add a method to determine if a given doc rect is showing
The Accessibility code needs to know this to set and update ATK_STATE_SHOWING. https://bugzilla.gnome.org/show_bug.cgi?id=728475 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=5c2ce4e
Diffstat (limited to 'libview/ev-view-accessible.h')
-rw-r--r--libview/ev-view-accessible.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-view-accessible.h b/libview/ev-view-accessible.h
index b756b554..cae1d108 100644
--- a/libview/ev-view-accessible.h
+++ b/libview/ev-view-accessible.h
@@ -62,6 +62,9 @@ void _transform_doc_rect_to_atk_rect (EvViewAccessible *accessible,
EvRectangle *doc_rect,
EvRectangle *atk_rect,
AtkCoordType coord_type);
+gboolean ev_view_accessible_is_doc_rect_showing (EvViewAccessible *accessible,
+ gint page,
+ EvRectangle *doc_rect);
#endif /* __EV_VIEW_ACCESSIBLE_H__ */