X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_sqrtinset.h;h=7279ef3e810dfe584cfcb05a3c8669d737dac24e;hb=a8a1f10e765512b40f6942e5594363fe16542c1c;hp=e3e153de39c82e81a702e2e8e73ab5e81c85699f;hpb=0024f42724dd9f5eb20d6d5a14276fad4e744963;p=lyx.git diff --git a/src/mathed/math_sqrtinset.h b/src/mathed/math_sqrtinset.h index e3e153de39..7279ef3e81 100644 --- a/src/mathed/math_sqrtinset.h +++ b/src/mathed/math_sqrtinset.h @@ -1,29 +1,48 @@ // -*- C++ -*- +/** + * \file math_sqrtinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SQRTINSET_H #define MATH_SQRTINSET_H -#include "math_inset.h" +#include "math_nestinset.h" -#ifdef __GNUG__ -#pragma interface -#endif -/** The square root inset. - \author Alejandro Aguilar Siearra - */ -class MathSqrtInset : public MathInset { +/// \c MathSqrtInset The square root inset. +class MathSqrtInset : public MathNestInset { public: /// MathSqrtInset(); /// - MathInset * clone() const; + virtual std::auto_ptr clone() const; + /// + void draw(PainterInfo &, int x, int y) const; + /// + void metrics(MetricsInfo & mi, Dimension & dim) const; + /// + void drawT(TextPainter &, int x, int y) const; + /// + void metricsT(TextMetricsInfo const & mi, Dimension & dim) const; + + /// + void write(WriteStream & os) const; + /// + void normalize(NormalStream &) const; /// - void draw(Painter &, int x, int baseline); + void maple(MapleStream &) const; /// - void Write(std::ostream &, bool fragile) const; + void mathematica(MathematicaStream &) const; /// - void WriteNormal(std::ostream &) const; + void octave(OctaveStream &) const; /// - void Metrics(MathStyles st, int asc = 0, int des = 0); + void mathmlize(MathMLStream &) const; }; #endif