]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormIndex.h
FormBase extends its reach into the codebase and gains a ButtonController
[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         ///
27         FormIndex(LyXView *, Dialogs *);
28         ///
29         ~FormIndex();
30 private:
31         /// Build the dialog
32         virtual void build();
33         /// Update dialog before showing it
34         virtual void update();
35         /// Apply from dialog (modify or create inset)
36         virtual void apply();
37         /// Pointer to the actual instantiation of the xform's form
38         virtual FL_FORM * const form() const;
39         ///
40         FD_form_index * build_index();
41         /// 
42         int minh;
43         ///
44         int minw;
45         /// Real GUI implementation.
46         FD_form_index * dialog_;
47 };
48
49 #endif