]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_ertinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_ertinset.h
index 1f50ce80d50ccf4ad57b2ec8949e5ff330af2b5e..3e7dd4826a229da17316aa764b7978e95781011e 100644 (file)
@@ -1,6 +1,8 @@
+// -*- C++ -*-
 #ifndef MATH_ERTINSET_H
 #define MATH_ERTINSET_H
 
+
 #include "math_textinset.h"
 
 // implements support for \parbox
@@ -10,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;
        ///