]> git.lyx.org Git - lyx.git/blob - src/mathed/math_decorationinset.h
first go at mathed file cleanup
[lyx.git] / src / mathed / math_decorationinset.h
1 #ifndef MATH_DECORATIONINSET_H
2 #define MATH_DECORATIONINSET_H
3
4 #include "math_parinset.h"
5
6 /// Decorations over (below) a math object
7 class MathDecorationInset: public MathParInset {
8 public:
9         ///
10         MathDecorationInset(int, short st = LM_ST_TEXT);
11         ///
12         MathedInset * Clone();
13         ///
14         void draw(Painter &, int, int);
15         ///
16         void Write(std::ostream &, bool fragile);
17         ///
18         void Metrics();
19         ///
20         inline bool GetLimits() const;
21 protected:
22         ///
23         int deco;
24         ///
25         bool upper;
26         ///
27         int dw, dh, dy;
28 };
29 #endif