#ifndef MATH_DOTSINSET_H
#define MATH_DOTSINSET_H
-#include "math_inset.h"
-#include "math_defs.h"
+#include "math_diminset.h"
-#ifdef __GNUG__
-#pragma interface
-#endif
+
+class latexkeys;
/// The different kinds of ellipsis
-class MathDotsInset : public MathInset {
+class MathDotsInset : public MathDimInset {
public:
///
- MathDotsInset(string const &, int);
+ explicit MathDotsInset(latexkeys const * l);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- void draw(Painter &, int, int);
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
- void write(std::ostream &, bool fragile) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
- void writeNormal(std::ostream &) const;
- ///
- void metrics(MathStyles st);
+ string name() const;
protected:
+ /// cache for the thing's height
+ mutable int dh_;
///
- int dh_;
- ///
- int code_;
-};
+ latexkeys const * key_;
+};
#endif