]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormFloat.h
fix tooltips in toolbar
[lyx.git] / src / frontends / xforms / FormFloat.h
1 // -*- C++ -*-
2 /**
3  * \file FormFloat.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Lars Gullik Bjønnes, larsbj@lyx.org
8  */
9
10 #ifndef FORMFLOAT_H
11 #define FORMFLOAT_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.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(ControlFloat &, Dialogs &);
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
40 #endif // FORMFLOAT_H