#ifndef MATH_XARROWINSET_H
#define MATH_XARROWINSET_H
-#include "math_nestinset.h"
+#include "math_fracbase.h"
#include "LString.h"
-#ifdef __GNUG__
-#pragma interface
-#endif
/** Wide arrows like \xrightarrow
* \author André Pönitz
* Full author contact details are available in file CREDITS
*/
-class MathXArrowInset : public MathNestInset {
+class MathXArrowInset : public MathFracbaseInset {
public:
///
explicit MathXArrowInset(string const & name);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- void draw(MathPainterInfo &, int x, int y) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
void write(WriteStream & os) const;
///
- void metrics(MathMetricsInfo & st) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void normalize(NormalStream & os) const;