X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_undersetinset.h;h=002ff0d7bd7465d061bfd73bc8e4cc0fc03366c5;hb=edbef46cd7865dab72ab6b503d62e2492479d297;hp=35ed008fee2a534be75c964506031d01a61dae2b;hpb=2b8ef58dc021912b2862328b9000cfe37578ea37;p=lyx.git diff --git a/src/mathed/math_undersetinset.h b/src/mathed/math_undersetinset.h index 35ed008fee..002ff0d7bd 100644 --- a/src/mathed/math_undersetinset.h +++ b/src/mathed/math_undersetinset.h @@ -1,31 +1,39 @@ // -*- C++ -*- +/** + * \file math_undersetinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_UNDERSETINSET_H #define MATH_UNDERSETINSET_H -#include "math_fracbase.h" -#ifdef __GNUG__ -#pragma interface -#endif +#include "math_fracbase.h" -/** Underset objects - \author André Pönitz - */ +/// Inset for underset class MathUndersetInset : public MathFracbaseInset { public: /// - MathUndersetInset(); + std::auto_ptr clone() const; /// - MathInset * clone() const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// - void metrics(MathMetricsInfo const & st) const; + void draw(PainterInfo & pi, int x, int y) const; /// - void draw(Painter &, int x, int y) const; - + bool idxFirst(LCursor & cur) const; + /// + bool idxLast(LCursor & cur) const; + /// + bool idxUpDown(LCursor & cur, bool up) const; /// - void write(WriteStream & os) const; + void write(WriteStream & ws) const; /// - void normalize(NormalStream &) const; + void normalize(NormalStream & ns) const; }; #endif