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
23 * This class provides an XForms implementation of the Character Dialog.
24 * The character dialog allows users to change the character settings
28 : public FormController<ControlCharacter, FormView<FD_character> > {
31 FormCharacter(Dialog &);
40 /// Update the dialog.
41 virtual void update();
43 /// Filter the inputs on callback from xforms
44 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
47 std::vector<LyXFont::FONT_FAMILY> family_;
49 std::vector<LyXFont::FONT_SERIES> series_;
51 std::vector<LyXFont::FONT_SHAPE> shape_;
53 std::vector<LyXFont::FONT_SIZE> size_;
55 std::vector<frnt::FONT_STATE> bar_;
57 std::vector<LColor_color> color_;
59 std::vector<string> lang_;