+// -*- C++ -*-
#ifndef MATH_DOTSINSET_H
#define MATH_DOTSINSET_H
-#include "math_inset.h"
-#include "math_defs.h"
+#include "math_diminset.h"
+
+
+class latexkeys;
/// The different kinds of ellipsis
-class MathDotsInset: public MathedInset {
+class MathDotsInset : public MathDimInset {
public:
///
- MathDotsInset(string const &, int, short st = LM_ST_TEXT);
+ explicit MathDotsInset(latexkeys const * l);
///
- MathedInset * Clone();
+ 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);
+ void draw(PainterInfo & pi, int x, int y) const;
///
- void Metrics();
+ string name() const;
protected:
+ /// cache for the thing's height
+ mutable int dh_;
///
- int dh_;
- ///
- int code_;
-};
+ latexkeys const * key_;
+};
#endif