]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTexinfo.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormTexinfo.h
1 // -*- C++ -*-
2 /**
3  * \file FormTexinfo.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Herbert Voss <voss@perce.de>
8  */
9
10 #ifndef FORMTEXINFO_H
11 #define FORMTEXINFO_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18 #include "ControlTexinfo.h"
19
20 struct FD_form_texinfo;
21
22 class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_form_texinfo> > {
23 public:
24         ///
25         FormTexinfo(ControlTexinfo &);
26
27         /// preemptive handler for feedback messages
28         void feedbackCB(FL_OBJECT *, int);
29
30 private:
31         /// not needed
32         virtual void apply() {}
33         /// Build the dialog.
34         virtual void build();
35         /// not needed
36         virtual void update() {}
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39         ///
40         void feedback(FL_OBJECT *);
41         ///
42         void updateStyles(ControlTexinfo::texFileSuffix);
43         /// Fdesign generated method
44         FD_form_texinfo * build_texinfo();
45         ///
46         bool warningPosted;
47         ///
48         ControlTexinfo::texFileSuffix activeStyle;
49 };
50
51 #endif // FORMTEXINFO_H