]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_spaceinset.h
index 9983f4945b7a79d1f312ec884346c5f4b22cd33c..74c86d88482e226766cdff96f0a0f9ea2c15e42a 100644 (file)
@@ -2,7 +2,7 @@
 #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;
        ///
-       void SetSpace(int sp);
+       void draw(Painter &, int x, int y) const;
+
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
        ///
-       int GetSpace();
+       void write(WriteStream & os) const;
 private:
        ///
        int space_;