comparison src/about.cpp @ 7:7ac7d28699af

Display DB update day. Ask print image with mask or not.
author pyon@macmini
date Thu, 17 Oct 2013 19:54:23 +0900
parents 0c0701a935f8
children a2ad87cad48b
comparison
equal deleted inserted replaced
6:76db82822e73 7:7ac7d28699af
1 // Filename : about.cpp 1 // Filename : about.cpp
2 // Last Change: 18-Jun-2012. 2 // Last Change: 17-Oct-2013.
3 // 3 //
4 4
5 #include "common.h" 5 #include "common.h"
6 #include "about.h" 6 #include "about.h"
7 7
56 m_richText->EndTextColour(); 56 m_richText->EndTextColour();
57 m_richText->EndFontSize(); 57 m_richText->EndFontSize();
58 m_richText->EndBold(); 58 m_richText->EndBold();
59 m_richText->Newline(); 59 m_richText->Newline();
60 } 60 }
61 else if ( textfile[i].StartsWith( wxT("20")) ) { 61 else if ( textfile[i].StartsWith( wxT("20")) ) { // year
62 m_richText->BeginAlignment( wxTEXT_ALIGNMENT_RIGHT ); 62 m_richText->BeginAlignment( wxTEXT_ALIGNMENT_RIGHT );
63 m_richText->BeginItalic(); 63 m_richText->BeginItalic();
64 m_richText->WriteText( textfile[i] ); 64 m_richText->WriteText( textfile[i] );
65 m_richText->EndItalic(); 65 m_richText->EndItalic();
66 m_richText->EndAlignment(); 66 m_richText->EndAlignment();
72 } 72 }
73 else { 73 else {
74 m_richText->BeginSymbolBullet( wxT("* "), 60, 0, wxTEXT_ATTR_BULLET_STYLE_SYMBOL ); 74 m_richText->BeginSymbolBullet( wxT("* "), 60, 0, wxTEXT_ATTR_BULLET_STYLE_SYMBOL );
75 m_richText->WriteText( textfile[i] ); 75 m_richText->WriteText( textfile[i] );
76 m_richText->EndSymbolBullet(); 76 m_richText->EndSymbolBullet();
77 m_richText->Newline();
77 } 78 }
78 } 79 }
79 textfile.Close(); 80 textfile.Close();
80 m_richText->SetEditable( false ); 81 m_richText->SetEditable( false );
81 } 82 }