]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_macro.h
index ac9f3c497c6d1aa1675d112c7041a4f9db481cdd..f92d484a1be6ef1e97bfd30903532167e0e4183f 100644 (file)
@@ -19,7 +19,7 @@
 
 
 #include "math_nestinset.h"
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
 #include "math_macroarg.h"
 #include "LString.h"
 
@@ -39,11 +39,11 @@ public:
        ///
        MathMacro(MathMacro const &);
        ///
-       void draw(MathPainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void dump() const;
 
@@ -89,7 +89,7 @@ private:
        ///
        mutable MathArray expanded_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable MetricsInfo mi_;
        ///
        mutable LyXFont font_;
 };