X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_xyarrowinset.h;h=fe69939be4dc1875e382f2bfc14fe9cd492c1878;hb=701b99ecd70ac472aa53c8b2317af44def4f9670;hp=c295bc87840841ba12984c423a03bd46b383ff06;hpb=00413a78417988ae9c0927729771cc188a8da6fb;p=lyx.git diff --git a/src/mathed/math_xyarrowinset.h b/src/mathed/math_xyarrowinset.h index c295bc8784..fe69939be4 100644 --- a/src/mathed/math_xyarrowinset.h +++ b/src/mathed/math_xyarrowinset.h @@ -1,13 +1,20 @@ // -*- C++ -*- +/** + * \file math_xyarrowinset.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_XYARROWINSET_H #define MATH_ARROWINSET_H #include "math_nestinset.h" -#include "math_metricsinfo.h" +#include "metricsinfo.h" -#ifdef __GNUG__ -#pragma interface -#endif // for the \ar stuff in \xymatrix @@ -18,11 +25,11 @@ public: /// MathXYArrowInset(); /// - MathInset * clone() const; + virtual std::auto_ptr clone() const; /// - void metrics(MathMetricsInfo & mi) const; + void metrics(MetricsInfo & mi) const; /// - void draw(MathPainterInfo & pi, int x, int y) const; + void draw(PainterInfo & pi, int x, int y) const; /// MathXYArrowInset * asXYArrowInset() { return this; } @@ -44,7 +51,7 @@ public: /// bool up_; /// - mutable MathMetricsInfo mi_; + mutable MetricsInfo mi_; /// mutable LyXFont font_; ///