]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_boxinset.h
index 992d5953801372b6cf3570a12462394053e6c699..0f956c2ff5b5ed93c162c9520880482a211b9962 100644 (file)
@@ -15,13 +15,13 @@ public:
        ///
        explicit MathBoxInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       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;
        ///