]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_gridinset.h
index 1a94eb36a1d48a07c36962a6c1ae8d3e04d48fa9..f6739f26012c6995383d2f01ac864bd181db039e 100644 (file)
@@ -90,13 +90,15 @@ public:
        /// Ensures that the dialog is closed.
        ~MathGridInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo & pi, int x, int y) const;
+       void metrics(MetricsInfo & mi, Dimension &) const;
        ///
-       void metricsT(TextMetricsInfo const & mi) const;
+       void draw(PainterInfo & pi, int x, int y) const;
+       ///
+       void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter & pi, int x, int y) const;
        ///