]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathSpace.h
index a3e06d634e0f12d6c2e010ef26b8b94ac907d43b..579f29a3ab104ea675b33002504e33a254a2bea5 100644 (file)
@@ -32,12 +32,6 @@ public:
        ///
        void incSpace();
        ///
-       int ascent() const;
-       ///
-       int descent() const;
-       ///
-       int width() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -55,9 +49,11 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        int space_;
+       ///
+       Dimension dim_;
 };