3 * \file ControlCharacter.h
4 * See the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLCHARACTER_H
12 #define CONTROLCHARACTER_H
18 #include "ControlDialog_impl.h"
19 #include "character.h"
21 #include <boost/scoped_ptr.hpp>
23 /** A controller for Character dialogs.
25 class ControlCharacter : public ControlDialogBD
29 ControlCharacter(LyXView &, Dialogs &);
32 void setFamily(LyXFont::FONT_FAMILY);
34 void setSeries(LyXFont::FONT_SERIES);
36 void setShape(LyXFont::FONT_SHAPE);
38 void setSize(LyXFont::FONT_SIZE);
40 void setBar(frnt::FONT_STATE);
42 void setColor(LColor::color);
44 void setLanguage(string const &);
46 void setToggleAll(bool);
49 LyXFont::FONT_FAMILY getFamily() const;
51 LyXFont::FONT_SERIES getSeries() const;
53 LyXFont::FONT_SHAPE getShape() const;
55 LyXFont::FONT_SIZE getSize() const;
57 frnt::FONT_STATE getBar() const;
59 LColor::color getColor() const;
61 string getLanguage() const;
63 bool getToggleAll() const;
65 /// Get changed parameters and Dispatch them to the kernel.
68 /// set the params before show or update.
69 virtual void setParams();
72 boost::scoped_ptr<LyXFont> font_;
77 #endif // CONTROLCHARACTER_H