]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stackrelinset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_stackrelinset.h
index 3de330a50f9b3f02dbaef996f0402f73c776c9fe..e24db841e2a5414a75fa69f0a3fcb476f87f7c16 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-/** Stackrel objects 
-    \author André Pönitz
+/** Stackrel objects
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
  */
 class MathStackrelInset : public MathFracbaseInset {
 public:
@@ -18,13 +17,14 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void draw(MathPainterInfo & pi, int x, int y) const;
+
        ///
-       void metrics(MathStyles st) const;
+       void write(WriteStream & os) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void normalize(NormalStream &) const;
 };
 
 #endif