Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-selection.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-07-01 04:11:08 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-07-01 04:11:08 (GMT)
commit83dc7cff581241907168d6f61ce25f798b8c442f (patch)
tree912178692278acd1752ded4f0a372bf50ffbb8cf /backend/ev-selection.c
parent695641059974320c2ae485b81710a750686cff6a (diff)
Add I-Beam support to EvView. Now we can see where we can select! Sweet!
Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-selection.c: (ev_selection_get_selection_region), (ev_selection_get_selection_map): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (dispose_cache_job_info), (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_text_mapping): * shell/ev-pixbuf-cache.h: * shell/ev-view.c: (location_in_text), (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam support to EvView. Now we can see where we can select! Sweet!
Diffstat (limited to 'backend/ev-selection.c')
-rw-r--r--backend/ev-selection.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/backend/ev-selection.c b/backend/ev-selection.c
index fc8caa6..074bbbc 100644
--- a/backend/ev-selection.c
+++ b/backend/ev-selection.c
@@ -70,11 +70,21 @@ ev_selection_render_selection (EvSelection *selection,
points, old_points);
}
-GdkRegion *ev_selection_get_selection_region (EvSelection *selection,
- EvRenderContext *rc,
- EvRectangle *points)
+GdkRegion *
+ev_selection_get_selection_region (EvSelection *selection,
+ EvRenderContext *rc,
+ EvRectangle *points)
{
EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection);
return iface->get_selection_region (selection, rc, points);
}
+
+GdkRegion *
+ev_selection_get_selection_map (EvSelection *selection,
+ EvRenderContext *rc)
+{
+ EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection);
+
+ return iface->get_selection_map (selection, rc);
+}