]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_ertinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_ertinset.h
index 86b126b217f3607a8018a99e13f7e138421bb3f8..3e7dd4826a229da17316aa764b7978e95781011e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 #ifndef MATH_ERTINSET_H
 #define MATH_ERTINSET_H
 
@@ -11,13 +12,13 @@ public:
        ///
        MathErtInset() {}
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
        void infoize(std::ostream & os) const;
        ///