]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
fix #1073
[lyx.git] / src / mathed / math_sqrtinset.h
index 5c73159ae858dc17d6f0db862a8e1dbab1569684..d9cdcfd26124bac4950f04000d38552530c5c0bf 100644 (file)
@@ -1,30 +1,41 @@
-
+// -*- C++ -*-
 #ifndef MATH_SQRTINSET_H
 #define MATH_SQRTINSET_H
 
-#include "math_parinset.h"
+#include "math_nestinset.h"
+
 
 /** The square root inset.
-    \author Alejandro Aguilar Siearra
+ *  \author Alejandro Aguilar Siearra
+ *
+ * Full author contact details are available in file CREDITS
  */
-class MathSqrtInset : public MathParInset {
+class MathSqrtInset : public MathNestInset {
 public:
        ///
-       MathSqrtInset(short st = LM_ST_TEXT);
+       MathSqrtInset();
+       ///
+       MathInset * clone() const;
+       ///
+       void draw(PainterInfo &, int x, int y) const;
        ///
-       MathedInset * Clone();
+       void metrics(MetricsInfo & mi) const;
+       ///
+       void drawT(TextPainter &, int x, int y) const;
+       ///
+       void metricsT(TextMetricsInfo const & mi) const;
+
        ///
-       void draw(Painter &, int x, int baseline);
+       void write(WriteStream & os) const;
        ///
-       void Write(std::ostream &, bool fragile);
+       void normalize(NormalStream &) const;
        ///
-       void Metrics();
+       void maple(MapleStream &) const;
        ///
-       bool Inside(int, int);
-private:
+       void mathematica(MathematicaStream &) const;
        ///
-       int hmax_;
+       void octave(OctaveStream &) const;
        ///
-       int wbody_;
+       void mathmlize(MathMLStream &) const;
 };
 #endif