lyx_mirror/src/mathed/math_inferinset.C
André Pönitz 3c7c7a3209 the workarea changes plus small math stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5128 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 08:30:27 +00:00

45 lines
628 B
C

#ifdef __GNUG__
#pragma implementation
#endif
#include "math_inferinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
using std::max;
MathInferInset::MathInferInset()
: MathGridInset(1, 1)
{}
MathInset * MathInferInset::clone() const
{
return new MathInferInset(*this);
}
void MathInferInset::metrics(MathMetricsInfo &) const
{
}
void MathInferInset::draw(MathPainterInfo &, int, int) const
{
}
void MathInferInset::write(WriteStream & os) const
{
os << "\\infer";
if (opt_.size())
os << "[" << opt_ << "]";
MathGridInset::write(os);
}