]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stringinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_stringinset.h
index d38a7cddf9d3ac04b2fe9a38098058c2b24e119e..e1f4dbf33cb9310c657673f04927e778b37c6834 100644 (file)
@@ -2,7 +2,7 @@
 #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_; }
        ///