]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_deliminset.h
index 8c1feef1ed299638eefc9b7dd8e86deed81b39fd..3b02fce75cd3e46f99af8f030190328a8de66785 100644 (file)
@@ -19,7 +19,7 @@ public:
        ///
        MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        MathDelimInset * asDelimInset() { return this; }
        ///
@@ -31,9 +31,9 @@ public:
        /// is it |...|?
        bool isAbs() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
 
        ///
        void write(WriteStream & os) const;
@@ -55,6 +55,6 @@ public:
        string right_;
 private:
        ///
-       int dw() const;
+       mutable int dw_;
 };
 #endif