]> 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 c72ce5e64e1f88124fce95bb8132d0278c38c9ad..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(MathStyles 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(std::ostream &, bool fragile) const;
+       bool needsBraces() const { return false; }
+
+       ///
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
 
 private:
-       /// 
+       ///
        latexkeys const * key_;
 };