]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_macro.h
index 1e0923026d00c3c2fe71431376bd8feaafc2f225..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;
 
@@ -62,11 +62,11 @@ public:
        bool match(MathAtom const &) const { return false; }
 
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void infoize(std::ostream &) const;
        ///
@@ -89,7 +89,7 @@ private:
        ///
        mutable MathArray expanded_;
        ///
-       mutable MathMetricsInfo mi_;
+       mutable MetricsInfo mi_;
        ///
        mutable LyXFont font_;
 };