#include <config.h>
#include "InsetMathFBox.h"
-#include "MathArray.h"
+#include "MathData.h"
#include "MathStream.h"
-#include "LColor.h"
+#include "Color.h"
#include "support/std_ostream.h"
#include "frontends/Painter.h"
{}
-auto_ptr<InsetBase> InsetMathFBox::doClone() const
+auto_ptr<Inset> InsetMathFBox::doClone() const
{
- return auto_ptr<InsetBase>(new InsetMathFBox(*this));
+ return auto_ptr<Inset>(new InsetMathFBox(*this));
}
void InsetMathFBox::draw(PainterInfo & pi, int x, int y) const
{
pi.pain.rectangle(x + 1, y - dim_.ascent() + 1,
- dim_.width() - 2, dim_.height() - 2, LColor::foreground);
+ dim_.width() - 2, dim_.height() - 2, Color::foreground);
FontSetChanger dummy(pi.base, "textnormal");
cell(0).draw(pi, x + 3, y);
setPosCache(pi, x, y);