]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
dont use pragma impementation and interface anymore
[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
16 #include "FormBase.h"
17 #include "RadioButtonGroup.h"
18
19 class ControlFloat;
20 struct FD_float;
21
22 /** This class provides an XForms implementation of the Float
23     Dialog.
24  */
25 class FormFloat : public FormCB<ControlFloat, FormDB<FD_float> > {
26 public:
27         ///
28         FormFloat();
29 private:
30         /// Set the Params variable for the Controller.
31         virtual void apply();
32         /// Build the dialog.
33         virtual void build();
34         /// Update dialog before/whilst showing it.
35         virtual void update();
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38
39         /// placement
40         RadioButtonGroup placement_;
41 };
42
43 #endif // FORMFLOAT_H