]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_xyarrowinset.h
index 45cde7f49c64a10e7287b6cb3b6dc7536c3d9cfb..a6534e23b7da0b071ba295822506a9f48bf6a094 100644 (file)
@@ -8,9 +8,12 @@
 #pragma interface
 #endif
 
+// for the \ar stuff in \xymatrix
+
+class MathXYMatrixInset;
 
 class MathXYArrowInset : public MathNestInset {
-public: 
+public:
        ///
        MathXYArrowInset();
        ///
@@ -18,14 +21,33 @@ public:
        ///
        void metrics(MathMetricsInfo const & st) const;
        ///
+       void draw(Painter & pain, int x, int y) const;
+       ///
        MathXYArrowInset * asXYArrowInset() { return this; }
+
        ///
        void normalize();
-
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
+
+public:
+       ///
+       MathXYMatrixInset const * targetMatrix() const;
+       ///
+       MathXArray const & targetCell() const;
+       ///
+       MathXArray const & sourceCell() const;
+
+       ///
+       bool up_;
+       ///
+       mutable MathMetricsInfo mi_;
+       ///
+       mutable LyXFont font_;
+       ///
+       mutable MathXYMatrixInset const * target_;
 };
 
 #endif