]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsMatrix.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormMathsMatrix.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsMatrix.h
4  * See the file COPYING.
5  *
6  * \author Alejandro Aguilar Sierra
7  * \author John Levon
8  * \author Angus Leeming 
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef FORM_MATHSMATRIX_H
14 #define FORM_MATHSMATRIX_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "FormMathsPanel.h"
21
22 #include <boost/scoped_ptr.hpp>
23
24 struct FD_maths_matrix;
25
26 /**
27  * This class provides an XForms implementation of the maths matrix.
28  */
29 class FormMathsMatrix : public FormMathsSub {
30 public:
31         FormMathsMatrix(LyXView &, Dialogs &, FormMathsPanel const &);
32         ///
33         int AlignFilter(char const *, int);
34
35 private:
36         /// Build the dialog
37         virtual void build();
38         /// input handler
39         virtual bool input(FL_OBJECT *, long);
40         /// Apply from dialog (modify or create inset)
41         virtual void apply();
42
43         /// Pointer to the actual instantiation of the xforms form
44         virtual FL_FORM * form() const;
45
46         // Real GUI implementation
47         boost::scoped_ptr<FD_maths_matrix> dialog_;
48 };
49
50 #endif //  FORM_MATHSMATRIX_H