]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_rootinset.h
index d4debe2821d6694b75e37f605a75d23548eb1ff6..7d5881f1d9deeb0e06008d57f445b1496e679a80 100644 (file)
@@ -29,13 +29,13 @@ public:
        ///
        MathRootInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) 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;