]> git.lyx.org Git - lyx.git/blob - src/mathed/math_dotsinset.h
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_dotsinset.h
1 // -*- C++ -*-
2 #ifndef MATH_DOTSINSET_H
3 #define MATH_DOTSINSET_H
4
5 #include "math_inset.h"
6 #include "math_defs.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /// The different kinds of ellipsis
13 class MathDotsInset : public MathInset {
14 public:
15         ///
16         MathDotsInset(string const &, int);
17         ///
18         MathInset *  clone() const;
19         ///
20         void draw(Painter &, int, int);
21         ///
22         void Write(std::ostream &, bool fragile) const;
23         ///
24         void WriteNormal(std::ostream &) const;
25         ///
26         void Metrics(MathStyles st, int asc = 0, int des = 0);
27 protected:
28         ///
29         int dh_;
30         ///
31         int code_;
32 };   
33 #endif