#ifndef MATH_SPACEINSET_H
#define MATH_SPACEINSET_H
-#include "math_inset.h"
+#include "math_diminset.h"
#include "math_defs.h"
#ifdef __GNUG__
#endif
/// Smart spaces
-class MathSpaceInset : public MathInset {
+class MathSpaceInset : public MathDimInset {
public:
///
explicit MathSpaceInset(int sp);
///
MathInset * clone() const;
///
- void draw(Painter &, int, int);
+ MathSpaceInset const * asSpaceInset() const { return this; }
///
- void write(std::ostream &, bool fragile) const;
+ MathSpaceInset * asSpaceInset() { return this; }
///
- void writeNormal(std::ostream &) const;
+ void incSpace();
///
- void metrics(MathStyles st);
+ void metrics(MathMetricsInfo const & st) const;
///
- bool isSpaceInset() const { return true; }
+ void draw(Painter &, int x, int y) const;
+
///
- void incSpace();
+ void normalize(NormalStream &) const;
+ ///
+ void maplize(MapleStream &) const;
+ ///
+ void octavize(OctaveStream &) const;
+ ///
+ void write(WriteStream & os) const;
private:
///
int space_;