X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fev-selection.c;h=36c32e3a53c696436eaa18ab63a27aa9d68e8156;hb=4235880ace7cb1372fbd0bdb18de256370b3808f;hp=fc8caa60523382f1751676664a082c09eeb9b091;hpb=e93b3a265bbc02546d230204402e3f41e83d6ab5;p=evince.git diff --git a/backend/ev-selection.c b/backend/ev-selection.c index fc8caa60..36c32e3a 100644 --- a/backend/ev-selection.c +++ b/backend/ev-selection.c @@ -61,20 +61,33 @@ ev_selection_render_selection (EvSelection *selection, EvRenderContext *rc, GdkPixbuf **pixbuf, EvRectangle *points, - EvRectangle *old_points) + EvRectangle *old_points, + GdkColor *text, + GdkColor *base) { EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); iface->render_selection (selection, rc, pixbuf, - points, old_points); + points, old_points, + text, base); } -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); +}