3 * \file FormCharacter.h
4 * Copyright 2001 The LyX Team.
5 * See the file COPYING.
7 * \author Edwin Leuven, leuven@fee.uva.nl
10 #ifndef FORM_CHARACTER_H
11 #define FORM_CHARACTER_H
13 #include <boost/smart_ptr.hpp>
15 #include "FormBaseDeprecated.h"
25 struct FD_form_character;
28 * This class provides an XForms implementation of the FormCharacter Dialog.
29 * The character dialog allows users to change the character settings
32 class FormCharacter : public FormBaseBD {
35 FormCharacter(LyXView *, Dialogs *);
38 /// Pointer to the actual instantiation of the ButtonController.
39 virtual xformsBC & bc();
48 virtual void update();
50 /// Pointer to the actual instantiation of the xform's form
51 virtual FL_FORM * form() const;
54 FD_form_character * build_character();
56 /// Real GUI implementation.
57 boost::scoped_ptr<FD_form_character> dialog_;
60 boost::scoped_ptr<Combox> combo_language2_;
62 /// The ButtonController
63 ButtonController<NoRepeatedApplyReadOnlyPolicy, xformsBC> bc_;
68 xformsBC & FormCharacter::bc()