2 * \file FormMathsMatrix.h
3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author Alejandro Aguilar Sierra
7 * \author John Levon, moz@compsoc.man.ac.uk
8 * \author Angus Leeming, a.leeming@ic.ac.uk
11 #ifndef FORM_MATHSMATRIX_H
12 #define FORM_MATHSMATRIX_H
14 #include <boost/smart_ptr.hpp>
20 #include "FormMathsPanel.h"
22 struct FD_form_maths_matrix;
25 * This class provides an XForms implementation of the maths matrix.
27 class FormMathsMatrix : public FormMathsSub {
29 FormMathsMatrix(LyXView *, Dialogs *, FormMathsPanel const &);
31 int AlignFilter(char const *, int);
37 virtual bool input(FL_OBJECT *, long);
38 /// Apply from dialog (modify or create inset)
41 /// Pointer to the actual instantiation of the xforms form
42 virtual FL_FORM * form() const;
45 FD_form_maths_matrix * build_maths_matrix();
47 // Real GUI implementation
48 boost::scoped_ptr<FD_form_maths_matrix> dialog_;
51 #endif // FORM_MATHSMATRIX_H