X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.cpp;h=21ecfe9e508582817a40cd96a7c28e2fa8d67584;hb=5008ee540f84715cd10e87f3fa0cd5dc7b974784;hp=e4374dce2eed5a8c674621b83d3d7beddd6329b0;hpb=06baeac0646a2d63145ff3b18a3180ca69c6b288;p=features.git diff --git a/src/mathed/InsetMathPhantom.cpp b/src/mathed/InsetMathPhantom.cpp index e4374dce2e..21ecfe9e50 100644 --- a/src/mathed/InsetMathPhantom.cpp +++ b/src/mathed/InsetMathPhantom.cpp @@ -14,7 +14,7 @@ #include "MathStream.h" #include "MathStream.h" -#include "LColor.h" +#include "Color.h" #include "frontends/Painter.h" @@ -51,8 +51,8 @@ void InsetMathPhantom::draw(PainterInfo & pi, int x, int y) const static int const arrow_size = 4; // We first draw the text and then an arrow - LColor_color const origcol = pi.base.font.color(); - pi.base.font.setColor(LColor::special); + Color_color const origcol = pi.base.font.color(); + pi.base.font.setColor(Color::special); cell(0).draw(pi, x + 1, y); pi.base.font.setColor(origcol); @@ -79,15 +79,15 @@ void InsetMathPhantom::draw(PainterInfo & pi, int x, int y) const int const y3 = y4 - arrow_size; // top arrow - pi.pain.line(x2, y1, x1, y2, LColor::added_space); - pi.pain.line(x2, y1, x3, y2, LColor::added_space); + pi.pain.line(x2, y1, x1, y2, Color::added_space); + pi.pain.line(x2, y1, x3, y2, Color::added_space); // bottom arrow - pi.pain.line(x2, y4, x1, y3, LColor::added_space); - pi.pain.line(x2, y4, x3, y3, LColor::added_space); + pi.pain.line(x2, y4, x1, y3, Color::added_space); + pi.pain.line(x2, y4, x3, y3, Color::added_space); // joining line - pi.pain.line(x2, y1, x2, y4, LColor::added_space); + pi.pain.line(x2, y1, x2, y4, Color::added_space); } if (kind_ == phantom || kind_ == hphantom) { @@ -109,15 +109,15 @@ void InsetMathPhantom::draw(PainterInfo & pi, int x, int y) const int const y3 = y2 + arrow_size; // left arrow - pi.pain.line(x1, y2, x2, y3, LColor::added_space); - pi.pain.line(x1, y2, x2, y1, LColor::added_space); + pi.pain.line(x1, y2, x2, y3, Color::added_space); + pi.pain.line(x1, y2, x2, y1, Color::added_space); // right arrow - pi.pain.line(x4, y2, x3, y3, LColor::added_space); - pi.pain.line(x4, y2, x3, y1, LColor::added_space); + pi.pain.line(x4, y2, x3, y3, Color::added_space); + pi.pain.line(x4, y2, x3, y1, Color::added_space); // joining line - pi.pain.line(x1, y2, x4, y2, LColor::added_space); + pi.pain.line(x1, y2, x4, y2, Color::added_space); } drawMarkers(pi, x, y);