]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_amsarrayinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_amsarrayinset.h
index 861f51d7dad8851fddcd91c32bc36cb1694b4502..7a96998f0e1c20ec43bfbe01e0f83cfa2d8ff40b 100644 (file)
@@ -4,32 +4,36 @@
 
 #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: 
+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(MathMetricsInfo & st) const;
        ///
-       void draw(Painter & pain, int x, int y) const;
+       void draw(MathPainterInfo & pain, int x, int y) const;
        ///
        MathAMSArrayInset * asAMSArrayInset() { return this; }
+       ///
+       MathAMSArrayInset const * asAMSArrayInset() const { return this; }
 
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
-       ///
-       void maplize(MapleStream &) const;
 
 private:
        ///