]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathFBox.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / mathed / InsetMathFBox.cpp
index 7533778f953a9f6ee7eb6757af44ec223fb8ac6b..c8d939d5ec1c10acc4491ac15ffe8287da589781 100644 (file)
@@ -13,7 +13,6 @@
 #include "InsetMathFBox.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "Color.h"
 
 #include "support/std_ostream.h"
 #include "frontends/Painter.h"
@@ -52,7 +51,7 @@ void InsetMathFBox::draw(PainterInfo & pi, int x, int y) const
 {
        Dimension const dim = dimension(*pi.base.bv);
        pi.pain.rectangle(x + 1, y - dim.ascent() + 1,
-               dim.width() - 2, dim.height() - 2, Color::foreground);
+               dim.width() - 2, dim.height() - 2, Color_foreground);
        FontSetChanger dummy(pi.base, "textnormal");
        cell(0).draw(pi, x + 3, y);
        setPosCache(pi, x, y);