]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fboxinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_fboxinset.h
index ac84e9a86939e6b8033c3051f848e8e7a6c2ac59..791688bc9da381bf23622a34e01102b8944fb422 100644 (file)
@@ -3,14 +3,13 @@
 #define MATH_FBOXINSET_H
 
 #include "math_nestinset.h"
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Extra nesting
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
 */
 
 class latexkeys;
@@ -20,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 &, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content