+// -*- C++ -*-
/**
* \file FormCharacter.h
* Copyright 2001 The LyX Team.
#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
class Combox;
struct FD_form_character;
FormCharacter(ControlCharacter &);
private:
- /// Apply from popup
+ /// Apply from dialog
virtual void apply();
- /// Build the popup
+ /// Build the dialog
virtual void build();
- /// Nothing to update...
- virtual void update() {}
+ /// 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 */
///
boost::scoped_ptr<Combox> combo_language2_;
///
- std::vector<LyXFont::FONT_FAMILY> family_;
+ std::vector<LyXFont::FONT_FAMILY> family_;
///
- std::vector<LyXFont::FONT_SERIES> series_;
+ std::vector<LyXFont::FONT_SERIES> series_;
///
- std::vector<LyXFont::FONT_SHAPE> shape_;
+ std::vector<LyXFont::FONT_SHAPE> shape_;
///
- std::vector<LyXFont::FONT_SIZE> size_;
+ std::vector<LyXFont::FONT_SIZE> size_;
///
- std::vector<ControlCharacter::FONT_STATE> bar_;
+ std::vector<character::FONT_STATE> bar_;
///
- std::vector<LColor::color> color_;
+ std::vector<LColor::color> color_;
};
#endif