#include "math_nestinset.h"
-#ifdef __GNUG__
-#pragma interface
-#endif
/** Old-style font changes
- \author André Pönitz
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
*/
class latexkeys;
///
explicit MathFontOldInset(latexkeys const * key);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
+ /// we are in text mode.
+ mode_type currentMode() const { return TEXT_MODE; }
/// we write extra braces in any case...
bool extraBraces() const { return true; }
///
- 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;
///
- void metricsT(TextMetricsInfo const & mi) const;
+ void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
///
void drawT(TextPainter & pi, int x, int y) const;
///