]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_envinset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_envinset.h
index 1c189a694118e5fd7b8bcf0e59021b74fb340cbc..aa019cde9d999fe6ae693cbca17d466d65dc0348 100644 (file)
@@ -3,11 +3,8 @@
 #define MATH_ENVINSET_H
 
 #include "math_nestinset.h"
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Environtments á la \begin{something}...\end{something}
  *  \author André Pönitz
@@ -20,15 +17,15 @@ public:
        ///
        MathEnvInset(string const & name_);
        ///
-       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;
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void infoize(std::ostream & os) const;