]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathSplit.h
index 0310ce13c492ca6495b8e068a0f7c8697fa11fa3..8893e7fe1d9e638515a0532d40269e00303dc564 100644 (file)
@@ -22,7 +22,9 @@ class InsetMathSplit : public InsetMathGrid {
 public:
        ///
        explicit InsetMathSplit(Buffer * buf, docstring const & name,
-               char valign = 'c');
+               char valign = 'c', bool numbered = false);
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -41,8 +43,12 @@ public:
        ///
        int defaultColSpace(col_type) { return 0; }
        ///
+       int displayColSpace(col_type col) const;
+       ///
        char defaultColAlign(col_type);
        ///
+       char displayColAlign(idx_type idx) const;
+       ///
        InsetCode lyxCode() const { return MATH_SPLIT_CODE; }
 
 private:
@@ -50,6 +56,8 @@ private:
        virtual Inset * clone() const;
        ///
        docstring name_;
+       ///
+       bool numbered_;
 };