]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_ertinset.h
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_ertinset.h
index 86b126b217f3607a8018a99e13f7e138421bb3f8..ca9379c0a70886a4c1fb235df3e32b95954f8e70 100644 (file)
@@ -1,9 +1,21 @@
+// -*- C++ -*-
+/**
+ * \file math_ertinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_ERTINSET_H
 #define MATH_ERTINSET_H
 
-
+#include "math_data.h"
 #include "math_textinset.h"
 
+
 // implements support for \parbox
 
 class MathErtInset : public MathTextInset {
@@ -11,13 +23,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;
        ///