]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathTFrac.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / mathed / InsetMathTFrac.cpp
index ee6085434ca3062f114e1271c37709d71a23780d..2a08b207662160d4e53b8beee84727d710704dcc 100644 (file)
@@ -16,7 +16,6 @@
 #include "MathStream.h"
 
 #include "LaTeXFeatures.h"
-#include "Color.h"
 
 #include "frontends/Painter.h"
 
@@ -58,7 +57,7 @@ void InsetMathTFrac::draw(PainterInfo & pi, int x, int y) const
        int m = x + dim.wid / 2;
        cell(0).draw(pi, m - dim0.width() / 2, y - dim0.descent() - 2 - 5);
        cell(1).draw(pi, m - dim1.width() / 2, y + dim1.ascent()  + 2 - 5);
-       pi.pain.line(x + 1, y - 5, x + dim.wid - 2, y - 5, Color::math);
+       pi.pain.line(x + 1, y - 5, x + dim.wid - 2, y - 5, Color_math);
        setPosCache(pi, x, y);
 }