]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathFrameBox.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / mathed / InsetMathFrameBox.cpp
index 90bcacdc5ee34165f5cc48ce57e20abb9e653ade..f05da83d87088407a0104002a6cb95dc3b019780 100644 (file)
@@ -14,7 +14,6 @@
 #include "MathData.h"
 #include "MathStream.h"
 #include "MathSupport.h"
-#include "Color.h"
 #include "frontends/Painter.h"
 
 
@@ -50,7 +49,7 @@ void InsetMathFrameBox::draw(PainterInfo & pi, int x, int y) const
        FontSetChanger dummy(pi.base, "textnormal");
        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);
        x += 5;
        BufferView const & bv = *pi.base.bv;