]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_sqrtinset.h
index 19c06e34a2aa63bf9debd5c6df3e8d2e2ff77f59..57517e49595d74c7ae9c93f104205e6757f37940 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef MATH_SQRTINSET_H
 #define MATH_SQRTINSET_H
 
-#include "math_inset.h"
+#include "math_nestinset.h"
 
 #ifdef __GNUG__
 #pragma interface
 /** The square root inset.
     \author Alejandro Aguilar Siearra
  */
-class MathSqrtInset : public MathInset {
+class MathSqrtInset : public MathNestInset {
 public:
        ///
        MathSqrtInset();
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int baseline);
+       void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void metrics(MathMetricsInfo const & st) const;
+
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void maplize(MapleStream &) const;
        ///
-       void metrics(MathStyles st);
+       void mathmlize(MathMLStream &) const;
 };
 #endif