]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.h
float2string #4 (Spacing)
[lyx.git] / src / mathed / math_xyarrowinset.h
index 17861354dd78f81252ff559a19a518e880793ed3..fe69939be4dc1875e382f2bfc14fe9cd492c1878 100644 (file)
@@ -1,9 +1,19 @@
 // -*- 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"
 
 
 // for the \ar stuff in \xymatrix
@@ -15,11 +25,11 @@ public:
        ///
        MathXYArrowInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> 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; }
 
@@ -41,7 +51,7 @@ public:
        ///
        bool up_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable MetricsInfo mi_;
        ///
        mutable LyXFont font_;
        ///