]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormCharacter.h
character2.diff.gz
[lyx.git] / src / frontends / xforms / FormCharacter.h
1 /** 
2  * \file FormCharacter.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 FORM_CHARACTER_H
10 #define FORM_CHARACTER_H
11
12 #include "FormBase.h"
13
14 #ifdef __GNUG_
15 #pragma interface
16 #endif
17
18
19 class LyXView;
20 class Dialogs;
21 class Combox;
22 struct FD_form_character;
23
24 /** 
25  * This class provides an XForms implementation of the FormCharacter Dialog.
26  * The character dialog allows users to change the character settings
27  * in their documents.
28  */
29 class FormCharacter : public FormBaseBD {
30 public:
31    ///
32    FormCharacter(LyXView *, Dialogs *);
33    ///
34    ~FormCharacter();
35
36 private:
37         
38    /// Build the popup
39    virtual void build();
40    
41    /// Apply from popup
42    virtual void apply();
43    
44    /// Update the popup.
45    virtual void update();
46    
47    /// Pointer to the actual instantiation of the xform's form
48    virtual FL_FORM * form() const;
49
50    FD_form_character * build_character();
51         
52    /// Real GUI implementation.
53    FD_form_character  * dialog_;
54    
55    Combox * combo_language2;
56 };
57
58 #endif