]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_xyarrowinset.h
index a6534e23b7da0b071ba295822506a9f48bf6a094..17861354dd78f81252ff559a19a518e880793ed3 100644 (file)
@@ -3,10 +3,8 @@
 #define MATH_ARROWINSET_H
 
 #include "math_nestinset.h"
+#include "math_metricsinfo.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 // for the \ar stuff in \xymatrix
 
@@ -19,9 +17,9 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(Painter & pain, int x, int y) const;
+       void draw(MathPainterInfo & pi, int x, int y) const;
        ///
        MathXYArrowInset * asXYArrowInset() { return this; }
 
@@ -36,9 +34,9 @@ public:
        ///
        MathXYMatrixInset const * targetMatrix() const;
        ///
-       MathXArray const & targetCell() const;
+       MathArray const & targetCell() const;
        ///
-       MathXArray const & sourceCell() const;
+       MathArray const & sourceCell() const;
 
        ///
        bool up_;