]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathGrid.h
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathGrid.h
index 6d80ad6a4e4260cb3c540f978a69f2f67d224a68..7683ad6305a9a22d9cdf99a80cd7b9bc1a67b5b0 100644 (file)
@@ -100,9 +100,7 @@ public:
        ///
        InsetMathGrid(col_type m, row_type n, char valign, docstring const & halign);
        ///
-       void metrics(MetricsInfo & mi) const;
-       ///
-       bool metrics(MetricsInfo & mi, Dimension &) const;
+       void metrics(MetricsInfo & mi, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -226,7 +224,7 @@ protected:
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        /// returns x offset of cell compared to inset
-       int cellXOffset(idx_type idx) const;
+       int cellXOffset(BufferView const &, idx_type idx) const;
        /// returns y offset of cell compared to inset
        int cellYOffset(idx_type idx) const;
        /// returns proper 'end of line' code for LaTeX
@@ -250,7 +248,7 @@ protected:
        ///
        char v_align_; // add approp. type
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };