]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_amsarrayinset.h
index 7cf5e7e5c5efcd0e04949304a82e80bd9a9e5da2..922dcc89b2ba1fe762addc1773cd99f34704a23b 100644 (file)
@@ -4,14 +4,14 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-//
-// used for [pbvV]matrix, psmatrix etc
-//
 
+/**
+ * Inset for things like [pbvV]matrix, psmatrix etc
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
+ */
 
 class MathAMSArrayInset : public MathGridInset {
 public:
@@ -20,11 +20,11 @@ public:
        ///
        MathAMSArrayInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo & pain, int x, int y) const;
+       void draw(PainterInfo & pain, int x, int y) const;
        ///
        MathAMSArrayInset * asAMSArrayInset() { return this; }
        ///