lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master d7244c1 043/156: Change the colour used for l


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d7244c1 043/156: Change the colour used for lines and borders
Date: Tue, 30 Jan 2018 17:22:06 -0500 (EST)

branch: master
commit d7244c1e93071c4a1a3fb02024f4d6e143e73f29
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Change the colour used for lines and borders
    
    This applies the changes done in
    377c5a9b515a1abc03d9918b6eb27d704cebc2ba on master.
---
 ledger_pdf_generator_wx.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index db84015..09c377d 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -56,6 +56,9 @@ using namespace html;
 namespace
 {
 
+// Colour used for lines and border in the generated illustrations.
+const wxColour HIGHLIGHT_COL(0x00, 0x2f, 0x6c);
+
 // This function is also provided in <boost/algorithm/string/predicate.hpp>,
 // but it's arguably not worth adding dependency on this Boost library just for
 // this function.
@@ -393,7 +396,7 @@ class cover_page : public page
         ,html_interpolator const& interpolate_html
         ) override
     {
-        dc.SetPen(wxPen(*wxBLUE, 2));
+        dc.SetPen(wxPen(HIGHLIGHT_COL, 2));
         dc.SetBrush(*wxTRANSPARENT_BRUSH);
 
         auto const frame_horz_margin = writer.get_horz_margin();
@@ -645,7 +648,7 @@ class page_with_footer : public page
             ,footer_html
             );
 
-        dc.SetPen(*wxBLUE);
+        dc.SetPen(HIGHLIGHT_COL);
         dc.DrawLine
             (frame_horz_margin
             ,footer_top



reply via email to

[Prev in Thread] Current Thread [Next in Thread]