]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
try to fix rounding errors
[lyx.git] / src / mathed / math_sizeinset.h
index e1b0e50fcf0424db040224c6bc1fc56728b34e54..9870777e3d495440f33247f42f1b2e3b79dba855 100644 (file)
@@ -3,7 +3,6 @@
 #define MATHSIZEINSET_H
 
 #include "math_nestinset.h"
-#include "math_defs.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -22,16 +21,19 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       bool needsBraces() const { return false; }
+
+       ///
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(NormalStream &) const;
+       void normalize(NormalStream &) const;
 
 private:
-       /// 
+       ///
        latexkeys const * key_;
 };