]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
iThe cursor now behaves properly in the dialogs...
[lyx.git] / src / frontends / xforms / FormExternal.h
1 // -*- C++ -*-
2 /**
3  * \file FormExternal.h
4  * Copyright 2000-2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Asger Alstrup Nielsen
8  * \author John Levon, moz@compsoc.man.ac.uk
9  * \author Angus Leeming, a.leeming@ic.ac.uk
10  */
11
12 #ifndef FORMEXTERNAL_H
13 #define FORMEXTERNAL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20 #include "insets/insetexternal.h"
21
22 class ControlExternal;
23 struct FD_form_external;
24
25 /// The class for editing External insets via a dialog
26 class FormExternal : public FormCB<ControlExternal, FormDB<FD_form_external> > {
27 public:
28         ///
29         FormExternal(ControlExternal &);
30
31 private:
32         /// apply changes
33         void apply();
34
35         /// build the dialog
36         void build();
37
38         /// update the dialog
39         void update();
40
41         /// Filter the inputs on callback from xforms
42         ButtonPolicy::SMInput input(FL_OBJECT *, long);
43
44         ///
45         void updateComboChange();
46
47         /// Fdesign generated method
48         FD_form_external * build_external();
49 };
50
51 #endif // FORMEXTERNAL_H