]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMinipage.h
use exclicit temp var
[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 FormMinipage
31         : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
32 public:
33         ///
34         FormMinipage(ControlMinipage &);
35 private:
36         /// Set the Params variable for the Controller.
37         virtual void apply();
38         /// Build the dialog.
39         virtual void build();
40         /// Update dialog before/whilst showing it.
41         virtual void update();
42         /// Filter the inputs on callback from xforms
43         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
44
45         /// Fdesign generated method
46         FD_form_minipage * build_minipage();
47 };
48
49 #endif // FORMMINIPAGE_H