namespace{
-FontState getBar(FontInfo const & fi)
+FontDeco getBar(FontInfo const & fi)
{
if (fi.underbar() == FONT_ON)
return UNDERBAR;
}
-FontState getStrike(FontInfo const & fi)
+FontDeco getStrike(FontInfo const & fi)
{
if (fi.strikeout() == FONT_ON)
return STRIKEOUT;
}
-void GuiCharacter::setBar(FontInfo & fi, FontState val)
+void GuiCharacter::setBar(FontInfo & fi, FontDeco val)
{
switch (val) {
case IGNORE:
}
-void GuiCharacter::setStrike(FontInfo & fi, FontState val)
+void GuiCharacter::setStrike(FontInfo & fi, FontDeco val)
{
switch (val) {
case IGNORE:
namespace lyx {
namespace frontend {
-enum FontState {
+enum FontDeco {
///
IGNORE,
///
typedef std::pair<QString, FontSeries> SeriesPair;
typedef std::pair<QString, FontShape> ShapePair;
typedef std::pair<QString, FontSize> SizePair;
-typedef std::pair<QString, FontState> BarPair;
+typedef std::pair<QString, FontDeco> BarPair;
typedef std::pair<QString, QString> LanguagePair;
class GuiCharacter : public GuiDialog, public Ui::CharacterUi
///
void paramsToDialog(Font const & font);
///
- void setBar(FontInfo & fi, FontState val);
+ void setBar(FontInfo & fi, FontDeco val);
///
- void setStrike(FontInfo & fi, FontState val);
+ void setStrike(FontInfo & fi, FontDeco val);
QList<FamilyPair> family;
QList<SeriesPair> series;