]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMathsStyle.h
remove defaults stuff, let Qt handle no toolbar
[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 "FormBase.h"
19
20 class ControlMathSub;
21 struct FD_maths_style;
22
23 /**
24  * This class provides an XForms implementation of the maths style.
25  */
26 class FormMathsStyle : public FormCB<ControlMathSub, FormDB<FD_maths_style> > {
27 public:
28         ///
29         FormMathsStyle();
30
31 private:
32         ///
33         virtual void apply();
34         ///
35         virtual void build();
36         ///
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38         /// Not needed.
39         virtual void update() {}
40
41         /// The current choice.
42         int style_;
43 };
44
45 #endif //  FORM_MATHSSTYLE_H