X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_dotsinset.h;h=be37fb641bbd7bb3d31095262a4cc9e01fad3f55;hb=e093e5e80c334995a77445c8e66a9f3c9594dda1;hp=2e0c8cb79818cf2ee7f79bfcc456fb2227ba12da;hpb=244d75e9422f046ec150412e0e43a479f9abed90;p=lyx.git diff --git a/src/mathed/math_dotsinset.h b/src/mathed/math_dotsinset.h index 2e0c8cb798..be37fb641b 100644 --- a/src/mathed/math_dotsinset.h +++ b/src/mathed/math_dotsinset.h @@ -3,33 +3,31 @@ #define MATH_DOTSINSET_H #include "math_diminset.h" -#include "math_defs.h" +#include "LString.h" #ifdef __GNUG__ #pragma interface #endif -struct latexkeys; - /// The different kinds of ellipsis class MathDotsInset : public MathDimInset { public: /// - explicit MathDotsInset(latexkeys const *); + explicit MathDotsInset(string const &); /// MathInset * clone() const; /// - void draw(Painter &, int, int); + void draw(MathPainterInfo &, int x, int y) const; /// - void write(std::ostream &, bool fragile) const; + void write(WriteStream & os) const; /// - void writeNormal(std::ostream &) const; + void normalize(NormalStream &) const; /// - void metrics(MathStyles st); + void metrics(MathMetricsInfo & st) const; protected: + /// cache for the thing's heigth + mutable int dh_; /// - int dh_; - /// - latexkeys const * key_; -}; + string const name_; +}; #endif