]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_sqrtinset.h
index 18019df49def899c25f0d99e49e0fbd113d7b2a7..942d9d5eda1d0743868f6d7f1dd5f8b28a4cb097 100644 (file)
@@ -2,28 +2,40 @@
 #ifndef MATH_SQRTINSET_H
 #define MATH_SQRTINSET_H
 
-#include "math_inset.h"
+#include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** The square root inset.
-    \author Alejandro Aguilar Siearra
+ *  \author Alejandro Aguilar Siearra
+ *
+ * Full author contact details are available in file CREDITS
  */
-class MathSqrtInset : public MathInset {
+class MathSqrtInset : public MathNestInset {
 public:
        ///
        MathSqrtInset();
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int baseline);
+       void draw(MathPainterInfo &, int x, int y) const;
+       ///
+       void metrics(MathMetricsInfo & mi) const;
+       ///
+       void drawT(TextPainter &, int x, int y) const;
+       ///
+       void metricsT(TextMetricsInfo const & mi) const;
+
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maple(MapleStream &) const;
        ///
-       void Write(std::ostream &, bool fragile) const;
+       void mathematica(MathematicaStream &) const;
        ///
-       void WriteNormal(std::ostream &) const;
+       void octave(OctaveStream &) const;
        ///
-       void Metrics(MathStyles st);
+       void mathmlize(MathMLStream &) const;
 };
 #endif