Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv7636/src/modules
Modified Files:
TextViewer.cpp
Log Message:
show the header names in bold, as the default viewer
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -b -u -2 -r1.32 -r1.33
--- TextViewer.cpp 3 May 2002 19:06:42 -0000 1.32
+++ TextViewer.cpp 3 May 2002 23:04:02 -0000 1.33
@@ -496,5 +496,14 @@
const ProfileValues& profileValues = GetOptions();
- InsertText(name + ": ", wxTextAttr(profileValues.HeaderNameCol));
+ wxTextAttr attr(profileValues.HeaderNameCol);
+ wxFont font = m_window->GetFont();
+ font.SetWeight(wxFONTWEIGHT_BOLD);
+ attr.SetFont(font);
+
+ InsertText(name + ": ", attr);
+
+ // restore the non bold font
+ attr.SetFont(m_window->GetFont());
+ m_window->SetDefaultStyle(attr);
}
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates