]> git.lyx.org Git - lyx.git/blob - src/mathed/math_spaceinset.h
more mathed cleanup
[lyx.git] / src / mathed / math_spaceinset.h
1 #ifndef MATH_SPACEINSET_H
2 #define MATH_SPACEINSET_H
3
4 #include "math_inset.h"
5 #include "math_defs.h"
6
7 /// Smart spaces
8 class MathSpaceInset: public MathedInset  {
9 public:
10         ///
11         MathSpaceInset(int sp, short ot = LM_OT_SPACE, short st = LM_ST_TEXT);
12         ///
13         MathedInset * Clone();
14         ///
15         void draw(Painter &, int, int);
16         ///
17         void Write(std::ostream &, bool fragile);
18         ///
19         void Metrics();
20         ///
21         void SetSpace(int sp);
22         ///
23         int GetSpace();
24 protected:
25         ///
26         int space;
27 };
28 #endif