X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_spaceinset.h;h=00dd1a80186af52b02f221ea0eec99eb67fa65d9;hb=57501b93064a6deed43e415beed45606054d86ad;hp=d48ff330d416f68f5d0ed4d86d5fe9e70efac388;hpb=c9e78a825bd659ddb7b4b55a6adfa7f0a1a98dd6;p=lyx.git diff --git a/src/mathed/math_spaceinset.h b/src/mathed/math_spaceinset.h index d48ff330d4..00dd1a8018 100644 --- a/src/mathed/math_spaceinset.h +++ b/src/mathed/math_spaceinset.h @@ -1,19 +1,29 @@ // -*- C++ -*- +/** + * \file math_spaceinset.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_SPACEINSET_H #define MATH_SPACEINSET_H -#include "math_diminset.h" +#include "math_inset.h" /// Smart spaces -class MathSpaceInset : public MathDimInset { +class MathSpaceInset : public MathInset { public: /// explicit MathSpaceInset(int sp); /// - explicit MathSpaceInset(string const & name); + explicit MathSpaceInset(std::string const & name); /// - MathInset * clone() const; + virtual std::auto_ptr clone() const; /// MathSpaceInset const * asSpaceInset() const { return this; } /// @@ -21,9 +31,9 @@ public: /// void incSpace(); /// - void metrics(MathMetricsInfo & mi) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// - void draw(MathPainterInfo & pi, int x, int y) const; + void draw(PainterInfo & pi, int x, int y) const; /// void normalize(NormalStream &) const;