summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorJason Crain <[email protected]>2013-06-15 10:43:08 -0500
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commitd758271a60f8d081d1a0701b48d68981dcad9804 (patch)
tree69fad9b6afab351b7a7dbf358cec0226be8e5c12 /libview/ev-view-private.h
parentb062ae0ca9eeb927a111a92bb9d41f3a77630f71 (diff)
downloadatril-d758271a60f8d081d1a0701b48d68981dcad9804.tar.bz2
atril-d758271a60f8d081d1a0701b48d68981dcad9804.tar.xz
libview: Draw selection highlight from region
Allows a fallback for backends which can implement get_selection_region but not render_selection. Changes ev-pixbuf-cache so a redraw is only done when the scale changes. https://bugzilla.gnome.org/show_bug.cgi?id=669022 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=9e89fb1
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index abdd43b7..3ec1f790 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -278,6 +278,9 @@ void _ev_view_transform_doc_rect_to_view_rect (EvView *view,
int page,
EvRectangle *doc_rect,
GdkRectangle *view_rect);
+void _ev_view_get_selection_colors (EvView *view,
+ GdkRGBA *bg_color,
+ GdkRGBA *fg_color);
void _ev_view_set_focused_element (EvView *view,
EvMapping *element_mapping,