]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormFloat.h
1 // -*- C++ -*-
2 /**
3  * \file FormFloat.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMFLOAT_H
13 #define FORMFLOAT_H
14
15 #include "FormDialogView.h"
16 #include "RadioButtonGroup.h"
17
18 class ControlFloat;
19 struct FD_float;
20
21 /** This class provides an XForms implementation of the Float
22     Dialog.
23  */
24 class FormFloat : public FormController<ControlFloat, FormView<FD_float> > {
25 public:
26         ///
27         FormFloat(Dialog &);
28 private:
29         /// Set the Params variable for the Controller.
30         virtual void apply();
31         /// Build the dialog.
32         virtual void build();
33         /// Update dialog before/whilst showing it.
34         virtual void update();
35         /// Filter the inputs on callback from xforms
36         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
37
38         /// placement
39         RadioButtonGroup placement_;
40 };
41
42 #endif // FORMFLOAT_H