]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetFormulaMacro.cpp
rename LColor into Color
[features.git] / src / mathed / InsetFormulaMacro.cpp
index 912bb258ba5e577c8dabf7039708430ba8a537b9..91195646f1b35bbf4749b832f68249369e374a48 100644 (file)
@@ -19,7 +19,7 @@
 #include "Cursor.h"
 #include "debug.h"
 #include "gettext.h"
-#include "LColor.h"
+#include "Color.h"
 #include "Lexer.h"
 #include "OutputParams.h"
 
@@ -145,7 +145,7 @@ void InsetFormulaMacro::draw(PainterInfo & p, int x, int y) const
 {
        // label
        LyXFont font = p.base.font;
-       font.setColor(LColor::math);
+       font.setColor(Color::math);
 
        PainterInfo pi(p.base.bv, p.pain);
        pi.base.style = LM_ST_TEXT;
@@ -155,9 +155,9 @@ void InsetFormulaMacro::draw(PainterInfo & p, int x, int y) const
        int const w = dim_.wid - 2;
        int const h = dim_.height() - 2;
 
-       // LColor::mathbg used to be "AntiqueWhite" but is "linen" now, too
-       pi.pain.fillRectangle(x, a, w, h, LColor::mathmacrobg);
-       pi.pain.rectangle(x, a, w, h, LColor::mathframe);
+       // Color::mathbg used to be "AntiqueWhite" but is "linen" now, too
+       pi.pain.fillRectangle(x, a, w, h, Color::mathmacrobg);
+       pi.pain.rectangle(x, a, w, h, Color::mathframe);
 
 #ifdef WITH_WARNINGS
 #warning FIXME