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