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
17 #include "FormDialogView.h"
18 #include "lyxfont.h" // for LyXFont enums
19 #include "ControlCharacter.h" // for ControlCharacter enum
20 #include "LColor.h" // for LColor enum
21 #include "character.h" // for FONT_STATE enum
26 * This class provides an XForms implementation of the Character Dialog.
27 * The character dialog allows users to change the character settings
31 : public FormController<ControlCharacter, FormView<FD_character> > {
34 FormCharacter(Dialog &);
43 /// Update the dialog.
44 virtual void update();
46 /// Filter the inputs on callback from xforms
47 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
50 std::vector<LyXFont::FONT_FAMILY> family_;
52 std::vector<LyXFont::FONT_SERIES> series_;
54 std::vector<LyXFont::FONT_SHAPE> shape_;
56 std::vector<LyXFont::FONT_SIZE> size_;
58 std::vector<frnt::FONT_STATE> bar_;
60 std::vector<LColor::color> color_;
62 std::vector<string> lang_;