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
21 #include "lyxfont.h" // for LyXFont enums
22 #include "ControlCharacter.h" // for ControlCharacter enum
23 #include "LColor.h" // for LColor enum
24 #include "character.h" // for FONT_STATE enum
26 #include <boost/scoped_ptr.hpp>
32 * This class provides an XForms implementation of the Character Dialog.
33 * The character dialog allows users to change the character settings
37 : public FormCB<ControlCharacter, FormDB<FD_character> > {
49 /// Update the dialog.
50 virtual void update();
52 /// Filter the inputs on callback from xforms
53 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
55 /** Callback method (used only to activate Apply button when
57 static void ComboInputCB(int, void *, Combox *);
60 boost::scoped_ptr<Combox> combo_language2_;
62 std::vector<LyXFont::FONT_FAMILY> family_;
64 std::vector<LyXFont::FONT_SERIES> series_;
66 std::vector<LyXFont::FONT_SHAPE> shape_;
68 std::vector<LyXFont::FONT_SIZE> size_;
70 std::vector<frnt::FONT_STATE> bar_;
72 std::vector<LColor::color> color_;
74 std::vector<string> lang_;