]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
fix #1073
[lyx.git] / src / mathed / math_amsarrayinset.h
index 6f9d39809f8417e74720377baafeb1bd43d7e8f5..aac377e508b15896397de6d6faec25178f25f1e5 100644 (file)
@@ -4,25 +4,31 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
+/**
+ * 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:
        ///
-       MathAMSArrayInset(string const & name_, int m, int n);
+       MathAMSArrayInset(string const & name, int m, int n);
        ///
-       MathAMSArrayInset(string const & name_);
+       MathAMSArrayInset(string const & name);
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MetricsInfo & st) const;
        ///
-       void draw(Painter & 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;