X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathRoot.cpp;h=fc7d1d5ade51a1d8085197fa3b08ea2095042fa0;hb=2640b2122838b7025b8494fb378b8927fca75831;hp=eb791c343ac52fc094a6ba4e618a317c56643543;hpb=6e3a75969b97a5db4c80c46be49d4deb122abfe7;p=lyx.git diff --git a/src/mathed/InsetMathRoot.cpp b/src/mathed/InsetMathRoot.cpp index eb791c343a..fc7d1d5ade 100644 --- a/src/mathed/InsetMathRoot.cpp +++ b/src/mathed/InsetMathRoot.cpp @@ -12,10 +12,10 @@ #include #include "InsetMathRoot.h" -#include "MathArray.h" +#include "MathData.h" #include "MathStream.h" -#include "cursor.h" -#include "LColor.h" +#include "Cursor.h" +#include "Color.h" #include "frontends/Painter.h" @@ -32,9 +32,9 @@ InsetMathRoot::InsetMathRoot() {} -auto_ptr InsetMathRoot::doClone() const +auto_ptr InsetMathRoot::doClone() const { - return auto_ptr(new InsetMathRoot(*this)); + return auto_ptr(new InsetMathRoot(*this)); } @@ -68,7 +68,7 @@ void InsetMathRoot::draw(PainterInfo & pi, int x, int y) const xp[2] = x + w; yp[2] = y + d; xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2; xp[4] = x + w - 5; yp[4] = y + (d - a)/2 + 4; - pi.pain.lines(xp, yp, 5, LColor::math); + pi.pain.lines(xp, yp, 5, Color::math); drawMarkers(pi, x, y); } @@ -85,9 +85,9 @@ void InsetMathRoot::normalize(NormalStream & os) const } -bool InsetMathRoot::idxUpDown(LCursor & cur, bool up) const +bool InsetMathRoot::idxUpDown(Cursor & cur, bool up) const { - LCursor::idx_type const target = up ? 0 : 1; + Cursor::idx_type const target = up ? 0 : 1; if (cur.idx() == target) return false; cur.idx() = target;