]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormPreamble.h
create and use a little setEnabled() xforms wrapper function.
[lyx.git] / src / frontends / xforms / FormPreamble.h
1 /**
2  * \file FormPreamble.h
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven, leuven@fee.uva.nl
7  */
8
9 #ifndef FORMPREAMBLE_H
10 #define FORMPREAMBLE_H
11
12 #include "FormBase.h"
13
14 struct FD_form_preamble;
15
16 /** This class provides an XForms implementation of the FormPreamble Dialog.
17  */
18 class FormPreamble : public FormBaseBD {
19 public:
20    ///
21    FormPreamble(LyXView *, Dialogs *);
22    ///
23    ~FormPreamble();
24    
25 private:
26    /** Redraw the form (on receipt of a Signal indicating, for example,
27     *  that the xforms colours have been re-mapped). 
28     */
29
30    /// Filter the inputs
31    // virtual bool input(FL_OBJECT *, long);
32    
33    /// Build the popup
34    virtual void build();
35    /// Apply from popup
36    virtual void apply();
37    /// Update the popup.
38    virtual void update();
39    ///
40    virtual FL_FORM * form() const;
41    
42    /// Typedefinitions from the fdesign produced Header file
43    FD_form_preamble  * build_preamble();
44    
45    /// Real GUI implementation.
46    FD_form_preamble  * dialog_;
47 };
48
49 #endif