Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8632/src/modules/viewflt

Modified Files:
        QuoteURL.cpp Signature.cpp 
Log Message:
removed the miscutil files; use the new ColourNames.h for the only useful functions 
which remained there

Index: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- QuoteURL.cpp        13 Oct 2003 00:41:14 -0000      1.10
+++ QuoteURL.cpp        14 Mar 2004 22:51:38 -0000      1.11
@@ -42,5 +42,5 @@
 #include "MTextStyle.h"
 
-#include "miscutil.h"         // for GetColourByName()
+#include "ColourNames.h"
 
 // ----------------------------------------------------------------------------
@@ -246,7 +246,5 @@
    // a macro to make setting many colour options less painful
    #define GET_COLOUR_FROM_PROFILE(col, name) \
-      GetColourByName(&col, \
-                      READ_CONFIG(profile, MP_MVIEW_##name), \
-                      GetStringDefault(MP_MVIEW_##name))
+      ReadColour(&col, profile, MP_MVIEW_ ## name)
 
    GET_COLOUR_FROM_PROFILE(options.QuotedCol[1], QUOTED_COLOUR1);

Index: Signature.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/Signature.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -u -2 -r1.12 -r1.13
--- Signature.cpp       13 Oct 2003 00:41:14 -0000      1.12
+++ Signature.cpp       14 Mar 2004 22:51:38 -0000      1.13
@@ -30,5 +30,5 @@
 #include "MessageViewer.h"
 
-#include "miscutil.h"         // for GetColourByName()
+#include "ColourNames.h"
 
 // ----------------------------------------------------------------------------
@@ -88,7 +88,5 @@
    // a macro to make setting many colour options less painful
    #define GET_COLOUR_FROM_PROFILE(col, name) \
-      GetColourByName(&col, \
-                      READ_CONFIG(profile, MP_MVIEW_##name), \
-                      GetStringDefault(MP_MVIEW_##name))
+      ReadColour(&col, profile, MP_MVIEW_ ## name)
 
    GET_COLOUR_FROM_PROFILE(options.SigCol, SIGCOLOUR);



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to