lyx_mirror/src/frontends/controllers/character.h
Georg Baum 2caff468e5 convert more GUI strings to docstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16377 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 10:06:40 +00:00

73 lines
1.3 KiB
C++

// -*- C++ -*-
/**
* \file character.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 CHARACTERHELPERS_H
#define CHARACTERHELPERS_H
#include "lyxfont.h"
#include <utility>
#include <vector>
class LColor_color;
/** Functions of use to the character GUI controller and view */
namespace lyx {
namespace frontend {
///
enum FONT_STATE {
///
IGNORE,
///
EMPH_TOGGLE,
///
UNDERBAR_TOGGLE,
///
NOUN_TOGGLE,
///
INHERIT
};
///
typedef std::pair<docstring, LyXFont::FONT_FAMILY> FamilyPair;
///
typedef std::pair<docstring, LyXFont::FONT_SERIES> SeriesPair;
///
typedef std::pair<docstring, LyXFont::FONT_SHAPE> ShapePair;
///
typedef std::pair<docstring, LyXFont::FONT_SIZE> SizePair;
///
typedef std::pair<docstring, FONT_STATE> BarPair;
///
typedef std::pair<docstring, LColor_color> ColorPair;
///
std::vector<FamilyPair> const getFamilyData();
///
std::vector<SeriesPair> const getSeriesData();
///
std::vector<ShapePair> const getShapeData();
///
std::vector<SizePair> const getSizeData();
///
std::vector<BarPair> const getBarData();
///
std::vector<ColorPair> const getColorData();
} // namespace frontend
} // namespace lyx
#endif // CHARACTERHELPERS