]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_ertinset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_ertinset.h
index 96614a524f5d3e3792f0ac0358816016b3e0af71..afc2bdf961af62d1b860d54d858815952ce809af 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef MATH_ERTINSET_H
 #define MATH_ERTINSET_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "math_textinset.h"
 
@@ -14,13 +11,13 @@ public:
        ///
        MathErtInset() {}
        ///
-       MathInset * clone() const;
+       InsetBase * clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       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 infoize(std::ostream & os) const;
        ///