]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stackrelinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_stackrelinset.h
index e8f64b2ca9ca41693e296cd887ecf172af6d8829..94e5a1e960024442b780f08603bdd0faded902f8 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Stackrel objects
  *  \author André Pönitz
@@ -18,11 +15,11 @@ public:
        ///
        MathStackrelInset();
        ///
-       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;
 
        ///
        void write(WriteStream & os) const;