3 * \file FormMathsDeco.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_MATHSDECO_H
15 #define FORM_MATHSDECO_H
21 #include "FormMathsPanel.h"
23 #include <boost/scoped_ptr.hpp>
28 * This class provides an XForms implementation of the maths deco.
30 class FormMathsDeco : public FormMathsSub {
33 FormMathsDeco(LyXView &, Dialogs &, FormMathsPanel const &);
38 /// Apply from dialog (modify or create inset)
41 virtual bool input(FL_OBJECT *, long);
43 /// Pointer to the actual instantiation of the xforms form
44 virtual FL_FORM * form() const;
46 // Real GUI implementation
47 boost::scoped_ptr<FD_maths_deco> dialog_;
54 #endif // FORM_MATHSDECO_H