]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fboxinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_fboxinset.h
index eb385816e51f3efa5c9b2df3b66934a52d004882..791688bc9da381bf23622a34e01102b8944fb422 100644 (file)
@@ -3,7 +3,7 @@
 #define MATH_FBOXINSET_H
 
 #include "math_nestinset.h"
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
 
 
 /** Extra nesting
@@ -19,13 +19,13 @@ public:
        ///
        MathFboxInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const;
        ///
-       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 write(WriteStream & os) const;
        /// write normalized content