]> git.lyx.org Git - lyx.git/blob - src/mathed/math_decorationinset.h
small cleanup, doxygen, formatting changes
[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     \author Alejandro Aguilar Sierra
8  */
9 class MathDecorationInset: public MathParInset {
10 public:
11         ///
12         MathDecorationInset(int, short st = LM_ST_TEXT);
13         ///
14         MathedInset * Clone();
15         ///
16         void draw(Painter &, int, int);
17         ///
18         void Write(std::ostream &, bool fragile);
19         ///
20         void Metrics();
21         ///
22         bool GetLimits() const;
23 private:
24         ///
25         int deco_;
26         ///
27         bool upper_;
28         ///
29         int dw_;
30         ///
31         int dh_;
32         ///
33         int dy_;
34 };
35 #endif