X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathRoot.cpp;h=2c453bafa1fcb6335ddf70a630fc546ae419b0f4;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=d48eeece0e3beb40c1b7442aa639109376447a26;hpb=f319fdbc2a4c8305d60f176566b818240066cfa9;p=lyx.git diff --git a/src/mathed/InsetMathRoot.cpp b/src/mathed/InsetMathRoot.cpp index d48eeece0e..2c453bafa1 100644 --- a/src/mathed/InsetMathRoot.cpp +++ b/src/mathed/InsetMathRoot.cpp @@ -15,7 +15,6 @@ #include "MathData.h" #include "MathStream.h" #include "Cursor.h" -#include "Color.h" #include "frontends/Painter.h" @@ -63,12 +62,12 @@ void InsetMathRoot::draw(PainterInfo & pi, int x, int y) const int xp[4]; int yp[4]; pi.pain.line(x + dim.width(), y - a + 1, - x + w + 4, y - a + 1, Color::math); + x + w + 4, y - a + 1, Color_math); xp[0] = x + w + 4; yp[0] = y - a + 1; xp[1] = x + w; yp[1] = y + d; xp[2] = x + w - 2; yp[2] = y + (d - a)/2 + 2; xp[3] = x + w - 5; yp[3] = y + (d - a)/2 + 4; - pi.pain.lines(xp, yp, 4, Color::math); + pi.pain.lines(xp, yp, 4, Color_math); drawMarkers(pi, x, y); }