]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsStyle.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormMathsStyle.h
1 // -*- C++ -*-
2 /**
3  * \file FormMathsStyle.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author John Levon
9  * \author Angus Leeming
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef FORM_MATHSSTYLE_H
15 #define FORM_MATHSSTYLE_H
16
17
18 #include "FormDialogView.h"
19
20
21 class ControlMath;
22 struct FD_maths_style;
23
24 /**
25  * This class provides an XForms implementation of the maths style.
26  */
27 class FormMathsStyle
28         : public FormController<ControlMath, FormView<FD_maths_style> > {
29 public:
30         ///
31         FormMathsStyle(Dialog &);
32
33 private:
34         ///
35         virtual void apply();
36         ///
37         virtual void build();
38         ///
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40         /// Not needed.
41         virtual void update() {}
42
43         /// The current choice.
44         int style_;
45 };
46
47 #endif //  FORM_MATHSSTYLE_H