// -*- C++ -*- /** * \file FormCharacter.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Edwin Leuven * \author Angus Leeming * * Full author contact details are available in file CREDITS */ #ifndef FORM_CHARACTER_H #define FORM_CHARACTER_H #ifdef __GNUG__ #pragma interface #endif #include "FormBase.h" #include "lyxfont.h" // for LyXFont enums #include "ControlCharacter.h" // for ControlCharacter enum #include "LColor.h" // for LColor enum #include "character.h" // for FONT_STATE enum #include class Combox; struct FD_character; /** * This class provides an XForms implementation of the Character Dialog. * The character dialog allows users to change the character settings * in their documents. */ class FormCharacter : public FormCB > { public: /// FormCharacter(); private: /// Apply from dialog virtual void apply(); /// Build the dialog virtual void build(); /// Update the dialog. virtual void update(); /// Filter the inputs on callback from xforms virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); /** Callback method (used only to activate Apply button when combox is changed */ static void ComboInputCB(int, void *, Combox *); /// boost::scoped_ptr combo_language2_; /// std::vector family_; /// std::vector series_; /// std::vector shape_; /// std::vector size_; /// std::vector bar_; /// std::vector color_; /// std::vector lang_; }; #endif