]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMinipage.h
text2 chane, XFormsView
[lyx.git] / src / frontends / xforms / FormMinipage.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 FormMinipage.h
12  * \author Juergen Vigna, jug@sad.it
13  */
14
15 #ifndef FORMMINIPAGE_H
16 #define FORMMINIPAGE_H
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "FormBase.h"
23
24 class ControlMinipage;
25 struct FD_form_minipage;
26
27 /** This class provides an XForms implementation of the Minipage
28     Dialog.
29  */
30 class ControlMinipage;
31 struct FD_form_minipage;
32
33 class FormMinipage : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
34 public:
35         ///
36         FormMinipage(ControlMinipage &);
37
38 private:
39         /// Set the Params variable for the Controller.
40         virtual void apply();
41         /// Build the dialog.
42         virtual void build();
43         /// Update dialog before/whilst showing it.
44         virtual void update();
45
46         /// Fdesign generated method
47         FD_form_minipage * build_minipage();
48 };
49
50 #endif // FORMMINIPAGE_H