]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_spaceinset.h
index 9983f4945b7a79d1f312ec884346c5f4b22cd33c..b8afcb568bcd19d84f54ab8f08d7cda465d151ee 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);
+       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_;