diff options
author | Jonathan 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) |
commit | 83dc7cff581241907168d6f61ce25f798b8c442f (patch) | |
tree | 912178692278acd1752ded4f0a372bf50ffbb8cf /backend/ev-selection.h | |
parent | 695641059974320c2ae485b81710a750686cff6a (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.h')
-rw-r--r-- | backend/ev-selection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/ev-selection.h b/backend/ev-selection.h index a07d639..8c5e224 100644 --- a/backend/ev-selection.h +++ b/backend/ev-selection.h @@ -48,6 +48,8 @@ struct _EvSelectionIface GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points); + GdkRegion * (* get_selection_map) (EvSelection *selection, + EvRenderContext *rc); GdkRegion * (* get_selection_region) (EvSelection *selection, EvRenderContext *rc, EvRectangle *points); @@ -59,6 +61,8 @@ void ev_selection_render_selection (EvSelection *selection, GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points); +GdkRegion *ev_selection_get_selection_map (EvSelection *selection, + EvRenderContext *rc); GdkRegion *ev_selection_get_selection_region (EvSelection *selection, EvRenderContext *rc, EvRectangle *points); |