]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
fix #1073
[lyx.git] / src / mathed / math_sqrtinset.h
index 769d085c240abcd383c192be1444cc1e2a2226e4..d9cdcfd26124bac4950f04000d38552530c5c0bf 100644 (file)
@@ -4,12 +4,11 @@
 
 #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 MathNestInset {
 public:
@@ -18,15 +17,24 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
+       ///
+       void metrics(MetricsInfo & mi) const;
+       ///
+       void drawT(TextPainter &, int x, int y) const;
+       ///
+       void metricsT(TextMetricsInfo const & mi) const;
+
+       ///
+       void write(WriteStream & os) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void normalize(NormalStream &) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void maple(MapleStream &) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void mathematica(MathematicaStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void octave(OctaveStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
 };