X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_sizeinset.h;h=9870777e3d495440f33247f42f1b2e3b79dba855;hb=e093e5e80c334995a77445c8e66a9f3c9594dda1;hp=e1b0e50fcf0424db040224c6bc1fc56728b34e54;hpb=0daba49b1d7493cbf76658314b7459b51f870081;p=lyx.git diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index e1b0e50fcf..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(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_; };