]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_gridinset.h
index a7df3eb5853802478547a856c1ae4e8e61061aa2..00e324f676b90eefe2def93b74bb5e0ce7c09c90 100644 (file)
@@ -87,14 +87,18 @@ public:
        MathGridInset(col_type m, row_type n);
        ///
        MathGridInset(col_type m, row_type n, char valign, string const & halign);
+       /// 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;
        ///