]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_sqrtinset.h
index e3e153de39c82e81a702e2e8e73ab5e81c85699f..cf7c5d89c27d24b87029f2f52127109f1f693c6a 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 write(std::ostream &, bool fragile) const;
        ///
-       void WriteNormal(std::ostream &) const;
+       void writeNormal(std::ostream &) const;
        ///
-       void Metrics(MathStyles st, int asc = 0, int des = 0);
+       void metrics(MathStyles st) const;
 };
 #endif