]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathSqrt.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / mathed / InsetMathSqrt.cpp
index 81d88cee1dd0ca988fd06d0e56a5e2d2c5fedf0c..23ded20156eb97e9c6d9dea34901d8e8f860a21c 100644 (file)
@@ -14,7 +14,6 @@
 #include "MathData.h"
 #include "MathStream.h"
 #include "TextPainter.h"
-#include "Color.h"
 #include "frontends/Painter.h"
 
 
@@ -52,11 +51,11 @@ void InsetMathSqrt::draw(PainterInfo & pi, int x, int y) const
        int xp[3];
        int yp[3];
        pi.pain.line(x + dim.width(), y - a + 1,
-               x + 8, y - a + 1, Color::math);
+               x + 8, y - a + 1, Color_math);
        xp[0] = x + 8;            yp[0] = y - a + 1;
        xp[1] = x + 5;            yp[1] = y + d - 1;
        xp[2] = x;                yp[2] = y + (d - a)/2;
-       pi.pain.lines(xp, yp, 3, Color::math);
+       pi.pain.lines(xp, yp, 3, Color_math);
        drawMarkers(pi, x, y);
 }