]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
fix #1073
[lyx.git] / src / mathed / math_amsarrayinset.h
index 55900da11b242488783899074966e63a4029dd94..aac377e508b15896397de6d6faec25178f25f1e5 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:
@@ -22,11 +22,13 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & st) const;
        ///
-       void draw(MathPainterInfo & pain, int x, int y) const;
+       void draw(PainterInfo & pain, int x, int y) const;
        ///
        MathAMSArrayInset * asAMSArrayInset() { return this; }
+       ///
+       MathAMSArrayInset const * asAMSArrayInset() const { return this; }
 
        ///
        void write(WriteStream & os) const;