// -*- C++ -*- /** * \file ControlCharacter.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Angus Leeming * * Full author contact details are available in file CREDITS */ #ifndef CONTROLCHARACTER_H #define CONTROLCHARACTER_H #include "ControlDialog_impl.h" #include "character.h" #include /** A controller for Character dialogs. */ class ControlCharacter : public ControlDialogBD { public: /// ControlCharacter(LyXView &, Dialogs &); /// void setFamily(LyXFont::FONT_FAMILY); /// void setSeries(LyXFont::FONT_SERIES); /// void setShape(LyXFont::FONT_SHAPE); /// void setSize(LyXFont::FONT_SIZE); /// void setBar(frnt::FONT_STATE); /// void setColor(LColor::color); /// void setLanguage(string const &); /// void setToggleAll(bool); /// LyXFont::FONT_FAMILY getFamily() const; /// LyXFont::FONT_SERIES getSeries() const; /// LyXFont::FONT_SHAPE getShape() const; /// LyXFont::FONT_SIZE getSize() const; /// frnt::FONT_STATE getBar() const; /// LColor::color getColor() const; /// string getLanguage() const; /// bool getToggleAll() const; /// Get changed parameters and Dispatch them to the kernel. virtual void apply(); private: /// set the params before show or update. virtual void setParams(); /// boost::scoped_ptr font_; /// bool toggleall_; }; #endif // CONTROLCHARACTER_H