]> git.lyx.org Git - lyx.git/blob - src/mathed/math_dotsinset.h
c2d87c7f6ded2e61848734f60e3284302e9f60ca
[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 #include "math_defs.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 struct latexkeys;
13
14 /// The different kinds of ellipsis
15 class MathDotsInset : public MathDimInset {
16 public:
17         ///
18         explicit MathDotsInset(latexkeys const *);
19         ///
20         MathInset * clone() const;
21         ///
22         void draw(Painter &, int x, int y) const;
23         ///
24         void write(std::ostream &, bool fragile) const;
25         ///
26         void writeNormal(std::ostream &) const;
27         ///
28         void metrics(MathStyles st) const;
29 protected:
30         /// cache for the thing's heigth
31         mutable int dh_;
32         ///
33         latexkeys const * key_;
34 };   
35 #endif