]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_decorationinset.h
index 8552f49accd0429cfd791c75c1d58897d716abf8..137b4c39139c4b31719330c22f7e965a80b72185 100644 (file)
@@ -5,9 +5,6 @@
 #include "math_nestinset.h"
 #include "LString.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Decorations and accents over (below) a math object
  *  \author Alejandro Aguilar Sierra
@@ -22,13 +19,13 @@ public:
        ///
        explicit MathDecorationInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///