]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sqrtinset.h
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_sqrtinset.h
1
2 #ifndef MATH_SQRTINSET_H
3 #define MATH_SQRTINSET_H
4
5 #include "math_parinset.h"
6
7 /** The square root inset.
8     \author Alejandro Aguilar Siearra
9  */
10 class MathSqrtInset : public MathParInset {
11 public:
12         ///
13         MathSqrtInset(short st = LM_ST_TEXT);
14         ///
15         MathedInset * Clone();
16         ///
17         void draw(Painter &, int x, int baseline);
18         ///
19         void Write(std::ostream &, bool fragile);
20         ///
21         void Metrics();
22         ///
23         bool Inside(int, int);
24 private:
25         ///
26         int hmax_;
27         ///
28         int wbody_;
29 };
30 #endif