mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
28 lines
481 B
C
28 lines
481 B
C
|
#ifndef MATH_SPACEINSET_H
|
||
|
#define MATH_SPACEINSET_H
|
||
|
|
||
|
#include "math_inset.h"
|
||
|
|
||
|
/// Smart spaces
|
||
|
class MathSpaceInset: public MathedInset {
|
||
|
public:
|
||
|
///
|
||
|
MathSpaceInset(int sp, short ot = LM_OT_SPACE, short st = LM_ST_TEXT);
|
||
|
///
|
||
|
MathedInset * Clone();
|
||
|
///
|
||
|
void draw(Painter &, int, int);
|
||
|
///
|
||
|
void Write(std::ostream &, bool fragile);
|
||
|
///
|
||
|
inline void Metrics();
|
||
|
///
|
||
|
inline void SetSpace(int sp);
|
||
|
///
|
||
|
int GetSpace() { return space; }
|
||
|
protected:
|
||
|
///
|
||
|
int space;
|
||
|
};
|
||
|
#endif
|