]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
Change glob() API to accept a dir parameter.
[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 namespace lyx {
19 namespace frontend {
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 FormController<ControlFloat, FormView<FD_float> > {
28 public:
29         ///
30         FormFloat(Dialog &);
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         /// placement
42         RadioButtonGroup placement_;
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // FORMFLOAT_H