]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormCharacter.h
fix combo segfault
[lyx.git] / src / frontends / xforms / FormCharacter.h
1 // -*- C++ -*-
2 /** 
3  * \file FormCharacter.h
4  * Copyright 2001 The LyX Team.
5  * See the file COPYING.
6  * 
7  * \author Edwin Leuven, leuven@fee.uva.nl
8  */
9
10 #ifndef FORM_CHARACTER_H
11 #define FORM_CHARACTER_H
12
13 #include "FormBase.h"
14
15 #ifdef __GNUG_
16 #pragma interface
17 #endif
18
19
20 class LyXView;
21 class Dialogs;
22 class Combox;
23 struct FD_form_character;
24
25 /** 
26  * This class provides an XForms implementation of the FormCharacter Dialog.
27  * The character dialog allows users to change the character settings
28  * in their documents.
29  */
30 class FormCharacter : public FormBaseBD {
31 public:
32    ///
33    FormCharacter(LyXView *, Dialogs *);
34    ///
35    ~FormCharacter();
36
37 private:
38         
39    /// Build the popup
40    virtual void build();
41    
42    /// Apply from popup
43    virtual void apply();
44    
45    /// Update the popup.
46    virtual void update();
47    
48    /// Pointer to the actual instantiation of the xform's form
49    virtual FL_FORM * form() const;
50
51    FD_form_character * build_character();
52         
53    /// Real GUI implementation.
54    FD_form_character * dialog_;
55    
56    Combox * combo_language2_;
57 };
58
59 #endif