From 98a6982c4c498b60b1e2bc6db8839fe06b1032a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 5 Aug 2005 20:45:46 +0000 Subject: [PATCH] Pass colors to poppler_page_render_selection(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2005-08-05 Kristian Høgsberg * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors to poppler_page_render_selection(). --- ChangeLog | 5 +++++ pdf/ev-poppler.cc | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 251a4260..858f9afd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-05 Kristian Høgsberg + + * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors + to poppler_page_render_selection(). + 2005-08-05 Nickolay V. Shmyrev * ps/ps-document.c: (save_page_list): Use diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index 07f1028c..2c5b5265 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -1191,10 +1191,14 @@ pdf_selection_render_selection (EvSelection *selection, width, height); } + /* FIXME: Hardcoded clearlooks selection color. We should + * track theme color changes and focus out event and update + * selection color accordingly. */ poppler_page_render_selection (poppler_page, rc->scale, *pixbuf, (PopplerRectangle *)points, - (PopplerRectangle *)old_points); + (PopplerRectangle *)old_points, + 0x00ffffff, 0x007c99ad); g_object_unref (poppler_page); } -- 2.43.5