]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xymatrixinset.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_xymatrixinset.h
index bead82a3eef8afd03788bdbcff34da75b60777f7..32f16f9f37a0edfc472aacfc31e18aef2e468cce 100644 (file)
@@ -4,30 +4,31 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 
 class MathXYMatrixInset : public MathGridInset {
-public: 
+public:
        ///
        MathXYMatrixInset();
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       MathXYMatrixInset * asXYMatrixInset() { return this; }
+       MathXYMatrixInset const * asXYMatrixInset() const { return this; }
        ///
-       void normalize();
+       virtual int colsep() const;
+       ///
+       virtual int rowsep() const;
 
+       ///
+       void normalize();
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
 };
 
 #endif