3 * \file math_undersetinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_UNDERSETINSET_H
13 #define MATH_UNDERSETINSET_H
16 #include "math_fracbase.h"
18 /// Inset for underset
19 class MathUndersetInset : public MathFracbaseInset {
22 std::auto_ptr<InsetBase> clone() const;
24 void metrics(MetricsInfo & mi, Dimension & dim) const;
26 void draw(PainterInfo & pi, int x, int y) const;
28 bool idxFirst(LCursor &) const;
30 bool idxLast(LCursor &) const;
32 bool idxUpDown(LCursor &, bool up, int targetx) const;
34 void write(WriteStream & os) const;
36 void normalize(NormalStream &) const;