lyx_mirror/src/mathed/math_inferinset.C
André Pönitz 2a5ab60ce8 IU of clone() and getLabelList()
Some mathed internal renamings to prepare further IU


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 11:49:38 +00:00

37 lines
567 B
C

#include "math_inferinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
MathInferInset::MathInferInset()
: MathGridInset(1, 1)
{}
InsetBase * MathInferInset::clone() const
{
return new MathInferInset(*this);
}
void MathInferInset::metrics(MetricsInfo &, Dimension &) const
{
}
void MathInferInset::draw(PainterInfo &, int, int) const
{
}
void MathInferInset::write(WriteStream & os) const
{
os << "\\infer";
if (opt_.size())
os << '[' << opt_ << ']';
MathGridInset::write(os);
}