]> git.lyx.org Git - lyx.git/blob - src/mathed/math_dotsinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_dotsinset.h
1 // -*- C++ -*-
2 #ifndef MATH_DOTSINSET_H
3 #define MATH_DOTSINSET_H
4
5 #include "math_diminset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 class latexkeys;
12
13 /// The different kinds of ellipsis
14 class MathDotsInset : public MathDimInset {
15 public:
16         ///
17         explicit MathDotsInset(latexkeys const * l);
18         ///
19         MathInset * clone() const;
20         ///
21         void metrics(MathMetricsInfo & mi) const;
22         ///
23         void draw(MathPainterInfo & pi, int x, int y) const;
24         ///
25         string name() const;
26 protected:
27         /// cache for the thing's heigth
28         mutable int dh_;
29         ///
30         latexkeys const * key_;
31 };
32 #endif