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