]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
Yet another tweak from J�rgen.
[lyx.git] / src / frontends / xforms / FormFloat.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *       
7  *          Copyright 2001 The LyX Team.
8  *
9  *======================================================
10  *
11  * \file FormFloat.h
12  */
13
14 #ifndef FORMFLOAT_H
15 #define FORMFLOAT_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "FormBase.h"
22
23 class ControlFloat;
24 struct FD_form_float;
25
26 /** This class provides an XForms implementation of the Float
27     Dialog.
28  */
29 class FormFloat : public FormCB<ControlFloat, FormDB<FD_form_float> > {
30 public:
31         ///
32         FormFloat(ControlFloat &);
33
34 private:
35         /// Set the Params variable for the Controller.
36         virtual void apply();
37         /// Build the dialog.
38         virtual void build();
39         /// Update dialog before/whilst showing it.
40         virtual void update();
41         /// Filter the inputs on callback from xforms
42         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
43
44         /// Fdesign generated method
45         FD_form_float * build_float();
46 };
47
48 #endif // FORMFLOAT_H