Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1:/tmp/cvs-serv581/src/modules/viewflt

Modified Files:
        QuoteURL.cpp Signature.cpp Trailer.cpp 
Log Message:
1. Removed MessageViewer::InsertSignature(); added EndText()
2. ClickableInfo reorganization:
 a) ClickableInfo is not in a separate header and is now a base class
 b) instead of switch on type of ClickableInfo we now have
    ClickableAttachment and ClickableURL implementations of the base class


Index: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- QuoteURL.cpp        1 Dec 2002 00:27:34 -0000       1.1
+++ QuoteURL.cpp        5 Dec 2002 19:47:32 -0000       1.2
@@ -95,7 +95,4 @@
    struct Options
    {
-      // URL colour (used only if highlightURLs)
-      wxColour UrlCol;
-
       // the colours for quoted text (only used if quotedColourize)
       //
@@ -153,6 +150,4 @@
    GET_COLOUR_FROM_PROFILE(m_options.QuotedCol[2], QUOTED_COLOUR2);
    GET_COLOUR_FROM_PROFILE(m_options.QuotedCol[3], QUOTED_COLOUR3);
-
-   GET_COLOUR_FROM_PROFILE(m_options.UrlCol, URLCOLOUR);
 
    #undef GET_COLOUR_FROM_PROFILE

Index: Signature.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/Signature.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- Signature.cpp       5 Dec 2002 11:29:13 -0000       1.5
+++ Signature.cpp       5 Dec 2002 19:47:32 -0000       1.6
@@ -28,4 +28,5 @@
 #include "ViewFilter.h"
 #include "MessageView.h"
+#include "MessageViewer.h"
 
 #include "miscutil.h"         // for GetColourByName()
@@ -173,4 +174,7 @@
    if ( !signature.empty() )
    {
+      // the main message text ends here
+      viewer->EndText();
+
       // and now show the trailer in special style
       wxColour colOld = style.GetTextColour();

Index: Trailer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/Trailer.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -u -2 -r1.7 -r1.8
--- Trailer.cpp 4 Dec 2002 09:35:27 -0000       1.7
+++ Trailer.cpp 5 Dec 2002 19:47:32 -0000       1.8
@@ -26,4 +26,5 @@
 
 #include "MTextStyle.h"
+#include "MessageViewer.h"
 
 #include "ViewFilter.h"
@@ -120,4 +121,7 @@
          // for them again
          Process(text, viewer, style);
+
+         // the main message text ends here
+         viewer->EndText();
 
          // and now show the trailer in special style



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to