#include "MathStream.h"
#include "MathStream.h"
+#include "frontends/Painter.h"
+
namespace lyx {
-InsetMathUnknown::InsetMathUnknown(docstring const & nm, bool final, bool black)
- : name_(nm), final_(final), black_(black)
+InsetMathUnknown::InsetMathUnknown(docstring const & nm,
+ docstring const & selection, bool final, bool black)
+ : name_(nm), final_(final), black_(black), selection_(selection)
{}
-Inset * InsetMathUnknown::clone() const
-{
- return new InsetMathUnknown(*this);
-}
-
-
docstring InsetMathUnknown::name() const
{
return name_;
drawStrBlack(pi, x, y, name_);
else
drawStrRed(pi, x, y, name_);
- setPosCache(pi, x, y);
}