]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sqrtinset.h
first go at mathed file cleanup
[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 ///
8 class MathSqrtInset: public MathParInset {
9 public:
10         ///
11         MathSqrtInset(short st = LM_ST_TEXT);
12         ///
13         MathedInset * Clone();
14         ///
15         void draw(Painter &, int x, int baseline);
16         ///
17         void Write(std::ostream &, bool fragile);
18         ///
19         void Metrics();
20         ///
21         bool Inside(int, int);
22 private:
23         ///
24         int hmax, wbody;
25 };
26 #endif