]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_rootinset.h
index e85e074c2ed6ad212891e1eb287f5a669cfe519d..d4debe2821d6694b75e37f605a75d23548eb1ff6 100644 (file)
@@ -1,8 +1,8 @@
 // -*- C++ -*-
-/*
+/**
  *  File:        math_root.h
- *  Purpose:     Declaration of the root object 
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx> 
+ *  Purpose:     Declaration of the root object
+ *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *  Created:     January 1999
  *  Description: Root math object
  *
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** The general n-th root inset.
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
     \version January 1999
  */
 class MathRootInset : public MathNestInset {
@@ -32,19 +31,22 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void metrics(MathMetricsInfo & mi) const;
+       ///
+       void draw(MathPainterInfo & pi, int x, int y) const;
+
        ///
-       void writeNormal(std::ostream &) const;
+       void write(WriteStream & os) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void normalize(NormalStream &) const;
        ///
-       bool idxUp(int & idx, int & pos) const;
+       void mathmlize(MathMLStream &) const;
        ///
-       bool idxDown(int & idx, int & pos) const;
+       void maple(MapleStream &) const;
        ///
-       string octavize() const;
+       void octave(OctaveStream &) const;
 };
 
 #endif