]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_xyarrowinset.h
index 758981c78757e329647b3f6bdc8436d33553c701..5bff4211f09c99a4b6c58ceddadaee1c0a5de766 100644 (file)
@@ -3,11 +3,8 @@
 #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 +15,11 @@ public:
        ///
        MathXYArrowInset();
        ///
-       MathInset * clone() const;
+       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; }
 
@@ -37,14 +34,14 @@ public:
        ///
        MathXYMatrixInset const * targetMatrix() const;
        ///
-       MathXArray const & targetCell() const;
+       MathArray const & targetCell() const;
        ///
-       MathXArray const & sourceCell() const;
+       MathArray const & sourceCell() const;
 
        ///
        bool up_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable MetricsInfo mi_;
        ///
        mutable LyXFont font_;
        ///