]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_sqrtinset.h
index 8ab0f2a87f0ca935b3595f704953a6b4aa25300c..80c72fc794c72d96cf3f17670fed9942c1beb02c 100644 (file)
@@ -2,33 +2,43 @@
 #ifndef MATH_SQRTINSET_H
 #define MATH_SQRTINSET_H
 
-#include "math_parinset.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 MathParInset {
+class MathSqrtInset : public MathNestInset {
 public:
        ///
-       MathSqrtInset(short st = LM_ST_TEXT);
+       MathSqrtInset();
        ///
-       MathedInset * Clone();
+       MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int baseline);
+       void draw(MathPainterInfo &, int x, int y) const;
        ///
-       void Write(std::ostream &, bool fragile);
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void Metrics();
+       void drawT(TextPainter &, int x, int y) const;
        ///
-       bool Inside(int, int);
-private:
+       void metricsT(TextMetricsInfo const & mi) const;
+
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
        ///
-       int hmax_;
+       void octavize(OctaveStream &) const;
        ///
-       int wbody_;
+       void mathmlize(MathMLStream &) const;
 };
 #endif