]> git.lyx.org Git - lyx.git/blob - src/mathed/math_spaceinset.h
math compile cleanups + add bookmarks bindings for emacs
[lyx.git] / src / mathed / math_spaceinset.h
1 #ifndef MATH_SPACEINSET_H
2 #define MATH_SPACEINSET_H
3
4 #include "math_inset.h"
5
6 /// Smart spaces
7 class MathSpaceInset: public MathedInset  {
8 public:
9         ///
10         MathSpaceInset(int sp, short ot = LM_OT_SPACE, 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         void SetSpace(int sp);
21         ///
22         int GetSpace() { return space; }
23 protected:
24         ///
25         int space;
26 };
27 #endif