Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv4502/include

Modified Files:
        Composer.h Moptions.h 
Log Message:
added an option to use the user-specified font/colours for the header fields and not 
only for the composer window

Index: Composer.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Composer.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -u -2 -r1.15 -r1.16
--- Composer.h  13 Sep 2002 01:27:46 -0000      1.15
+++ Composer.h  30 Oct 2002 18:43:32 -0000      1.16
@@ -290,4 +290,7 @@
       /// read the options from the given profile
       void Read(Profile *profile);
+
+      /// get the font using either m_font or m_fontFamily/Size
+      wxFont GetFont() const;
    };
 

Index: Moptions.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Moptions.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -b -u -2 -r1.56 -r1.57
--- Moptions.h  17 Sep 2002 10:30:48 -0000      1.56
+++ Moptions.h  30 Oct 2002 18:43:33 -0000      1.57
@@ -303,4 +303,5 @@
 extern const MOption MP_CVIEW_FGCOLOUR;
 extern const MOption MP_CVIEW_BGCOLOUR;
+extern const MOption MP_CVIEW_COLOUR_HEADERS;
 
 // sorting/threading
@@ -959,5 +960,5 @@
 #define MP_FTREE_HOME_NAME "FTreeHome"
 //@}
-/**@name Font settings for compose view */
+/**@name Font and colour settings for composer */
 //@{
 /// which font to use
@@ -970,5 +971,7 @@
 #define   MP_CVIEW_FGCOLOUR_NAME      "CViewFGColour"
 /// which background colour for the font
-#define   MP_CVIEW_BGCOLOUR_NAME      "CViewBGColout"
+#define   MP_CVIEW_BGCOLOUR_NAME      "CViewBGColout" // typo but do *NOT* fix
+/// use the colours and font for the headers as well?
+#define   MP_CVIEW_COLOUR_HEADERS_NAME "CViewColourHeaders"
 //@}
 /// highlight signature?
@@ -1884,4 +1887,6 @@
 /// which background colour for the font
 #define   MP_CVIEW_BGCOLOUR_DEFVAL      "white"
+/// use the colours and font for the headers as well?
+#define   MP_CVIEW_COLOUR_HEADERS_DEFVAL 0L
 //@}
 /// highlight signature?



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to