2 * \file ControlCharacter.h
3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
6 * \author Angus Leeming, a.leeming@.ac.uk
9 #ifndef CONTROLCHARACTER_H
10 #define CONTROLCHARACTER_H
16 #include "ControlDialogs.h"
17 #include "character.h"
19 /** A controller for Character dialogs.
21 class ControlCharacter : public ControlDialog<ControlConnectBD>
25 ControlCharacter(LyXView &, Dialogs &);
28 void setFamily(LyXFont::FONT_FAMILY);
30 void setSeries(LyXFont::FONT_SERIES);
32 void setShape(LyXFont::FONT_SHAPE);
34 void setSize(LyXFont::FONT_SIZE);
36 void setBar(character::FONT_STATE);
38 void setColor(LColor::color);
40 void setLanguage(string const &);
42 void setToggleAll(bool);
45 /// Get changed parameters and Dispatch them to the kernel.
47 /// set the params before show or update.
48 virtual void setParams();
50 virtual void clearParams();
58 #endif // CONTROLCHARACTER_H