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>
19 #include "FormBaseDeprecated.h"
22 struct FD_form_character;
25 * This class provides an XForms implementation of the FormCharacter Dialog.
26 * The character dialog allows users to change the character settings
29 class FormCharacter : public FormBaseBD {
32 FormCharacter(LyXView *, Dialogs *);
35 /// Pointer to the actual instantiation of the ButtonController.
36 virtual xformsBC & bc();
45 virtual void update();
47 /// Pointer to the actual instantiation of the xform's form
48 virtual FL_FORM * form() const;
51 FD_form_character * build_character();
53 /// Real GUI implementation.
54 boost::scoped_ptr<FD_form_character> dialog_;
57 boost::scoped_ptr<Combox> combo_language2_;
59 /// The ButtonController
60 ButtonController<NoRepeatedApplyReadOnlyPolicy, xformsBC> bc_;
65 xformsBC & FormCharacter::bc()