#include "InsetMath.h"
-#include "lyxfont.h"
-
namespace lyx {
class latexkeys;
///
explicit InsetMathSymbol(docstring const & name);
///
- bool metrics(MetricsInfo & mi, Dimension & dim) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo &, int x, int y) const;
///
- int kerning() const { return kerning_; }
+ int kerning(BufferView const *) const { return kerning_; }
///
bool isRelOp() const;
void infoize2(odocstream & os) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
///
latexkeys const * sym_;
///
mutable int kerning_;
///
mutable bool scriptable_;
- ///
- mutable LyXFont font_cache_;
};
} // namespace lyx