From 83dc7cff581241907168d6f61ce25f798b8c442f Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 01 Jul 2005 04:11:08 +0000 Subject: Add I-Beam support to EvView. Now we can see where we can select! Sweet! Fri Jul 1 00:10:15 2005 Jonathan Blandford * 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! --- (limited to 'backend/ev-selection.c') 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); +} -- cgit v0.9.1