X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_sizeinset.h;h=9870777e3d495440f33247f42f1b2e3b79dba855;hb=e093e5e80c334995a77445c8e66a9f3c9594dda1;hp=c72ce5e64e1f88124fce95bb8132d0278c38c9ad;hpb=d5eb253d6a43695e3f0711296365f242b0b42ef7;p=lyx.git diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index c72ce5e64e..9870777e3d 100644 --- a/src/mathed/math_sizeinset.h +++ b/src/mathed/math_sizeinset.h @@ -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_; };