]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_gridinset.h
index 1a94eb36a1d48a07c36962a6c1ae8d3e04d48fa9..00e324f676b90eefe2def93b74bb5e0ce7c09c90 100644 (file)
@@ -90,13 +90,15 @@ public:
        /// Ensures that the dialog is closed.
        ~MathGridInset();
        ///
-       MathInset * clone() const;
+       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;
        ///