3 * \file FormCharacter.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
13 #ifndef FORM_CHARACTER_H
14 #define FORM_CHARACTER_H
16 #include "FormDialogView.h"
17 #include "ControlCharacter.h" // for ControlCharacter enum
27 * This class provides an XForms implementation of the Character Dialog.
28 * The character dialog allows users to change the character settings
32 : public FormController<ControlCharacter, FormView<FD_character> > {
35 FormCharacter(Dialog &);
44 /// Update the dialog.
45 virtual void update();
47 /// Filter the inputs on callback from xforms
48 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
51 std::vector<LyXFont::FONT_FAMILY> family_;
53 std::vector<LyXFont::FONT_SERIES> series_;
55 std::vector<LyXFont::FONT_SHAPE> shape_;
57 std::vector<LyXFont::FONT_SIZE> size_;
59 std::vector<FONT_STATE> bar_;
61 std::vector<LColor_color> color_;
63 std::vector<std::string> lang_;
66 } // namespace frontend