]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
remove symbol_def.h
[lyx.git] / src / mathed / math_rootinset.h
index 1b1fb2e360b2ea048ba80b0f6f7a911fc5800383..5649d0a8f72e76fabe3ad2f51546f9b291bde0ae 100644 (file)
@@ -15,8 +15,7 @@
 #ifndef MATH_ROOT_H
 #define MATH_ROOT_H
 
-#include "math_inset.h"
-#include "symbol_def.h"
+#include "math_nestinset.h"
 
 #ifdef __GNUG__
 #pragma interface
     \author Alejandro Aguilar Sierra
     \version January 1999
  */
-class MathRootInset : public MathInset {
+class MathRootInset : public MathNestInset {
 public:
        ///
        MathRootInset();
        ///
        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);
+       void metrics(MathStyles st) const;
        ///
        bool idxUp(int & idx, int & pos) const;
        ///