]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_spaceinset.h
index 74c86d88482e226766cdff96f0a0f9ea2c15e42a..d48ff330d416f68f5d0ed4d86d5fe9e70efac388 100644 (file)
@@ -3,11 +3,7 @@
 #define MATH_SPACEINSET_H
 
 #include "math_diminset.h"
-#include "math_defs.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /// Smart spaces
 class MathSpaceInset : public MathDimInset {
@@ -15,6 +11,8 @@ public:
        ///
        explicit MathSpaceInset(int sp);
        ///
+       explicit MathSpaceInset(string const & name);
+       ///
        MathInset * clone() const;
        ///
        MathSpaceInset const * asSpaceInset() const { return this; }
@@ -23,16 +21,20 @@ public:
        ///
        void incSpace();
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo & pi, int x, int y) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void validate(LaTeXFeatures & features) const;
+       ///
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void write(WriteStream & os) const;
 private: