lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6278] Rename graphics files


From: Greg Chicares
Subject: [lmi-commits] [6278] Rename graphics files
Date: Wed, 16 Sep 2015 20:41:18 +0000

Revision: 6278
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6278
Author:   chicares
Date:     2015-09-16 20:41:17 +0000 (Wed, 16 Sep 2015)
Log Message:
-----------
Rename graphics files

Modified Paths:
--------------
    lmi/trunk/group_quote_pdf_gen_wx.cpp

Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp        2015-09-16 20:40:30 UTC (rev 
6277)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp        2015-09-16 20:41:17 UTC (rev 
6278)
@@ -694,8 +694,8 @@
     ,int* pos_y
     )
 {
-    wxImage background_image(load_image("background.png"));
-    if(!background_image.IsOk())
+    wxImage banner_image(load_image("group_quote_banner.png"));
+    if(!banner_image.IsOk())
         {
         return;
         }
@@ -707,13 +707,13 @@
     wxPdfDocument* const pdf_doc = pdf_dc.GetPdfDocument();
     LMI_ASSERT(pdf_doc);
 
-    wxSize const image_size = background_image.GetSize();
+    wxSize const image_size = banner_image.GetSize();
 
     // Set the scale to fit the image to the document width.
     pdf_doc->SetImageScale
         (static_cast<double>(image_size.x) / page_.total_size_.x
         );
-    pdf_doc->Image("background", background_image, 0, *pos_y);
+    pdf_doc->Image("banner", banner_image, 0, *pos_y);
 
     int const y = wxRound(image_size.y / pdf_doc->GetImageScale());
 
@@ -919,7 +919,7 @@
     ,enum_output_mode output_mode
     )
 {
-    wxImage logo_image(load_image("logo.png"));
+    wxImage logo_image(load_image("company_logo.png"));
     if(logo_image.IsOk())
         {
         switch(output_mode)




reply via email to

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