#ifndef MATH_STRINGINSET_H
#define MATH_STRINGINSET_H
-#include "math_diminset.h"
+#include "math_inset.h"
/** Some collection of chars with similar properties
* Full author contact details are available in file CREDITS
*/
-class MathStringInset : public MathDimInset {
+class MathStringInset : public MathInset {
public:
///
explicit MathStringInset(string const & s);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- void metrics(MathMetricsInfo & mi) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
- void draw(MathPainterInfo & pi, int x, int y) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
string str() const { return str_; }
///