]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYArrow.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathXYArrow.h
index b314cf7313f574077d084bfa2e320f6e5c0be512..baeef628c80ea9ec2d5095538db61b56800a1245 100644 (file)
 #define MATH_ARROWINSET_H
 
 #include "InsetMathNest.h"
-#include "metricsinfo.h"
+#include "MetricsInfo.h"
+
+
+namespace lyx {
 
 
 // for the \ar stuff in \xymatrix
@@ -25,9 +28,9 @@ public:
        ///
        InsetMathXYArrow();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       virtual std::auto_ptr<Inset> clone() const;
        ///
-       void metrics(MetricsInfo & mi) const;
+       bool metrics(MetricsInfo & mi) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -44,18 +47,21 @@ public:
        ///
        InsetMathXYMatrix const * targetMatrix() const;
        ///
-       MathArray const & targetCell() const;
+       MathData const & targetCell() const;
        ///
-       MathArray const & sourceCell() const;
+       MathData const & sourceCell() const;
 
        ///
        bool up_;
        ///
        mutable MetricsInfo mi_;
        ///
-       mutable LyXFont font_;
+       mutable Font font_;
        ///
        mutable InsetMathXYMatrix const * target_;
 };
 
+
+
+} // namespace lyx
 #endif