]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.cpp
add busy.gif to resources (in line with cmake)
[lyx.git] / src / mathed / InsetMathRoot.cpp
index 722e16792e4c7fe1cd4fc950b414df1b6be52489..4a78ab997521ba92cd2d3a719136cd9958be947b 100644 (file)
@@ -62,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, pi.base.font.color());
        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, pi.base.font.color());
        drawMarkers(pi, x, y);
 }
 
@@ -137,6 +137,7 @@ void InsetMathRoot::validate(LaTeXFeatures & features) const
                        "span.rootof{border-top: thin solid black;}\n"
                        "span.root sup{font-size: 75%;}\n"
                        "</style>");
+       InsetMathNest::validate(features);
 }
 
 } // namespace lyx