#define MATH_CHEATINSET_H
#include "InsetMath.h"
-#include "lyxlength.h"
+#include "Length.h"
namespace lyx {
///
InsetMathKern();
///
- explicit InsetMathKern(LyXLength const & wid);
+ explicit InsetMathKern(Length const & wid);
///
explicit InsetMathKern(docstring const & wid);
///
void write(WriteStream & os) const;
///
void normalize(NormalStream & ns) const;
- ///
- int width() const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
/// width in em
- LyXLength wid_;
- /// in pixels
- mutable int wid_pix_;
-
+ Length wid_;
};