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