]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.h
try to fix rounding errors
[lyx.git] / src / mathed / math_dotsinset.h
index c2d87c7f6ded2e61848734f60e3284302e9f60ca..be37fb641bbd7bb3d31095262a4cc9e01fad3f55 100644 (file)
@@ -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 x, int y) const;
+       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) const;
+       void metrics(MathMetricsInfo & st) const;
 protected:
        /// cache for the thing's heigth
        mutable int dh_;
        ///
-       latexkeys const * key_;
-};   
+       string const name_;
+};
 #endif