3 * \file FormMathsMatrix.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alejandro Aguilar Sierra
9 * \author Angus Leeming
11 * Full author contact details are available in file CREDITS
14 #ifndef FORM_MATHSMATRIX_H
15 #define FORM_MATHSMATRIX_H
21 #include "FormMathsPanel.h"
23 #include <boost/scoped_ptr.hpp>
25 struct FD_maths_matrix;
28 * This class provides an XForms implementation of the maths matrix.
30 class FormMathsMatrix : public FormMathsSub {
32 FormMathsMatrix(LyXView &, Dialogs &, FormMathsPanel const &);
34 int AlignFilter(char const *, int);
40 virtual bool input(FL_OBJECT *, long);
41 /// Apply from dialog (modify or create inset)
44 /// Pointer to the actual instantiation of the xforms form
45 virtual FL_FORM * form() const;
47 // Real GUI implementation
48 boost::scoped_ptr<FD_maths_matrix> dialog_;
51 #endif // FORM_MATHSMATRIX_H