]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYMatrix.h
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / mathed / InsetMathXYMatrix.h
index 3dfcd9b4ab03cbf1c1e50d53d053bfa6fc141b4c..949f488f9459e9eef1562f66498d5ebedf379b67 100644 (file)
@@ -22,9 +22,9 @@ namespace lyx {
 class InsetMathXYMatrix : public InsetMathGrid {
 public:
        ///
-       InsetMathXYMatrix();
+       InsetMathXYMatrix(LyXLength const & = LyXLength(), char c = '\0');
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        InsetMathXYMatrix const * asXYMatrixInset() const { return this; }
        ///
@@ -42,9 +42,15 @@ public:
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
        ///
        virtual std::auto_ptr<InsetBase> doClone() const;
+       /// extra spacing, may be empty
+       LyXLength spacing_;
+       ///
+       char spacing_code_;
 };