]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMinipage.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormMinipage.h
1 // -*- C++ -*-
2 /**
3  * \file FormMinipage.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Vigna
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMMINIPAGE_H
13 #define FORMMINIPAGE_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 class ControlMinipage;
22 struct FD_minipage;
23
24 /** This class provides an XForms implementation of the Minipage
25     Dialog.
26  */
27 class FormMinipage
28         : public FormCB<ControlMinipage, FormDB<FD_minipage> > {
29 public:
30         ///
31         FormMinipage();
32 private:
33         /// Set the Params variable for the Controller.
34         virtual void apply();
35         /// Build the dialog.
36         virtual void build();
37         /// Update dialog before/whilst showing it.
38         virtual void update();
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 #endif // FORMMINIPAGE_H