#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);
+ void draw(Painter &, int x, int y) const;
///
- void Write(std::ostream &, bool fragile) const;
+ void write(std::ostream &, bool fragile) const;
///
- void WriteNormal(std::ostream &) const;
+ void writeNormal(std::ostream &) const;
///
- void Metrics(MathStyles st);
+ void metrics(MathStyles st) const;
///
- void SetSpace(int sp);
+ bool isSpaceInset() const { return true; }
///
- int GetSpace();
+ void incSpace();
private:
///
int space_;