]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormIndex.h
major GUII cleanup + Baruchs patch + Angus's patch + removed a couple of generated...
[lyx.git] / src / frontends / xforms / FormIndex.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #ifndef FORMINDEX_H
13 #define FORMINDEX_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormCommand.h"
20 struct FD_form_index;
21
22 /** This class provides an XForms implementation of the FormIndex Dialog.
23  */
24 class FormIndex : public FormCommand {
25 public:
26         /**@name Constructors and Destructors */
27         //@{
28         ///
29         FormIndex(LyXView *, Dialogs *);
30         ///
31         ~FormIndex();
32         //@}
33
34 private:
35         /// Build the dialog
36         virtual void build();
37         /// Not used but must be instantiated
38         virtual void input( long ) {}
39         /// Update dialog before showing it
40         virtual void update();
41         /// Apply from dialog (modify or create inset)
42         virtual void apply();
43         /// Pointer to the actual instantiation of the xform's form
44         virtual FL_FORM * const form() const;
45         ///
46         FD_form_index * build_index();
47
48
49         /// 
50         int minh, minw;
51         /// Real GUI implementation.
52         FD_form_index * dialog_;
53 };
54
55 #endif