#ifndef MATH_SPACEINSET_H
#define MATH_SPACEINSET_H
-#include "math_diminset.h"
+#include "math_inset.h"
/// Smart spaces
-class MathSpaceInset : public MathDimInset {
+class MathSpaceInset : public MathInset {
public:
///
explicit MathSpaceInset(int sp);
///
explicit MathSpaceInset(string const & name);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
MathSpaceInset const * asSpaceInset() const { return this; }
///
///
void incSpace();
///
- void metrics(MetricsInfo & mi) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;