3 * \file FormMathsMatrix.h
4 * Copyright 2001 The LyX Team.
5 * See the file COPYING.
7 * \author Alejandro Aguilar Sierra
8 * \author John Levon, moz@compsoc.man.ac.uk
9 * \author Angus Leeming <leeming@lyx.org>
12 #ifndef FORM_MATHSMATRIX_H
13 #define FORM_MATHSMATRIX_H
19 #include "FormMathsPanel.h"
21 #include <boost/scoped_ptr.hpp>
23 struct FD_maths_matrix;
26 * This class provides an XForms implementation of the maths matrix.
28 class FormMathsMatrix : public FormMathsSub {
30 FormMathsMatrix(LyXView &, Dialogs &, FormMathsPanel const &);
32 int AlignFilter(char const *, int);
38 virtual bool input(FL_OBJECT *, long);
39 /// Apply from dialog (modify or create inset)
42 /// Pointer to the actual instantiation of the xforms form
43 virtual FL_FORM * form() const;
45 // Real GUI implementation
46 boost::scoped_ptr<FD_maths_matrix> dialog_;
49 #endif // FORM_MATHSMATRIX_H